in my application, i have created a data environment. Then i have connected a data grid to that data environment. Now my problem is when i add or delete one or more records, then the database updates itself...but the datagrid doesnt....it doesnt update until i run the application again... :(
how do i update or refresh the datagrid?
please help me if anyone has got a solution to this problem...

what connction are you using??
if adodc then just refresh the adodc then the grid itself would refresh..
if adodb then reload the database to the grid..

Did you ever find out the answer to this? I am having the same problem. Refreshing an ADODC wouldn't fix it, because it's not connected to an ADODC (at least in my case), just a dataenvironment.

Any Help would be great. Thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.