fully editable Datagrid..not bound to database..

I read an article in this forum regarding constructing a datagrid not
bound to a database. My question is on those line..though not exactly
the same. Here is my problem...I have a datagrid which has columns from
2 datasets (populated from different tables in database). I constrcuted
the columns for a datagrid with these datasets.

The first dataset contains the column Serial Number. The second dataset
contains the Parameters needed to be measured for this Serial Number as
rows...which inturn have to be shown as columns in my datagrid.

So this completes my question. I hope my explanation was clear enough. I
have got the datagrid to display the way I want. But when I fill up the
textboxes and click the Submit button, my datagrid dissapears. I know it
is beacuse the page is posting back....but I dont know how to
take care of this. I have bound the datagrid in a function. If I bind
the datagrid again when click the Submit button, I lose all the data I
entered in the textboxes.

I'm completely helpless on this. I'd be grateful if you could help me on
this. If you need any more explanation I'd be pleased to do so.

Share This Page

Welcome to The Coding Forums!

Welcome to the Coding Forums, the place to chat about anything related to programming and coding languages.

Please join our friendly community by clicking the button below - it only takes a few seconds and is totally free. You'll be able to ask questions about coding or chat with the community and help others.
Sign up now!