id为主键,克隆一条数据,除了主键不同, name,author都相同

 insert into blog(name,author) select name,author from blog where id = 1 克隆表:

 DataTable dt = new DataTable();

DataTable dtt = dt.Copy();

posted on 2007-09-19 12:06  星答  阅读(267)  评论(0编辑  收藏  举报