Datagrid paging-c# windows application
-
Hi to everybody I have DB as dat file.I've paging concept works fine.Problem is when i delete or edit or add records, it is showing the first page on data grid( if i have 50 records-per page 20).I need if the record no 45 is updated OR deleted it has to show the current page i.e., 3rd page.I have not used connection string.Plz help me thanks in advance.:)
-
Hi to everybody I have DB as dat file.I've paging concept works fine.Problem is when i delete or edit or add records, it is showing the first page on data grid( if i have 50 records-per page 20).I need if the record no 45 is updated OR deleted it has to show the current page i.e., 3rd page.I have not used connection string.Plz help me thanks in advance.:)
-
Hi, As per my understanding after every edit or add you must be binding your grid somewhere and i think you are not setting its current page index... Hope it will work... Thanks
~Anuj~