Groups | Blog | Home
all groups > asp.net building controls > december 2003 >

asp.net building controls : persistent values


luis carvalho
12/29/2003 7:40:40 AM
I'm developing a web user control. This control as global
DataTable. WhenEver a button is pressed I have a method
that adds a row to that DataTable, but it seems this data
is never persisten for although I add a row everytime (
DataTable.Rows.Add(DataRow) ) my DataTable never has more
than one row.

Is there to make this data persistent? all the other
variables are... like strings or ints, but this datatable
just seems not to allow anymore than one row...

Victor Garcia Aprea [MVP]
1/5/2004 6:52:04 PM
Hi Luis,

How does the definition of your global DataTable instance looks like?

--
Victor Garcia Aprea
Microsoft MVP | ASP.NET
Looking for insights on ASP.NET? Read my blog:
http://obies.com/vga/blog.aspx

To contact me remove 'NOSPAM'. Please post all questions to the newsgroup
[quoted text, click to view]

AddThis Social Bookmark Button