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"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top