日期:2014-05-18 浏览次数:21160 次
string chexing = drop_chexing.Text; string peizhi = drop_peizhi.Text; string yanse = drop_yanse.Text; string xuanzhuang = drop_xuanzhuang.Text; string vin = this.vin.Text; string fdj = this.fdj.Text; DateTime ck = Convert.ToDateTime(this.d11.Text); string ckd = this.ckd.Text; string xsd = this.xsd.Text; string dealer = drop_dealer.Text; string cklx = "aaa"; OleDbConnection conn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source="+Server.MapPath("deal.accdb")); string sql = "INSERT INTO ck VALUES ('" + chexing + "','" + vin + "','" + fdj + "','" + yanse + "','" + peizhi + "','" + xuanzhuang + "'," + ck + "','" + ckd + "','" + xsd + "','" + dealer + "','" + cklx + "')";