G
Guest
Hi,
So I have this:
SqlDataReader rdr = ExecuteDataReader(connection, Command.Text, "Select *
from myTableName");
DataTable table = rdr.GetSchemaTable();
This is working great and telling me all the defined columns within the
myTableName, except if the column is an identity and autoincremented it is
not returning the right AutoIncrementSeed or AutoIncrementStep. Am I doing
something wrong or does GetSchemaTable() not return the AutoIncrementStep.
Or is there another way to find out what the field/column's
AutoIncrementStep, AutoIncrementSeed is?
Thanks,
Matt
So I have this:
SqlDataReader rdr = ExecuteDataReader(connection, Command.Text, "Select *
from myTableName");
DataTable table = rdr.GetSchemaTable();
This is working great and telling me all the defined columns within the
myTableName, except if the column is an identity and autoincremented it is
not returning the right AutoIncrementSeed or AutoIncrementStep. Am I doing
something wrong or does GetSchemaTable() not return the AutoIncrementStep.
Or is there another way to find out what the field/column's
AutoIncrementStep, AutoIncrementSeed is?
Thanks,
Matt