VS 2008 Express, How to run queries

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
 
M

Mr. Arnold

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,236
Members
46,822
Latest member
israfaceZa

Latest Threads

Top