In fact, many times from Dataset I use just DataTables...

Do you have any ideas? To me viewstate is the killer and session variables 
too!


C. N. Mohan
System Analyst
F J Benjamin (Singapore) Pte Ltd (Co. Reg. No. 199000027E)
Direct - (65) 6731 7573     Main - (65) 6737 0155     Fax - (65) 6735 9052
E-mail - [EMAIL PROTECTED]              Web - www.fjbenjamin.com

Disclaimer:
This e-mail, which represents solely the views of its author, is 
confidential to the e-mail addressee and may contain copyright and/or 
legally privileged information. No-one else may read, print, store, copy, 
forward or act in reliance on it/attachments. Please e-mail the sender if 
you receive this in error. No responsibility shall be accepted for any 
damage caused by this e-mail/attachment(s).



Ryan Olshan <[EMAIL PROTECTED]> 
Sent by: AspNetAnyQuestionIsOk@yahoogroups.com
09/30/2005 01:15 PM
Please respond to
AspNetAnyQuestionIsOk@yahoogroups.com


To
AspNetAnyQuestionIsOk@yahoogroups.com
cc

Subject
Re: [AspNetAnyQuestionIsOk] Performance with ASP.NET Server Controls






Do you need to use DataSets? Why not use DataTables? They are much faster
than DataSets.
 /Ryan

 On 9/29/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Dear All,
>
> I have a intranet wep application which is quite slow, we have lots and
> lots of data...
>
> I enable viewstate for the DataGrid/DataList and disable the viewstate 
for
>
> all other controls on the said containers. Also whenever I'm using 
paging
> I use the custom get only "just nice" number of records...
>
> 1) I use very minimum Dataset to pass queried data to and fro .
> 2) I pass just the affected row/table (thru getchanges method) to
> save/modify records
> 3) I have two/three session variables which will be reused to store the
> datasets if required
>
>
> But still I'm unhappy with the performance..
>
> Any ideas gurus??
>
> Thanks and regards,
> C. N. Mohan
>
> Disclaimer:
> This e-mail, which represents solely the views of its author, is
> confidential to the e-mail addressee and may contain copyright and/or
> legally privileged information. No-one else may read, print, store, 
copy,
> forward or act in reliance on it/attachments. Please e-mail the sender 
if
> you receive this in error. No responsibility shall be accepted for any
> damage caused by this e-mail/attachment(s).
>
>
>
> Ryan Olshan <[EMAIL PROTECTED]>
> Sent by: AspNetAnyQuestionIsOk@yahoogroups.com
> 09/30/2005 12:52 PM
> Please respond to
> AspNetAnyQuestionIsOk@yahoogroups.com
>
>
> To
> AspNetAnyQuestionIsOk@yahoogroups.com
> cc
>
> Subject
> Re: [AspNetAnyQuestionIsOk] reference multiple datagrids in viewstate 
bag
>
>
>
>
>
>
> And as for ViewState["DataGrid"] you would have to cast it to DataGrid 
as
> (DataGrid)ViewState["DataGrid"].
> Ryan
>
> On 9/29/05, Ryan Olshan <[EMAIL PROTECTED]> wrote:
> >
> > Use DataTables to bind to your DataGrids and then have the sort 
commands
> > bind to the appropriate DataTable.
> > It's not a good idea to "polute" the ViewState.
> > /Ryan
> >
> > On 9/29/05, yalwho <[EMAIL PROTECTED]> wrote:
> > >
> > > I have a web form with 4 seperate data grids on it. I am adding
> > > sorting to each of them and need to handle the sort event for each.
> > > Some code that I have for example only have one datagrid on the page
> > > so they just simply reference the datagrid by "this.ViewState" in 
the
> > > function that is assigning the sort paramaters. But when I implement
> > > the same code on my page with 4 data grids I get an error that the
> > > ViewState bag can't be "cast" I think to the type of DataGrid. How
> > > would I reference the data grids on the post back from the view 
state?
> > > Would it be simply ViewState["datagridname"]? Or is there a way to
> > > search for them in the viewstate bag?
> > >
> > > Thanks,
> > > Jim
> > >
> > >
> > >
> > >
> > > SPONSORED LINKS
> > > Basic programming language<
>
> 
http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=clJRDppRYABhs6xUhzokKw

> > Computer
> > > programming languages<
>
> 
http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=RiWZhYTiihJ1rWfeFgB2sg

> > Programming
> > > languages<
>
> 
http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=2BgLsjKfGvxPndstKBMU9g

> > Java
> > > programming language<
>
> 
http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=4wWSX5WKx7BCK9SrMVdrxQ

> > The
> > > history of computer programming language<
>
> 
http://groups.yahoo.com/gads?t=ms&k=The+history+of+computer+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=iNvYp6cfd9HwtDhK1iV-rg

> >
> > > ------------------------------
> > > YAHOO! GROUPS LINKS
> > >
> > >
> > > - Visit your group "AspNetAnyQuestionIsOk<
> http://groups.yahoo.com/group/AspNetAnyQuestionIsOk>"
> > > on the web.
> > > - To unsubscribe from this group, send an email to:
> > >
> [EMAIL PROTECTED]<
> [EMAIL PROTECTED]>
> > > - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
> > > Service <http://docs.yahoo.com/info/terms/>.
> > >
> > >
> > > ------------------------------
> > >
> >
> >
> >
> > --
> > Thank you,
> > Ryan Olshan
> > <asp:Web Programmer, Owner />
> > TeraNet Systems
> > http://www.teranetsystems.com
> >
> > --------Internet E-Mail Confidentiality Statement--------
> > The content of and attachment(s) to this electronic transmission
> contains
> > information from TeraNet Systems and is intended for the use of the
> person,
> > firm or entity to which it is directed herein, and may contain
> information
> > that is private, confidential, exempt from disclosure under applicable
> law,
> > and/or proprietary to TeraNet Systems and is protected by law. If you
> are
> > not the intended recipient, or the employee or agent responsible for
> > delivering this message to the intended recipient, any dissemination,
> > distribution or copying of this communication is strictly prohibited. 
If
>
> you
> > have received this message in error, please notify the sender,
> > [EMAIL PROTECTED], immediately by reply e-mail and delete the
> > original message and any attachment(s) without reading or saving in 
any
> > matter. Thank you for your cooperation.
>
>
>
>
> --
> Thank you,
> Ryan Olshan
> <asp:Web Programmer, Owner />
> TeraNet Systems
> http://www.teranetsystems.com
>
> --------Internet E-Mail Confidentiality Statement--------
> The content of and attachment(s) to this electronic transmission 
contains
> information from TeraNet Systems and is intended for the use of the
> person,
> firm or entity to which it is directed herein, and may contain 
information
> that is private, confidential, exempt from disclosure under applicable
> law,
> and/or proprietary to TeraNet Systems and is protected by law. If you 
are
> not the intended recipient, or the employee or agent responsible for
> delivering this message to the intended recipient, any dissemination,
> distribution or copying of this communication is strictly prohibited. If
> you
> have received this message in error, please notify the sender,
> [EMAIL PROTECTED], immediately by reply e-mail and delete the
> original
> message and any attachment(s) without reading or saving in any matter.
> Thank
> you for your cooperation.
>
>
> [Non-text portions of this message have been removed]
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> SPONSORED LINKS
>   Basic programming language<
http://groups.yahoo.com/gads?t=ms&k=Basic+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=clJRDppRYABhs6xUhzokKw
> Computer
> programming languages<
http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=RiWZhYTiihJ1rWfeFgB2sg
> Programming
> languages<
http://groups.yahoo.com/gads?t=ms&k=Programming+languages&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=2BgLsjKfGvxPndstKBMU9g
>  Java
> programming language<
http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=4wWSX5WKx7BCK9SrMVdrxQ
> The
> history of computer programming language<
http://groups.yahoo.com/gads?t=ms&k=The+history+of+computer+programming+language&w1=Basic+programming+language&w2=Computer+programming+languages&w3=Programming+languages&w4=Java+programming+language&w5=The+history+of+computer+programming+language&c=5&s=176&.sig=iNvYp6cfd9HwtDhK1iV-rg
>
>  ------------------------------
> YAHOO! GROUPS LINKS
>
>
>    - Visit your group "AspNetAnyQuestionIsOk<
http://groups.yahoo.com/group/AspNetAnyQuestionIsOk>"
>    on the web.
>     - To unsubscribe from this group, send an email to:
> 
[EMAIL PROTECTED]<[EMAIL PROTECTED]>
>     - Your use of Yahoo! Groups is subject to the Yahoo! Terms of
>    Service <http://docs.yahoo.com/info/terms/>.
>
>
>  ------------------------------
>



--
Thank you,
Ryan Olshan
<asp:Web Programmer, Owner />
TeraNet Systems
http://www.teranetsystems.com

--------Internet E-Mail Confidentiality Statement--------
The content of and attachment(s) to this electronic transmission contains
information from TeraNet Systems and is intended for the use of the 
person,
firm or entity to which it is directed herein, and may contain information
that is private, confidential, exempt from disclosure under applicable 
law,
and/or proprietary to TeraNet Systems and is protected by law. If you are
not the intended recipient, or the employee or agent responsible for
delivering this message to the intended recipient, any dissemination,
distribution or copying of this communication is strictly prohibited. If 
you
have received this message in error, please notify the sender,
[EMAIL PROTECTED], immediately by reply e-mail and delete the 
original
message and any attachment(s) without reading or saving in any matter. 
Thank
you for your cooperation.


[Non-text portions of this message have been removed]




 
Yahoo! Groups Links



 





[Non-text portions of this message have been removed]



------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/T8sf5C/tzNLAA/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/
 


Reply via email to