用数据集插入记录的丢失默认值的问题OleDbDataAdapter myCommand = new OleDbDataAdapter("SELECT  * FROM t_msg",myConn);
DataSet ds = new DataSet();
myCommand.Fill(ds,"t_msg");
myCommand.FillSchema(ds,SchemaType.Mapped,"t_msg");//昨天别人回复说它把数据表结构也读进来,有默认值 ,我试了,可还是不行
DataRow newRow = ds.Tables["t_msg"].NewRow();newRow["t_title"] = t_title.Text.ToString().Replace("'","");
newRow["t_content"]=t_content.Replace("'","");
...
 ...
newRow["d_time"]=ds.Tables["t_msg"].Columns["d_time"].DefaultValue;//d_time在数据库默认值已设为当前时间now(),加不加这句都丢失默认值
            
ds.Tables["t_msg"].Rows.Add(newRow);
OleDbCommandBuilder cb=new OleDbCommandBuilder(myCommand);// 这句不能少
myCommand.Update(ds,"t_msg");
myConn.Close();d_time在数据库中默认值已设为当前时间now(),数据库为ACCESS, 用这个方法如何让它添加数据,在没指定数据的情况下,如何让它动添上数据库中设置的默认值???^_^ ,谢谢!