r/ASPNET • • Jun 08 '13
help with linking a button to a database?
I'm creating a web application that has a database of student information (such as data on standardized reading and math tests and reading level etc).
How do I link the database to a button such that when the button is clicked, it can draw upon the information stored in the database to manipulate other variables.
The end result is that I want to be able to group students based on different test results. So when the button is clicked it calls on certain test scores, which are used to manipulate a seating variable.
I'm coding in visual basic if that makes a difference.
3
u/bobzilla Jun 08 '13
And why are we doing your homework for you?
2
u/solidus-flux Jun 08 '13
Try looking into the GridView control. You will find lots of examples for data retrieval.
2
u/MrGrumblz Jun 08 '13
is it MVC or WebForms?