April 2008 - Posts

1
Comments

Disable button on AJAX postback by bunbun

Found a way to disable a button during the AJAX postback. Just use this simple JavaScript and change the button name to match the control on the page. < script type ="text/javascript"> //add event handlers to the search UpdatePanel Sys.WebForms...
Filed under:
3
Comments

Converting Binary to Text in SQL Server by bunbun

Some databases store longer text fields as binary. To retrieve the text in a varchar field, do the following: CAST(CONVERT(varbinary(max),velive.dbo.part_binary.bits) AS varchar(max)) velive.dbo.part_binary = Table Name bits = Field Name You can specificy...
Filed under:
More Posts