|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
How do I pass Table Adapter as an argument?Hi all ,
I'm just wondering if there is away to pass the tableadapter as an argument for common use purpose for example : public sub Save(pmTableAdapter as TableAdapter) pmTableAdapter.Update....etc End Sub thanks Sadiq Alrefa'e Software Developer Table adapters are made of partiall classes so you can easily extend them
with anny method you like regards Michel Posseth [MCP] "pass Table Adapter as an argument" <pass Table Adapter as an argum***@discussions.microsoft.com> schreef in bericht Show quoteHide quote news:D8592FBB-7C4F-49FC-9931-6AD6374D7DA7@microsoft.com... > Hi all , > > I'm just wondering if there is away to pass the tableadapter as an > argument > for common use purpose for example : > > > public sub Save(pmTableAdapter as TableAdapter) > pmTableAdapter.Update....etc > End Sub > > thanks > Sadiq Alrefa'e > Software Developer > |
|||||||||||||||||||||||