C#:App: Creating common class containing INSERT method for many FORMS?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ssknov
    New Member
    • Dec 2007
    • 40

    C#:App: Creating common class containing INSERT method for many FORMS?

    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
    Last edited by ssknov; Jan 2 '08, 07:37 AM. Reason: typing error
Working...