473,387 Members | 1,582 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,387 software developers and data experts.

Posting values of SqlQuery From SourcePage to the Controls in the Destination Page

[IMG][b]Hai friends,

Can any one help me out!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.

Problem is,

I am having two Web Pages in (ASP.NET PROJECT).In the FirstPage (SourcePage) i am having a button and a Textbox.

In the button of the SourcePage i am writing a Query that would return some (8) values from database table 'A' based upon the input in the textbox in the SourcePage.

I want the result of the Query to be displayed in the Labels(8) which i have in the DestinationPage.


Can anyone help me out......
Thanks in Advance.
Jul 14 '07 #1
2 1056
kenobewan
4,871 Expert 4TB
Welcome to TSDN. One way may be using the button to post the values. HTH.
Jul 15 '07 #2
[IMG][b]Hai friends,

Can any one help me out!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!.

Problem is,

I am having two Web Pages in (ASP.NET PROJECT).In the FirstPage (SourcePage) i am having a button and a Textbox.

In the button of the SourcePage i am writing a Query that would return some (8) values from database table 'A' based upon the input in the textbox in the SourcePage.

I want the result of the Query to be displayed in the Labels(8) which i have in the DestinationPage.


Can anyone help me out......
Thanks in Advance.
you can use session variables.
Jul 17 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

6
by: anon | last post by:
Post Forwarding question...... For this control below, <asp:Button runat="server" PostTargetUrl="page2.aspx" /> The Attribute: PostTargetUrl="page2.aspx" Is this PostTargetUrl Attribute...
3
by: Itai | last post by:
I have an aspx file named index.aspx which contains two ‘form' sections, one that has the runat=server attribute (e.g From1) and one which is a regular HTML form (e.g SignInForm). I am trying...
4
by: rick | last post by:
Does anyone having a working example of passing values between web forms pages? I tried the example in the ms- help but I can't get by the following: To read property values from the source...
1
by: Satish Appasani | last post by:
Is there any ideal way of passing values to another page using Post method and avoiding Sessions and Viewstate? I have used Viewstate unsuccessfully. Though I've set all the required attributes...
4
by: ani | last post by:
I have a datalist control in my aspx page(this is paginated and everytime submits to itself). I am calling a function within my datalist that returns a html control (radio button ) in the form of...
8
by: Chris | last post by:
Hi, I have two froms (form1 and form2). I want to be able to pass values from form 1 to form2 and be able to use those values leter in form2. This is my code for form1 Private Sub...
1
by: apusateri | last post by:
Good morning (afternoon, evening, whatever), I realize this is PHP as well as MySQL, but I had to make a judgement call on where to post the question, hope that's okay... Is there any way to...
0
by: Harshit | last post by:
Hi !!! I am having Two webforms in ASP.NET. a) SourcePage.---- 1 Textbox,1 Button b) DestinationPage. ---- 1 Gridview In the SourcePage I am going to give an input in the textbox and after ...
4
by: sjohnson1984 | last post by:
Hello all, I have a form which is generated using a database query - the recordset is filled with agent details, login time and the like, and there are as many rows in the table as records in the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.