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 & "')"
dt = GetmyTable(strSQL)
Rc = dt.Rows(0).Item("EntryNo")
please guild me
thanks