Search

You searched for the word(s): userid:689697

Matching Posts

  • Re: how to use Control.ClientID in external JS file ?

    Very cool... but I think you made a mistake. You should return val instead of document.getElementById(val); function GetObj(id) { var val = "<%=HiddenField1.ClientID%>" ; val = val.replace( "HiddenField1" , id); return val; } Stan
    Posted to Web Forms (Forum) by Stan92 on 2/24/2009
  • Strange results

    Hi, I have a "strange" result using this query. Sometimes I get datas when I run several times the same query (using the analyzer) I get no data.. Do I miss something ? Stan With mCte ( RowNumber , documentid , titre , description , vignette , auteur , ddebutpublication , groupe ) AS ( Select Row_Number () over ( order by ddebutpublication desc ) as RowNumber , DOC . documentid , DOC . titre , DOC . description , DOC . vignette , DOC . auteur , DOC . ddebutpublication , SC . groupe FROM
  • Linq to XML with &nbsp;

    Hi, I have to read a xml file (it's a html page) that contains characters like &nbsp; (space). Usinq Linq, I get an XmlException error. Is it possible to load this kind of file with linq ? Stan
    Posted to Data Access and ObjectDataSource Control (Forum) by Stan92 on 10/21/2008
    Filed under: Linq &nbps
  • Retreive Long_Raw field

    Hi, How to retreive a picture saved into a long_raw field ? I use this code but it seems it doesn't work using ( OracleConnection myConnection = new OracleConnection ( myConnectionString )) { StringBuilder mySql = new StringBuilder (); myConnection.Open(); OracleCommand myCommand; mySql.Append( "SELECT RAW_ID,RAWDATA From RAWTABLE " ); myCommand = new OracleCommand (mySql.ToString(), myConnection); using ( OracleDataReader myReader = myCommand.ExecuteReader()) { if (myReader.HasRows
    Posted to Oracle (Forum) by Stan92 on 9/30/2008
  • Re: Linq Save & Dispose

    Sure, The "writer" Part ------ ...... string xmlFile = ConfigurationManager .AppSettings[ "userparam" ].ToString() + user + ".xml" ; XElement doc = XElement .Load(xmlFile); IEnumerable < XElement > zonecriteres = ( from b in doc.Elements( "COCHE" ) where (( string )b.Attribute( "ID" )).Equals(coche) select b).Take(1); if (zonecriteres.Count() == 1) { foreach ( XElement xe in zonecriteres) xe.SetAttributeValue( "VALEUR" , valeur);
  • Linq Save & Dispose

    Hi, I use Linq to XML and I have a problem after saving the file using doc.Save(myfile). When I try to reuse this xmlfile, I get a message saying this file is currently use by another process (It's a french translation ;)). I wonder if there's a method to call Dispose or How to know when the file is closed ? Stan
    Posted to Data Access and ObjectDataSource Control (Forum) by Stan92 on 6/17/2008
    Filed under: Linq XmL Dispose
  • Linq (loop question)

    Hi, How to add XElement to a child node from a loop. Currently I use something like that : root.Add( new XElement ( "Item" , new XElement ( "SKU" , Sku), new XElement ( "Designation" , designation) ) I need to add a new child node (it's a collection). The final result must look like that: root.Add( new XElement ( "Item" , new XElement ( "SKU" , Sku), new XElement ( "Designation" , designation), new XElement ( "Image1" , image1
    Posted to Data Access and ObjectDataSource Control (Forum) by Stan92 on 5/27/2008
    Filed under: Linq
  • Re: Web Development Server (VS2008) problem

    Thanks Richard. I ve found the issue (with your help). The problem comes from Nod32. And the solution was on this blog http://www.wahooga.com/archive/2008/02/20/visual-studio-development-web-server-automatic-port-numbering-problem.aspx (if that could helps someone else)
    Posted to Visual Studio 2008 (Forum) by Stan92 on 5/21/2008
  • Re: Web Development Server (VS2008) problem

    I ve found the problem, but I don't know how to resolve it. Okay, when hit F5, VS2008 launches the website with a different port than the Web Development server. To be more clear with my "fluent" english, here's an example. I hit F5 and I get this url http://localhost:4022/newdragdrop/Default2.aspx When I open the Web Development Server, (located in the systray), I notice that the port is different. In this case, the port number is : 4024 and the Root Url is http://localhost:4024
    Posted to Visual Studio 2008 (Forum) by Stan92 on 5/21/2008
  • Re: Web Development Server (VS2008) problem

    I did it, even reboot the computer, it still doesn't work. as I said, Web Development server launches when I hit F5, but within the browser it looks like it can't reach the url ( http://localhost:1484/newdragdrop/Default2.aspx ) But when I run the Asp.net configuration from VS 2008 ( http://localhost:1708/asp.netwebadminfiles/default.aspx?applicationPhysicalPath=C:\dev\dot355\newdragdrop\&applicationUrl=/newdragdrop ) I get the Administration Tools. Of course, I made several tests with
    Posted to Visual Studio 2008 (Forum) by Stan92 on 5/21/2008
Page 1 of 4 (35 items) 1 2 3 4 Next >