hello , i want to connect to a db to my asp.net project. i connected it using a SqlDataSource . now when the page loads i want to display smthing from da database . the code should be in page load event. think the db as this
id message
001 hello
so i want to select the message where id is 001 . i knw the query,,
what i want is how can i do this in code behind file. i want to get the message and store it to a variable..
please help ..
Bookmarks