J
John
Hi
vb2005/sqlserver2005. I have a stored procedure that accepts three optional
parameters. If I run the following it returns the data fine;
DECLARE @return_value int
EXEC @return_value = [dbo].[NewSelectCommand]
@CompanyType = NULL,
@Status = NULL,
@BusinessDivision = NULL
If however I use the following in my vb.net app, I get nothing.
Me.CompaniesTableAdapter.Fill(Me.EMSDataSet.Companies,
DBNull.Value.ToString, DBNull.Value.ToString, DBNull.Value.ToString)
What is the problem and how can I fix it?
Thanks
Regards
vb2005/sqlserver2005. I have a stored procedure that accepts three optional
parameters. If I run the following it returns the data fine;
DECLARE @return_value int
EXEC @return_value = [dbo].[NewSelectCommand]
@CompanyType = NULL,
@Status = NULL,
@BusinessDivision = NULL
If however I use the following in my vb.net app, I get nothing.
Me.CompaniesTableAdapter.Fill(Me.EMSDataSet.Companies,
DBNull.Value.ToString, DBNull.Value.ToString, DBNull.Value.ToString)
What is the problem and how can I fix it?
Thanks
Regards