vb.net - How to Access DataTable Information Filled By a Module From a Form -
i have dataset named billmat.xsd
when application loads, module fills dataset's datatable correct information.
my question ... how can access datatable's filled information form?
here's how tried access on 1 of forms:
dim view new dataview view.table = billmat.tables("dtbillheader")
but following error:
if create new instance of dataset , store in variable, i'll able rid of error message rid of data in dataset's datatables ... there way access datatable's information form?
you need fix both forms referencing same dataset
or datatable
object. if 1 "child" form of other, such dialog, can pass parent child via property. otherwise, ideally, same data object injected both forms third object created both of forms. short of that, create singleton or global variable, please don't!
Comments
Post a Comment