VB
Topic: datasets and datatables

Ireland .NET Developer Alliance :: Forums

Page 1 of 1 (3 items)


Posted by mike55 on 03-31-2005 5:14
Hi

Have a dataset that contains multiple datatables...is it possible to search through the dataset for a particular datatable?

Mike55

Posted by Paul Fox on 03-31-2005 8:29
Mike

Maybe something like (with ds as the dataset):

if not( ds.Tables("NameoftheTable") is nothing) then
 
  your code

end if

Posted by mike55 on 04-01-2005 9:09
Hi Paul,

Your suggestion works perfectly, many thanks. 

Mike55