I am a Web Developer who has primarily dealt with PHP and MySQL and now has to program almost exclusively in VB.Net. While I have had plenty of experience in Visual Basic in the past, I had almost none as it pertains to web. The learning curve is there, but not terrible.
I’m very familiar with retrieving information from a MySQL Database using PHP, but am now having to code in VB.Net and wanted to know if there is a similar process that doesn’t involve the drag and drop of Data Controllers in Visual Studio?
What I need to do is have a working page that checks for records in a database on page load, and if there are some present for a given time period, populate those records into multiple input fields.
Thanks in advance.
From Microsoft’s example for a SqlDataReader:
Depending on what controls you are going to populate, and how you are going to present the data, there may be a better way to set the datasource for those controls, but if you want to read a MS SQL Server db and process yourself, do something like this: