Datasets

Hi friends, I have a very simple problem. Since being new to VB.NET, i have got fixed up in datasets. I want to know if I can do the following. dim z as new dataset() //declared in the construstor Private sub x() da.Fill(z,"Tablename") end sub Private sub y() dim x as string=ds.tables("Tablename").Rows(0).Item(0) end sub what I wanted to know was if i can use a dataset defined, and not declared, in one procedure, in another procedure. I want to use the same table within the dataset in more than one procedure. Can i do it. If yes, how Please help It is urgent. Thanks in advance

Loader.
Up arrow icon