looking for example code

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
 
J

Jon Paal

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

Members online

Forum statistics

Threads
474,173
Messages
2,570,938
Members
47,474
Latest member
VivianStuk

Latest Threads

Top