you can cache datatables / datasets. Datasets can also easily be persisted into XML files. You can store both in application / cache object.
Datatables can be transfered from one Dataset to another. This being said your problem will probably go away when you google datagrid and paging :) Here is an example of your main objective and how it can be reached :) http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=149 ----- Original Message ----- From: "Kumar, Karthick" <[EMAIL PROTECTED]> To: <[email protected]> Sent: Thursday, September 22, 2005 10:18 AM Subject: RE: [AspNetAnyQuestionIsOk] Dataset to Array >I agree and understand. But is it possible to hold array of Datatables or >Datasets in an array ?. > > If it is, then once the array is populated with the info I want, then I > don't neeed to go to the database again. The prime objective is to display > listings of x records in a browser *but* only 10 per page and allow the > user to navigate to the next page, which would have been already > constructed from the Array, rather than once the user clicks on the page 2 > link, then make a call to the database. > > Karthick > > > -----Original Message----- > From: [email protected] > [mailto:[EMAIL PROTECTED] Behalf Of Mischa Kroon > Sent: Thursday, September 22, 2005 9:12 AM > To: [email protected] > Subject: Re: [AspNetAnyQuestionIsOk] Dataset to Array > > > A datatable is an array of rows with some extra functionality thrown in. > > A dataset is an array of DataTables with some extra functionality trown > in. > > These 2 are made for holding your data in .Net. > > Using them instead of regular arrays makes sence most of the time. > > > > ----- Original Message ----- > From: "Kumar, Karthick" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Thursday, September 22, 2005 9:49 AM > Subject: RE: [AspNetAnyQuestionIsOk] Dataset to Array > > >> Well, I want to be able to store Datatables and rows. Please help. >> Thanks. >> >> Karthick >> >> >> >> -----Original Message----- >> From: [email protected] >> [mailto:[EMAIL PROTECTED] Behalf Of Dean Fiala >> Sent: Wednesday, September 21, 2005 6:01 PM >> To: [email protected] >> Subject: Re: [AspNetAnyQuestionIsOk] Dataset to Array >> >> >> What are you going to use it for? >> >> How deep are you going to go? IE, are you creating an array of >> tables? Or an array of of arrays of rows? >> >> On 9/21/05, Kumar, Karthick <[EMAIL PROTECTED]> wrote: >>> Hi, >>> >>> I am trying to Convert a DataSet in an (Multi-dimensional) Array in >>> C#.NET . Please give some insight as to how to do it ?. >>> >>> Thanks. >>> >>> Regards, >>> Karthick Kumar >>> CTI Global Applications >>> Tel: +353 1 622 3451 >>> Email: [EMAIL PROTECTED] >>> >>> >>> >>> >>> Yahoo! Groups Links >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> -- >> Dean Fiala >> Very Practical Software, Inc >> http://www.vpsw.com >> >> >> >> >> Yahoo! Groups Links >> >> >> >> >> >> >> >> >> >> >> Yahoo! Groups Links >> >> >> >> >> >> > > > > > > Yahoo! Groups Links > > > > > > > > > > > > Yahoo! Groups Links > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
