摘要: 新增操作 privatevoidtoolStripBtnAdd_Click(objectsender,EventArgse) { //新建立一个类,然后属性赋值 studentmystudent=newstudent(); mystudent.StudentName="MeetWeb"; mystudent.Sex="Man"; mystudent.Old=17; DataClasses1DataContextdb=newDataClasses1DataContext(sqlconStr); db.student.InsertOnSubmit(mystu 阅读全文
posted @ 2012-03-24 10:01 meetweb 阅读(945) 评论(0) 推荐(0) 编辑