What is the problem whit this Command ?
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 ?
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

mikerRank #2,843 · 502 pointsPosted Jan 3, 2005, 2:32 AM EST