Create a OleDbCommand object with the select statement as the commandtext and assign it to the SelectCommand property of the dataadapter. Look under Data and ADO.NET on this page for an example: http://samples.gotdotnet.com/quickstart/howto/
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.