looking for example code

  • Thread starter Thread starter Jon Paal
  • Start date Start date
J

Jon Paal

--vb.net
--gridview column as dropdownlist
--populated from an array
--match selected value stored in a database for that record displayed in the row
 
thanks

need a bit more help. my update command is failing to work.

error msg:
Must declare the scalar variable "@userid".

I have the following set:

....asp:SqlDataSource
UpdateCommand="UPDATE UserData SET status = @status WHERE userid = @userid ">

....asp:GridView
DataKeyNames="userid"
 
Back
Top