日期:2014-05-19  浏览次数:20857 次

数据加载到表出错
这句话发生错误:this.immunityTableAdapter.Fill(this.immunityDataSet.immunity);
错误是:No   value   given   for   one   or   more   required   parameters.(上面还写着未处理OleDbException).到底是什么东西错了啊?请各位指教!


private   void   button5_Click(object   sender,   EventArgs   e)
                {
                        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:\课件\Copy   of   人工免疫系统在计算机病毒检测中的应用研究\人工免疫系统在计算机病毒检测中的应用研究\Immunity.mdb;
                                ";
                                OleDbConnection   Conn   =   new   OleD