add a row in datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vijeberal
    New Member
    • Mar 2008
    • 9

    add a row in datagrid

    i want to add a row in datagrid...supp ose i have one button to add a row in datagrid the row consist of textboxex and other fields... my idea is to add a new record in database instantly ...by clicking the add button the datagrid shows a new row which consists of blank txtboxes.. by filling up those textboxes i have another button to add those records to database .... please help me as early as possible and please provide the solution step by step .. i am a novice in dotnet so,,,,,,,
  • dip_developer
    Recognized Expert Contributor
    • Aug 2006
    • 648

    #2
    Originally posted by vijeberal
    i want to add a row in datagrid...supp ose i have one button to add a row in datagrid the row consist of textboxex and other fields... my idea is to add a new record in database instantly ...by clicking the add button the datagrid shows a new row which consists of blank txtboxes.. by filling up those textboxes i have another button to add those records to database .... please help me as early as possible and please provide the solution step by step .. i am a novice in dotnet so,,,,,,,




    Comment

    • vijeberal
      New Member
      • Mar 2008
      • 9

      #3
      Thanks.. thanks for the examples... it really helped me... i got a new problem....can u give me your mail such that i can mail you or make a cha t with u..its upto you.. TIA

      Comment

      • vijeberal
        New Member
        • Mar 2008
        • 9

        #4
        Thanks sir .. for ur help.. now i got a new challenge... Its also gridview related.. suppose i have some template columns and all columns hav textboxes .. now during page_load i am filling up these textboxes and making them enabled=true lastly an empty row will always be there to add new data ..... suppose an user clicks in an existing row it will open for EDIT or if its an empty row it will open for NEW ENTRY after loosing focus the data will go for submission please help. TIA

        Comment

        Working...