سلام دوستان
ميشه ببينين مشکل کد زير چيه؟
string sql1 = "INSERT INTO tblrastehF" +
" (namrastehF, xrastehA)" +
" VALUES (N'{0}'),(N'{1}') ";
sql1 = string.Format(sql1, this.Name,this.label1.Text);
اينم پيغام خطاشه:
There are more columns in the INSERT statement than values specified in the VALUES clause. The number of values in the VALUES clause must match the number of columns specified in the INSERT statement.