Can anyone please give me a quick response to a problem I've searched this site for answers to but with no success.
SQL Server 2000, Adapter. .NET 1.1
Calling CallRetrievalStoredProcedure, as in:-
public DataTable BookingSearch( string booking_ref, string websiteref, string client_firstname, string client_surname,
string clientwebsiteemailaddress )
{
DataAccessAdapter adapter = new DataAccessAdapter();
...
...
tblResults = RetrievalProcedures.BookingSearch( booking_ref, websiteref, client_firstname, client_surname, clientwebsiteemailaddress);
Fails always when the adapter.Fill(tableToFill); line in CallRetrievalStoredProcedure is called.
Error is 'System.Data.SqlClient.SqlException'
The sproc is a straightforward SELECT query with optional parameters, which works with no problem when exec'd in Query Analyser.