Click here to Skip to main content
15,919,423 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
how i can refresh datagridview when my record entered???
Posted

You can use the SQlNotification technique for this ...... and it works both in ASP .NET as well as the GUI part of C# ..... so search for it and apply it in your app
 
Share this answer
 
after creating your record then create a new method like
void bind()
{
//here write the sql connection code and bind your record to datagridview

}
page_load(object o,eventargs e)
{
if(!Ispostback)
{
bind();
}
}
 
Share this answer
 
This will work in web applications

GridView.DataBind();
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900