Query Error = Incorrect sentence in ')'
Hi , members this code show error in vb.net 2008 If Con.State = 1 Then Con.Close() Con.Open() Dim strSQL As String Dim dt As DataTable strSQL = "select count(EntryNo) from(Select distinct(EntryNo) from Cash where year(Cash.PmtDat)= '" & yyyy & "')"
__________________
VB.NET
domain name forum
|