Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ADO.NET SQL-Server-2008 C#4.0 , +
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
Comments
ThePhantomUpvoter at 9-Mar-13 8:29am
   
My suggestion would be to write some code. www.google.com is the link you requested. You could probably find a whole lot of information at www.codeproject.com too.
Sushil Mate at 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 asp.net.... go through this link http://www.codeproject.com/Articles/8631/ASP-NET-s-Data-Storage-Objects
varun150 at 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
good
Please Sign up or sign in to vote.

Solution 1

Hi Varun,
You can use session object for this purpose.
Steps
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.
  Permalink  

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

  Print Answers RSS
0 OriginalGriff 195
1 ProgramFOX 130
2 Maciej Los 105
3 Sergey Alexandrovich Kryukov 85
4 Afzaal Ahmad Zeeshan 82
0 OriginalGriff 6,564
1 Sergey Alexandrovich Kryukov 6,048
2 DamithSL 5,228
3 Manas Bhardwaj 4,717
4 Maciej Los 4,150


Advertise | Privacy | Mobile
Web02 | 2.8.1411022.1 | Last Updated 22 Mar 2013
Copyright © CodeProject, 1999-2014
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