Hi,
I have the following error in my sql satatement:
Incorrect syntax near the keyword 'where',
my code is;
strSql=strSql.format("Update tblSales where SalesId={0} values('{1}','{2}','(3)')",ddlSalesID.selecteditem.value,txtSales.text,txtDate.text,txtEmployeeId.text)
Is there an obvious error?
Cheers Rich
I have the following error in my sql satatement:
Incorrect syntax near the keyword 'where',
my code is;
strSql=strSql.format("Update tblSales where SalesId={0} values('{1}','{2}','(3)')",ddlSalesID.selecteditem.value,txtSales.text,txtDate.text,txtEmployeeId.text)
Is there an obvious error?
Cheers Rich