1
Answer

what is the problem whit this Command ?

runer

runer

20y
1.7k
1
cmd.CommandText="UPDATE CompTav SET "+ @"TeorBohen='"+RbTeorBohen.Text +"' "+ @"TechName='"+tbTech.Text +"' "+ @"TipolDate='"+dt1.ToShortDateString()+"' "+ @"TipolStartHour='"+dt2.ToShortTimeString()+"' "+ @"Statos='"+CbStatos.Text +", "+ "where CartisNum=" +lbCartisNum.Text; why this command dont work ?
Answers (1)