Specifying values for In clause in SP from C#

Filed in .Net | SQL Leave a comment

select ¬†* from pk where charindex(‘,’+cast(pkid as varchar(50))+’ ‘,’,12 ,13 ‘,1) > 0

But I think i would be slow if you have large data

Client side checking in GridView that at least on checkbox is selected

Filed in .Net Leave a comment

http://www.codeproject.com/KB/webforms/GridViewcheckBoxes.aspx

Found a very good article on the above link

Adding .flv file format in IIS MIME

Filed in .Net Leave a comment

On the Windows 2003 server, open the Internet Information Services Manager.

  1. Expand the Local Computer Server.
  2. Right-click the local computer server and select Properties.
  3. Select the MIME Types tab.
  4. Click New and enter the following information:
  5. Associated Extension box: .flv
  6. MIME Type box: video/x-flv
  7. Click OK.
  8. Restart the World Wide Web Publishing service

TOP