日期:2014-05-17 浏览次数:20951 次
protected void Button12_Click(object sender, EventArgs e)
{
//if (IsClick == true)
//{
// new SysClass().alert(this.Page, "不能重复提交申请!");
//}
//else
//{
if (this.TextBox1.Text.Trim() != "")
{
if (this.CertRight(this.TextBox1.Text.Trim()))//判断合格证
{
string alertError = "";
if (this.XZHgzCount(out alertError))
{
ILog log = log4net.LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
ArrayList sQLs = new ArrayList();
ArrayList sqlParams = new ArrayList();
SysClass class2 = new SysClass();
DBClass class3 = new DBClass("ConnStr");
string[] userInfo = class2.GetUserInfo();
string str2 = "Insert Into Cert (Cert,CertNo,VehicleOwnerName,LicenceNo,LicenceColor,YingYunNo,AutoTypeName,EngineNo,UnderpanNo,FixTypeName,DriveDistance,FreeDistance,FreeDays,FixStartDate,FixEndDate,State,FixInfo,Organ,CreateOrgan,CreateName,CreateDate,CertEnrol) values (@Cert,@CertNo,@VehicleOwnerName,@LicenceNo,@LicenceColor,@YingYunNo,@AutoTypeName,@EngineNo,@UnderpanNo,@FixTypeName,@DriveDistance,@FreeDistance,@FreeDays,@FixStartDate,@FixEndDate,@State,@FixInfo,@Organ,@CreateOrgan,@CreateName,@CreateDate,@CertEnrol)";
&