n the database is an excel file, btw.
Wajeeha
Posts
-
HELP HELP URGENTLY!!!! -
HELP HELP URGENTLY!!!!this is my code. or part of it { : : this.sqlConnection1.ConnectionString = "workstation id=S6W6Q4;packet size=4096;integrated security=SSPI;data source=S6W6Q" + "4;persist security info=True;initial catalog=master"; // // sqlInsertCommand1 // this.sqlInsertCommand1.CommandText = "INSERT INTO [\'List For Haj Ballot$\'] ([List For Haj Ballot 2008], F2, F3, F4, F5," + " F6) VALUES (@Param1, @F2, @F3, @F4, @F5, @F6); SELECT [List For Haj Ballot 2008" + "], F2, F3, F4, F5, F6 FROM [\'List For Haj Ballot$\']"; this.sqlInsertCommand1.Connection = this.sqlConnection1; this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@Param1", System.Data.SqlDbType.Float, 8, "List For Haj Ballot 2008")); this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@F2", System.Data.SqlDbType.Float, 8, "F2")); this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@F3", System.Data.SqlDbType.NVarChar, 255, "F3")); this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@F4", System.Data.SqlDbType.NVarChar, 255, "F4")); this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@F5", System.Data.SqlDbType.NVarChar, 255, "F5")); this.sqlInsertCommand1.Parameters.Add(new System.Data.SqlClient.SqlParameter("@F6", System.Data.SqlDbType.NVarChar, 255, "F6")); // // sqlDataAdapter1 // this.sqlDataAdapter1.InsertCommand = this.sqlInsertCommand1; this.sqlDataAdapter1.SelectCommand = this.sqlSelectCommand1; this.sqlDataAdapter1.TableMappings.AddRange(new System.Data.Common.DataTableMapping[] { new System.Data.Common.DataTableMapping("Table", "\'List For Haj Ballot$\'", new System.Data.Common.DataColumnMapping[] { new System.Data.Common.DataColumnMapping("List For Haj Ballot 2008", "List For Haj Ballot 2008"), new System.Data.Common.DataColumnMapping("F2", "F2"), new System.Data.Common.DataColumnMapping("F3", "F3"), new System.Data.Common.DataColumnMapping("F4", "F4"), new System.Data.Common.DataColumnMapping("F5", "F5"), new System.Data.Common.DataColumnMapping("F6", "F6")})});
-
Why can't .Net executable programs work on a system without .Net framework?And if they can be, how? Can't any other less space-taking program/environment take its place? And why?