Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
misc
exam.security
microsoft_update_catalog
msdn.annotations
msdn.drgui.discussion
msdn.duwamish
msdn.general
msdn.magazine
msdn.soaptoolkit
msdn.webservices
msdntraining
opsmgr.connectors
opsmgr.sp1
technet
technet.howtofeedback
technet.howtoneeds
technet.magazine
technet.technettalks
  
 
date: Wed, 25 May 2005 05:27:22 -0700,    group: microsoft.public.msdn.magazine        back       


Parametized Command   
What's the proper way to pass a parameter to a command in asp 2.0?

SqlConnection ConXion = new SqlConnection(ConnectionString);
SqlCommand Cmd = new SqlCommand();
            Cmd.CommandType = CommandType.StoredProcedure;
            Cmd.CommandText = "GetDepartmentDetails";
            Cmd.Connection = ConXion;

            Cmd.Parameters. Normally I'd add the param here but not in the 
2005 edition.
date: Wed, 25 May 2005 05:27:22 -0700   author:   Cam

Re: Parametized Command   
"Cam"  wrote in message 
news:7179E0CC-731B-4380-ACFB-C2D0F73A6E0F@microsoft.com...
> What's the proper way to pass a parameter to a command in asp 2.0?

You might be more likely to get an answer over in the new Microsoft Forums - 
either one of the SQL ones or one of the .NET ones....

http://forums.microsoft.com/msdn/default.aspx
date: Thu, 26 May 2005 16:10:58 -0700   author:   Frank Boyne

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us