ASP 3.5 with VB SqlDataSource Update with GridView

D

Dan Bellerue

In a Visual Studio ASP.Net (3.5) Web Application, I am unable to update an SqlDataSource (code returned is "0")in VB code even though the GridView displays the data changed by the code.

VB code: returnValue = UserSqlDataSource.Update()

UserSqlDataSource has an UpdateCommand = "UPDATE [User] SET [User_Locked?] = ? WHERE [User_ID] = ?"

Any ideas?


EggHeadCafe - Software Developer Portal of Choice
Styling WPF UI using Resource Dictionaries
http://www.eggheadcafe.com/tutorial...e-3a58a615c3d7/styling-wpf-ui-using-reso.aspx
 

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

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top