L
Lian
hi
Hi
I have a problem with a dataset. Im trying to update the database but
it doesn't updating the database
this.oleDbConnection1 .Open ();
OleDbCommand cmd = new OleDbCommand ("",this.oleDbConnection1);
cmd.CommandText = "UPDATE Manufactor SET ,factor_Size="
+company.manufactorfloor_get ()+ " WHERE player_ID='"+
this.Session["playerID"].ToString()+"'";//,Finished_Product="+
this.company.fnsdprod_get () + ",Finished_Product_Space="+this.company
..machine_out_put_get ()+ ",Machine_Num="+ this.company.machinenum_get
()
this.oleDbDataAdapterManufactor .UpdateCommand =cmd;
this.lerrorlable .Text =this.oleDbDataAdapterManufactor .Update
(this.dsManufactor1).ToString ();
this.oleDbConnection1 .Close ();
Hi
I have a problem with a dataset. Im trying to update the database but
it doesn't updating the database
this.oleDbConnection1 .Open ();
OleDbCommand cmd = new OleDbCommand ("",this.oleDbConnection1);
cmd.CommandText = "UPDATE Manufactor SET ,factor_Size="
+company.manufactorfloor_get ()+ " WHERE player_ID='"+
this.Session["playerID"].ToString()+"'";//,Finished_Product="+
this.company.fnsdprod_get () + ",Finished_Product_Space="+this.company
..machine_out_put_get ()+ ",Machine_Num="+ this.company.machinenum_get
()
this.oleDbDataAdapterManufactor .UpdateCommand =cmd;
this.lerrorlable .Text =this.oleDbDataAdapterManufactor .Update
(this.dsManufactor1).ToString ();
this.oleDbConnection1 .Close ();