Hi
I am using .NET 2 with c# and want to retrieve a single value from my
stored procedure.
I currently have the following code:
---------------------------------------------------------------------------------------------------------------------------------
ConnectionStrin gSettings connectionSetti ngs =
ConfigurationMa nager.Connectio nStrings["ConnectionStri ng"];
SqlDataSource ds = new SqlDataSource() ;
ds.SelectComman dType = SqlDataSourceCo mmandType.Store dProcedure;
ds.SelectComman d = "GetCustomerNam e";
ds.SelectParame ters.Add("trade rId", TypeCode.Int32, "1");
ds.Select();
---------------------------------------------------------------------------------------------------------------------------------
Obviously this won't get my customer name :(
How do I get the actual value?
Thanks!