i use visual studio.net to design db program.
database is sybase 11.9.2, and use odbc to connect to it.

there is a problem when i try to insert records to db using OdbcCommandBuilder to automatic genarate sql command.

here is the code:
/////////////////////////////////////////////////////////////////////////////////
DataSet checkDS=new DataSet();
OdbcDataAdapter checkDA=new OdbcDataAdapter();
String checkSql="select * from "+tablename;
checkDA.SelectCommand=new OdbcCommand(checkSql,connCheck);
checkDA.SelectCommand=new OdbcCommand(checkSql,connCheck);
OdbcCommandBuilder(checkDA);

connCheck.Open();
checkDA.Fill(checkDS,tablename);

while(dbReader1.Read())
{
DataRow newRow=checkDS.Tables[tablename].NewRow();
for(int i=0;i<checkDS.Tables[tablename].Columns.Count;i++)
{
newRow[i]=dbReader1[i];
}
checkDS.Tables[tablename].Rows.Add(newRow);
}

String ss=cb.GetInsertCommand().CommandText;

checkDA.Update(checkDS,tablename);
//////////////////////////////////////////////////////

the insert command genarate here is
"INSERT INTO t01 DEFAULT VALUES"
(t01 is the table name)

any advice?

thanks.