摘要:
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 阅读全文