[thelist] .NET: Parameters with a DataAdapter?

Eduardo Kienetz eduardok at gmail.com
Sat Mar 29 22:37:32 CDT 2008


On Sat, Mar 29, 2008 at 4:36 PM, Casey Crookston
<caseyb at thecrookstons.com> wrote:
> Hi,
>
>  These few lines of code do a great job of returning a dataset, but I'm not
>  sure how to pass a parameter into the stored proc.  Do I need to switch to
>  using an SqlCommand?

Actually, have a look at:
http://msdn2.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.selectcommand.aspx

-- 
Eduardo Bacchi Kienetz
http://www.noticiaslinux.com.br/eduardo/
http://eduardo.intercambista.blog.br



More information about the thelist mailing list