HI ,
i want to know how to create a class which has an INSERT method for several forms.
for example: i have 3 forms , FORM1,FORM2 FORM3.
FORM1 has 3 textboxes.
FORM2 has 7 textboxes .
FORM3 has 20 textboxes.
Each textbox contrl has datas with differen datatypes.i want to create a common class with INSERT method which inserts data in different table for its corresponding calls made by every forms.
i had already done this task but seperate INSERT methods for individual forms.
now if i try to user a common insert method for the 3 form with diff contrls and datatypes, i cant get a clear idea to accomplish this task.
can anybody give me solution.
thanks
kssk
i want to know how to create a class which has an INSERT method for several forms.
for example: i have 3 forms , FORM1,FORM2 FORM3.
FORM1 has 3 textboxes.
FORM2 has 7 textboxes .
FORM3 has 20 textboxes.
Each textbox contrl has datas with differen datatypes.i want to create a common class with INSERT method which inserts data in different table for its corresponding calls made by every forms.
i had already done this task but seperate INSERT methods for individual forms.
now if i try to user a common insert method for the 3 form with diff contrls and datatypes, i cant get a clear idea to accomplish this task.
can anybody give me solution.
thanks
kssk