/// <summary> /// 插入实验模版 /// </summary> public void InsertTemplate() { string sql = "INSERT INTO ADMINISTRATOR.ThermalTestTemplate(TEMPLATENAME,UNITID,PARAID,SN,TEMPLATEID) VALUES('" + TemplateName + "','" + UnitID + "','" + ParaID + "'," + SN + "," + TemplateID + ")"; DataLink link = new DataLink(); link.Excute(sql); }