新手遇到问题,需要高手解答一下,在线等
using   System; 
 using   System.Collections.Generic; 
 using   System.Text; 
 using   System.Data; 
 using   System.Data.SqlClient;   
 namespace   Lg 
 { 
             class   DataBase 
             { 
                         private   string   StrSQL; 
                         private   string   StrCon   =    "Integrated   Security=SSPI;database=LoginPassword;server=. "; 
                         private   SqlConnection   SqlCon; 
                //   private   SqlCommandBuilder   SqlCmdBld; 
                         private   DataSet   ds;                        //警告	1	从未对字段“Lg.DataBase.ds”赋值,字段将一直保持其默认值   null 
                         private   SqlDataAdapter   da;   
                         public   DataSet   SelectDataBase(string   tempStrSQL,   string   tempTableName) 
                         { 
                                     this.StrSQL   =   tempStrSQL; 
                                     this.SqlCon   =   new   SqlConnection(StrCon); 
                                     this.da   =   new   SqlDataAdapter(this.StrSQL,this.StrCon); 
                                     this.ds.Clear(); 
                                     this.da.Fill(ds,tempTableName); 
                                     return   ds; 
                         } 
             } 
 }     
 using   System; 
 using   System.Collections.Generic; 
 using   System.ComponentModel; 
 using   System.Data; 
 using   System.Drawing; 
 using   System.Text; 
 using   System.Windows.Forms;   
 namespace   Lg 
 { 
             public   partial   class   Form1   :   Form 
             { 
                         //   public   static   bool   blCanLogin   =   false; 
                            public   static   string   strUser   =    " "; 
                            private   DataSet   ds   =   new   DataSet(); 
                            private   DataTable   myTable; 
                            private   DataRow   myRow; 
                            private   string   sendStrSQL   =    "select   *   from   LoginPwd ";//   where   Name= "+this.textBox1.Text();   
                         public   Form1()