T
Tim
Hi,
I am trying to pass a SQL Command, complete with parameters and their values
from one form to a modal form.
The modal form has;
public void GridDataPreload(System.Data.SqlClient.SqlCommand cmdPreload)
{
}
the calling form has;
fSaleItems.GridDataPreload(this.cmmSQLUpdateSaleReview);
At the point it is called the cmmSQLUpdateSaleReview has all the params and
their values in it.
When it is passed though it has the right count but none of the value names
(such as @Sale_id) and none of the values.
What has happened to them?
Tim
I am trying to pass a SQL Command, complete with parameters and their values
from one form to a modal form.
The modal form has;
public void GridDataPreload(System.Data.SqlClient.SqlCommand cmdPreload)
{
}
the calling form has;
fSaleItems.GridDataPreload(this.cmmSQLUpdateSaleReview);
At the point it is called the cmmSQLUpdateSaleReview has all the params and
their values in it.
When it is passed though it has the right count but none of the value names
(such as @Sale_id) and none of the values.
What has happened to them?
Tim