|
-
Oct 21st, 2007, 10:00 PM
#1
Thread Starter
Member
passing values across pages
Hello,
I have a link button on my page (lets say it page A), when user click on this button, a new window opens (lets say it page B) this is a search form with some input textboxes and submit button. I also have a grid on this form which displays values according to search criteria. each row has a select button attached with it.
Now my task is, if user click on any select button I have to display the values of that particular row on Page A (and Page B will be closed). I dont know how to do that. how do I pass values from one window to another in C#. I have done it in ASP(using javascript), but I dont know how to do this in .net (framework 2.0).
-
Oct 22nd, 2007, 04:10 PM
#2
Re: passing values across pages
Is this a windows app or web app? if it is a web app, you still can use javascript as you did in ASP or you can use session variables. If it is a windows app, there are many ways to pass data between forms. The one I normally use is to create public properties on the forms for the values I want to pass around.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|