c# adapter.fill dataset not working with stored procedure even though I know the parameters are returning data?
问题 I have the strangest issue. The following works most of the time, however "now and again" it fails to return data, even though I have put a breakpoint for the adapter.fill statement, checked the params and executed them via SQL Management Studio which definitely returns the data :) So this is a standard c# SQL client call: SqlCommand command = new SqlCommand(); command.CommandType = CommandType.StoredProcedure; command.Connection = connection; The connection is definitely being opened ok, and