Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

retrieve data from sql table

Status
Not open for further replies.

stonehead

Technical User
May 2, 2007
58
US
Hi all,
This is a very simple task I guess but since I'm brand new at asp.net I need your help.
I want to set myLabel.text = "update_date" field in mySql table (single row)

My connection string is like this but I have no idea what to do next. Thanks in advance.

Dim myCnn As SqlConnection
Dim MyCmd As SqlCommand


myCnn = New SqlConnection(ConfigurationManager.ConnectionStrings("sqlreports").ConnectionString)
myCnn.Open()
 
Thank you all very much. I was able to get my code work. is very helpful.
As for "Search Facility" the tool is not working right now that's why I had to post question before doing just that. Again, thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top