| 发表于:2007-04-26 09:25:17 楼主 |
sql语句如下 sqlstr= "insert into position(ptname,ptnumber,ptsalary,ptaddress,ptdetail.ptsex,ptage,ptdegree,ptexperice) values( ' "+textbox1.text.tostring()+ " ', ' "+textbox2.text.tostring()+ " ', ' "+textbox3.text.tostring()+ " ', ' "+textbox4.text.tostring()+ " ', ' "+textbox6.text.tostring()+ " ', ' "+dropdownlist1.selecteditem.text.tostring()+ " ', ' "+textbox5.text.tostring()+ " ', ' "+dropdownlist2.selecteditem.text.tostring()+ " ', ' "+textbox7.text.tostring()+ " ') "; |
|
|
|
|