I would like to know how to programatically add or update data values to a database with Visual Basic Code in ASP.NET.
I intend to obtain Data values from controls such as Textboxes, Listboxes and Labels...
the code could be like this
Dim MyUserName As String
Dim MyUserLoginLevel As Integer
MyUserName = txtUserName.Text
MyUserLoginLevel = val(txtUserName.Text)
OR
MyUserLoginLevel = val(lstUserLevel.items.value)
INSERT INTO MyTable ???
I would also like to know how to delete from gridview controls using visual basic code
Inserting, Updating and Deleting data from tables programaticallyData Management in ASP.NET
Page 1 of 1
1 Replies - 1555 Views - Last Post: 22 December 2008 - 08:06 AM
#1
Inserting, Updating and Deleting data from tables programatically
Posted 22 December 2008 - 06:10 AM
Replies To: Inserting, Updating and Deleting data from tables programatically
#2
Re: Inserting, Updating and Deleting data from tables programatically
Posted 22 December 2008 - 08:06 AM
PsychoCoder created some great ADO.Net tutorials for both C# and VB.Net.
http://www.dreaminco...wtopic32392.htm
http://www.dreaminco...wtopic32392.htm
Page 1 of 1
|
|

New Topic/Question
Reply




MultiQuote



|