[求助]数据无法录入的问题
int a,b,c,d,f,g,h,i;
a = Convert.ToInt32(TextBox1.Text);
b = Convert.ToInt32(TextBox2.Text);
c = Convert.ToInt32(TextBox3.Text);
d = Convert.ToInt32(TextBox4.Text);
f = Convert.ToInt32(TextBox5.Text);
g = Convert.ToInt32(TextBox6.Text);
h = Convert.ToInt32(TextBox7.Text);
i = a+b+c+d+f+g+h;
TextBox8.Text = i.ToString();
DBEXE.SqlDBExe db = new DBEXE.SqlDBExe();
string sql= "insert into TABLE1(jjb,dl,dc,ds,dy,fyt,qt,hj) values ('a','b','c','d','f','g','h','i')";
DataSet rs = null;
rs = db.ReturnDataSet(sql,Global.connsunguoyi);
下面的话,如果编写成语言,该怎么说呢?
// 如果输入数据类型不正确,Label10.Text="输入数据错误,请重新输入!"
//如果不输入,默认值为0
新手,求教