world wide web development problems asp net php html xhtml css javascript jquery w3dproblems
Wednesday, January 14, 2015
Friday, January 2, 2015
Enabling CLR Integration on SQL Server
EXEC sp_CONFIGURE 'show advanced options' , '1'; GO RECONFIGURE WITH OVERRIDE GO EXEC sp_CONFIGURE 'clr enabled' , '1' GO RECONFIGURE WITH OVERRIDE GOIf you use with override option, then restart is not required.
Crystal Report: Pad a number with leading zeros up to a fixed length
If table.field is a number
ToText({table.field},"00000000")
or
if is a string
Right("0000"&{MyFieldToPad},8)
ToText({table.field},"00000000")
or
if is a string
Right("0000"&{MyFieldToPad},8)
Tuesday, December 23, 2014
LinkButton in ListView in UpdatePanel causes full postback
<asp:ListView runat="server" ClientIDMode="AutoID">
Thursday, December 11, 2014
Export Dataset To XML File asp net c#
System.Data.DataSet ds; //Fill dataset // Get a FileStream object using (System.IO.StreamWriter xmlDoc = new System.IO.StreamWriter(Server.MapPath("~/writeabledir/xmlDoc.xml"), false)) { // Apply the WriteXml method to write an XML document ds.WriteXml(xmlDoc); }
Subscribe to:
Comments (Atom)