C#中数据库的Insert问题
下面的VALUES ( s[i]出错,到底是什么问题啊?
string[] s = new string[30];
int f = 0;
for (int i = 0; i < 6; i++)
{
for (int j = i + 1; j < 6; j++)
{
Immunity(i, j);
s[f] = ArrayToString(c);
f++;
Immunity(j, i);
s[f] = ArrayToString(c);
f++;
}
}
try
{
string connString = @ "
provider = microsoft.jet.oledb.4.0;
data source = E:\课件\人工免疫系统在计算机病毒检测中的应用研究-datalistview\人工免疫系统在计算机病毒检测中的应用研究\Immunity.mdb;
";
OleDbConnection Conn = new OleDbConnection(connString);
Conn.Open();
for (int i = 0; i < 30; i++)
&nbs