johnkainn
asked on
Datatable - adapter
In AppCode I call a Sql Database. I return DataAdapter - see attached file.
But how can I add a new column to the Adapter? Its value should be 2.
Thanks
But how can I add a new column to the Adapter? Its value should be 2.
Thanks
public SqlDataAdapter GetTest()
{
SqlDataAdapter adapter = new SqlDataAdapter("TestSelect", connection);
adapter.SelectCommand.CommandType = CommandType.StoredProcedure;
return adapter;
}
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.