Quote Originally Posted by mcmcom
stored procedures are a bit better, that way if you got to change something you can usually get away without having to re-comple your app.

firstly you need to define what your using. You going to use Sql or ODBC?

heres a MSDN Sample : http://msdn2.microsoft.com/en-us/lib...88(VS.71).aspx
hth,
mcm

I am using SQL server. Thanks for the link but that is for an asp.net page and I am building a windows app