I have made a generic class for making DataGrid Functionality(Load,Insert,Update,delete).
In one of the functions of the class ,tables name is to be passed. Table can be one or it can be 5 or so on. For this the number of args of the function should be dynamic.
If there s any way out here do let me know.