VS 2008 Express, How to run queries

  • Thread starter Thread starter UpRider
  • Start date Start date
U

UpRider

I know VBA. I can make Access do what I want. I can churn out VBA apps
with Excel.

BUT, with ASP.NET, I don't know how to make a button on a form run a query
string. I can get to the on-click event in the code behind, and I have the
query string. How do I make that query run against the SQL database? What
goes in that blank space?

I've spent hours looking for this little connection in Google, with maybe a
hint in C#, but I don't want C#, I want VB. I have Imar Spaanjaars'
"Beginning ASP.NET 3.5" and in over 700 pages, that info is NOT in there!

Why has this escaped me? What basic education do I need with ASP.NET or
VB.NET to figure this out?

UpRider
 
UpRider said:
I know VBA. I can make Access do what I want. I can churn out VBA apps
with Excel.

BUT, with ASP.NET, I don't know how to make a button on a form run a query
string. I can get to the on-click event in the code behind, and I have
the query string. How do I make that query run against the SQL database?
What goes in that blank space?

I've spent hours looking for this little connection in Google, with maybe
a hint in C#, but I don't want C#, I want VB. I have Imar Spaanjaars'
"Beginning ASP.NET 3.5" and in over 700 pages, that info is NOT in there!

Why has this escaped me? What basic education do I need with ASP.NET or
VB.NET to figure this out?

You missed the part about ADO.NET. ADO.NET is the element in .NET solutions
Web , Windows Desktop or otherwise that's in charge of database access, not
ASP.NET.

http://www.asp101.com/articles/jay/adodotnet/default.asp


__________ Information from ESET NOD32 Antivirus, version of virus signature database 4520 (20091018) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
Back
Top