473,320 Members | 2,003 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

passing data between pages and querying a database in asp.net

roo
Hello all.

I am new to asp.net so am writing for some advice. I want to transfer
data from a web form containing drop down lists and text boxes, saving
the user input, and then use this user input to query a database and
return the results on a second form. So the user input will be added
to an sql statement which will determine the results returned on the
second web page.

If anybody has any VB code that does this kind of thing that would be
great! Thanks for the help.

Oct 20 '06 #1
2 975
Check out Scott Mitchell's ASP.NET data tutorials:
http://www.asp.net/learn/dataaccess/....aspx?tabid=63

roo wrote:
Hello all.

I am new to asp.net so am writing for some advice. I want to transfer
data from a web form containing drop down lists and text boxes, saving
the user input, and then use this user input to query a database and
return the results on a second form. So the user input will be added
to an sql statement which will determine the results returned on the
second web page.

If anybody has any VB code that does this kind of thing that would be
great! Thanks for the help.
Oct 20 '06 #2
roo
Cheers Chris, I will look into that!
Chris Fulstow wrote:
Check out Scott Mitchell's ASP.NET data tutorials:
http://www.asp.net/learn/dataaccess/....aspx?tabid=63

roo wrote:
Hello all.

I am new to asp.net so am writing for some advice. I want to transfer
data from a web form containing drop down lists and text boxes, saving
the user input, and then use this user input to query a database and
return the results on a second form. So the user input will be added
to an sql statement which will determine the results returned on the
second web page.

If anybody has any VB code that does this kind of thing that would be
great! Thanks for the help.
Oct 20 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Rob Meade | last post by:
Hi all, At work we have 2 servers in a cluster for our web apps. One problem we have experienced (along with many others!) - is that if a user is logged into one of the applications on server...
4
by: Ryann | last post by:
Hello. I am creating a form that has 5 steps/pages. Each page contains about 20 fields. But I don't want to write them until they submit on the last page. I figured out that I can use hidden...
3
by: tisgrim | last post by:
Right...have loads of C++, SQLServer experience but about 5 minutes of JavaScript, ASP etc. Spent a frustrating 2 days deciding the best way to get some data from a SQL database, then cached in...
3
by: Simon Harvey | last post by:
Hi, In my application I get lots of different sorts of information from databases. As such, a lot of information is stored in DataSets and DataTable objects. Up until now, I have been passing...
28
by: Skeets | last post by:
i'm passing session and hidden variables between pages. not to mention post values. i'm a little concerned that someone with sufficient knowledge could spoof these vlaues and manipulate the...
7
by: Smokey Grindle | last post by:
For a website that has users logged into it using sessions, its it best to pass data between pages in session variables or through query strings?
5
by: pittendrigh | last post by:
There must be millions of dynamically generated html pages out there now, built by on-the-fly php code (and jsp, perl cgi, asp, etc). Programatic page generation is transparently useful. But...
10
nathj
by: nathj | last post by:
Hi, Part of one of my current projects is to provide an application form. This form needs to get quite a bit of data, so rather than have one really long form on one page I have split the data...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.