1. 添加数据:
DataRow dr=MyDataSet.Tables["User"].NewRow();
dr["UserName"] = "张三";
dr["ReMark"] = "10";
dr["Comment"] = "男士";
MyDataSet.Tables["User"].Rows.Add(dr);
2. 修改数据:
MyDataSet.Tables["User"].Rows[0]["UserName"]="李四";
3. 删除数据:
MyDataSet.Tables["User"],Rows[0].Delete();