V
VB Programmer
I have a dataset that I'm using as a lookup table in my ASP.NET webform
(using VB.NET).
In the class I've defined it as "Public dsMyDs as DataSet".
In the Page_Load, if Not Page.IsPostBack, then it first sets "dsMyDs = New
DataSet" then populates it.
I have a dropdownlist that has AutoPostBack set to true. When I select an
item I want to "look up" the description for that item, using a table in my
dataset. But, by the time I re-enter the page the dataset seems to be gone.
How do I preserve the dataset for later reference/use?
Thanks.
(using VB.NET).
In the class I've defined it as "Public dsMyDs as DataSet".
In the Page_Load, if Not Page.IsPostBack, then it first sets "dsMyDs = New
DataSet" then populates it.
I have a dropdownlist that has AutoPostBack set to true. When I select an
item I want to "look up" the description for that item, using a table in my
dataset. But, by the time I re-enter the page the dataset seems to be gone.
How do I preserve the dataset for later reference/use?
Thanks.