how to call form load event in c#.net
  • how to call form_load event i want to call this event on button click because i m using some calculation grid filling and textbox clear on form load and after save data on button click event i want to call form_load again what should code i use for it?
  • 3 Comments sorted by
  • 1) you should load grid after calculation to update value in grid not form . Its a correct way

    2) datagridview1.refresh is a method to refresh gird

    3) another way you create a fucntion which take query from other place like form button code behind then you make two button one for insert and one for gridload .

    if you have further query then feel free to ask
    for further details and related topics http://www.codecorner.somee.com/
  • Vote Up0Vote Down itworkeritworker
    38.50 Karma Accepted Answer
    use simple below code on button click or where you want to call form load.

    form_load(this,null);
  • thanks itworker  your code is working.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Tagged

Popular Posts of the Week

Top Posters Weekly

Optimum Creative