摘要:
新增操作 privatevoidtoolStripBtnAdd_Click(objectsender,EventArgse) { //新建立一个类,然后属性赋值 studentmystudent=newstudent(); mystudent.StudentName="MeetWeb"; mystudent.Sex="Man"; mystudent.Old=17; DataClasses1DataContextdb=newDataClasses1DataContext(sqlconStr); db.student.InsertOnSubmit(mystu 阅读全文