2012年8月22日
摘要: publicboolInserts(ObservableCollection<CustomerModel>models){DataTabledataTable=SQLHelper.ExecteAdapter("selecttop0*fromCustomer",CommandType.Text,null);foreach(varminmodels){DataRowdataRow=dataTable.NewRow();dataRow[1]=m.Name;dataRow[2]=m.Add;dataRow[3]=m.Email;dataRow[4]=m.Phone;da 阅读全文
posted @ 2012-08-22 10:50 Kingly 阅读(413) 评论(0) 推荐(0) 编辑