DataSet dSet;
DataTable dt;
// Use the Add method to add a new table with a given name.
dt = dSet.Tables.Add("myNewTable");
// Code to add columns and rows not shown here.
用类似的方式创建 DataColumn,并添加到表中.
DataTable dt;
// Use the Add method to add a new table with a given name.
dt = dSet.Tables.Add("myNewTable");
// Code to add columns and rows not shown here.
用类似的方式创建 DataColumn,并添加到表中.
解决方案 »
- 如何用C#代码实现,将ACCESS数据库中的数据导出为文本文件
- c#调用java写的webservice,返回值丢失
- 如和在MapInfo中如何同时生成access.mdb文件
- 请问如何给datagridview上的关键字高亮显示
- 如何设置VS2005的开发模式啊。。
- 怎样把一个文本文件加密成二进制文件
- C#中怎么控制API播放音乐
- 做过cmpp3.0的进来,高分请教!
- 如何设置font的字形(就是粗体、斜体、下划线等)?兄弟姐妹们出手了!
- IBatis 多表联合查询的问题,如有好的解决办法可再加分
- 谁碰到过这个错误:“对象<15bbad480_cb19_11d6_0010778f1/26038871_2.rem>已经断开连接或不在服务器上”?
- 图片存储和读取的问题
dr = dt.NewRow();
dt[0]="person"
dt[1]="power"
dt.Rows.Add(dr);