i'm working in visual basic.
i want to dispaly the records in a datagrid control who's
data source is adodc.i want to display the records for a particular date.
i.e. if the date which i accept from the user exists,then for that
particular date all the records must be displayed.
my problem is when i run my form all the records are displayed.
the records ,which are in my access database table.
so i set the following properties,
Adodc1.CommandT ype = adCmdText
Adodc1.RecordSo urce = "select * from invoice where Datein=" & Val(txtdate.Tex t)
Adodc1.Refresh
DataGrid1.Refre sh
even then the above code doesn't work.
how do i refresh datagrid control??
i want to dispaly the records in a datagrid control who's
data source is adodc.i want to display the records for a particular date.
i.e. if the date which i accept from the user exists,then for that
particular date all the records must be displayed.
my problem is when i run my form all the records are displayed.
the records ,which are in my access database table.
so i set the following properties,
Adodc1.CommandT ype = adCmdText
Adodc1.RecordSo urce = "select * from invoice where Datein=" & Val(txtdate.Tex t)
Adodc1.Refresh
DataGrid1.Refre sh
even then the above code doesn't work.
how do i refresh datagrid control??
Comment