User Profile
Collapse
-
Thank you soo much for this reference. There is just so much posts to browse through, I didnt see this one.... -
VB in ASP.NET- Assigning SQL Data to variables
I am extremely new to programming and Visual Basic.
I want to know how to read data from an SQL database and assign it to a variable.
For example if I have a database with three columns (like below)
First Name | Last Name | Age
Ebrahim | E | 26
Sam | Menodza | 24
Sean | Steven | 54
and I want to assign Sean's age to a... -
VB in ASP.NET- Writing Variables to an MSSQL Database
I am extremely new to programming and Visual Basic.
I want to know how to write/insert variables into an MS SQL database. When I say variables I mean input from textboxes and the current date/time generated.
I am currently using this code which I got from a tutorial and it basically writes the defined constants to the database.
Code:[indent][indent]Sub AddRecord() Dim sConnectionString As String _ = "User[/][/]
Last edited by DrBunchman; Jul 28 '08, 07:56 AM. Reason: Added [Code] Tags - Please use the '#' button
No activity results to display
Show More
Leave a comment: