Hi,
VB.net 2010, Windows 7
I need to filter records according date Range from mysql table. I tried to use following command.
Public DtRpt As New DataTable("DTReport")
DtRpt = Nothing
DtRpt = GetDataFromTable("SELECT * FROM tblTransaction WHERE TransDate BETWEEN '" & DTPFrom.Value & "' AND '" & DTPTO.Value & "';")
DGViewMaster.DataSource = DtRpt
Program Running. No errors coming. But not viewing Records.
Please tell me what is the Problem?
VB.net 2010, Windows 7
I need to filter records according date Range from mysql table. I tried to use following command.
Public DtRpt As New DataTable("DTReport")
DtRpt = Nothing
DtRpt = GetDataFromTable("SELECT * FROM tblTransaction WHERE TransDate BETWEEN '" & DTPFrom.Value & "' AND '" & DTPTO.Value & "';")
DGViewMaster.DataSource = DtRpt
Program Running. No errors coming. But not viewing Records.
Please tell me what is the Problem?