hi guys..

i just wonder how to refresh when using data gridview,i mean direct refresh coz i've to close program/stop debug and debuging again to refresh it.

I didn't get which way of data access you are using ? Direct or Indirect ?
If you are using indirect, try this.
Write the code for filling the grid in one separate function, and after closing the connection, call the function once. It will work just as refreshing....

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.