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.
"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