Jump to content

refresh dataset or datareader


raviprakashg
 Share

Recommended Posts

when i add a new record the datagrid should show the new one also
For this to happen you must call the set of code used to initially populate the datagrid.Say you have a function to populate the datagrid. Populate(). when the new record is inserted then after doing the database insertion again call Populate() and your grid will show all the records including the latest inserted one.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...