when i write a name on tex box and click add the name stored in database successfully.
now in the grid i want to show all the names but after i add no name is seen on datagrid but if i add second time the first name appear on the datagrid and when i entery third entry the second name apperar
i use the following code
Expand|Select|Wrap|Line Numbers
- adodc1.recordset.requery
i also try to make a connection with the coding by this
Expand|Select|Wrap|Line Numbers
- dim rs as recordset
- rs.open "select name from customer",conn,adopenstatic,adlockoptimestic
- set datagrid1.datasource=rs
urgent help is need ,
while i am using ms access , before that i use sqlserver and successfully connect datagrid to database but ms access is not working properly