HighTechTalks DotNet Forums  

Adding records

Dotnet FAQs microsoft.public.dotnet.faqs


Discuss Adding records in the Dotnet FAQs forum.



Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old   
raymond chiu
 
Posts: n/a

Default Adding records - 01-04-2006 , 10:13 PM






Dear all Helpers,

In Web Programming, Adding records for undefined number rows is not easy for
me.

I have thought several methods, e.g. (1) There are Two Pages, one is
datagrid page for showing the records added. The second is showing several
textboxs for input and one button for adding records to the first datagrid
page.
In this situation, we can use (a) querystring, (b) session variables or any
others that I don't know.
Can we use dataset for storing the records added and bind to the first page
datagrid? What the code should be like in first page and second page?
Suppose we are adding name and tel no.


Appreciate for your help,

Thanks,

Raymond Chiu



Reply With Quote
  #2  
Old   
Sachin Saki
 
Posts: n/a

Default RE: Adding records - 01-06-2006 , 06:07 AM






Hi,

Can you be more clear regarding the button click.

From my understanding, QueryString and Session variable are not the best
choices. Dataset would be the best choice for this and you have to put
dataset in ViewState and bind the grid to show newly added record in
DataGrid.

Hope it works.

Regards,
Sachin Saki
..NET Developer, Capgemini - INDIA

"raymond chiu" ने लिखा:

Quote:
Dear all Helpers,

In Web Programming, Adding records for undefined number rows is not easy for
me.

I have thought several methods, e.g. (1) There are Two Pages, one is
datagrid page for showing the records added. The second is showing several
textboxs for input and one button for adding records to the first datagrid
page.
In this situation, we can use (a) querystring, (b) session variables or any
others that I don't know.
Can we use dataset for storing the records added and bind to the first page
datagrid? What the code should be like in first page and second page?
Suppose we are adding name and tel no.


Appreciate for your help,

Thanks,

Raymond Chiu




Reply With Quote
Reply




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.