Hi Everyone
So I am doing a University Project where I have to create a website using Visual Studio 2010, Microsoft SQL Server and ASP.Net. I am a complete beginner in creating websites in VS2010 and ASP.NET. In a previous course, I created an entire web system using PHP, JavaScript and the database used was MySQL.
This is the problem I am having:
I am trying to read data from a database table, and I need to display that data in an HTML paragraph. In terms of pseudocode, this is what I want to do:
for each record in the database table BLOG:
<h1>#Blog Heading Read In From Database Table#</h1>
<p>#Blog Content Read In From Database Table#</p>
next record
However all the tutorials and videos I have seen tell me that to access the DB from ASP.NET in VB2010, I need to use a SQLDataSource object and using this object I can only display the data in a GridView, DetailsView or FormView - however none of these satisfy my needs.
Could anyone tell me how (or link me to a tutorial) I can achieve what I need to do? I would REALLY appreciate all help!
So I am doing a University Project where I have to create a website using Visual Studio 2010, Microsoft SQL Server and ASP.Net. I am a complete beginner in creating websites in VS2010 and ASP.NET. In a previous course, I created an entire web system using PHP, JavaScript and the database used was MySQL.
This is the problem I am having:
I am trying to read data from a database table, and I need to display that data in an HTML paragraph. In terms of pseudocode, this is what I want to do:
for each record in the database table BLOG:
<h1>#Blog Heading Read In From Database Table#</h1>
<p>#Blog Content Read In From Database Table#</p>
next record
However all the tutorials and videos I have seen tell me that to access the DB from ASP.NET in VB2010, I need to use a SQLDataSource object and using this object I can only display the data in a GridView, DetailsView or FormView - however none of these satisfy my needs.
Could anyone tell me how (or link me to a tutorial) I can achieve what I need to do? I would REALLY appreciate all help!