Click here to Skip to main content
11,923,046 members (61,502 online)
Rate this:
Please Sign up or sign in to vote.
See more: C# SQL-Server ADO.NET , +
please suggest me how can i do that, give any link where i can learn , thank you in advance.
Posted 9-Mar-13 2:32am
ThePhantomUpvoter 9-Mar-13 8:29am
My suggestion would be to write some code. is the link you requested. You could probably find a whole lot of information at too.
Sushil Mate 9-Mar-13 8:46am
You need to explain more.. what exactly you trying to achieve here.. Nevertheless, let me try to answer your question. you want to save data somewhere? why somewhere.. why cant you have that data in memory once user done editing save in the database. try to learn about how to store data in go through this link
varun150 9-Mar-13 11:43am
you are rite sir,you got my question i meant to save data in ,string ,list ,arry etc. but problem
would appear to map these data to table correctly i dont know how to that , i need to save data in large table........or can we make table,row ,column,etc in code..

thanks a lot sir for you tried to understand my the problem

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi Varun,
You can use session object for this purpose.
1) in page init initialise dataset
2) in page load not postback get data from db if required & store in session object
3) in page load in post back get data from session.
4) in actions like add/update/delete do actions on dataset & store in sesssion
5) In Final submit call save new added data, updated data in db.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151125.3 | Last Updated 22 Mar 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100