Home All Groups Group Topic Archive Search About

How do I pass Table Adapter as an argument?

Author
7 May 2006 12:26 PM
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

Author
7 May 2006 2:03 PM
Michel Posseth [MCP]
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
>