VS 2005 - APLICATION: how to add a row in datagrid

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nerurmon
    New Member
    • Jan 2008
    • 13

    VS 2005 - APLICATION: how to add a row in datagrid

    I have few control and one datagridview in a form. I want to add a row in the datagridview which will contain the text of controls. If i click a button then those text will enter in datagridview by one row. The and then again new row. how can i do this
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    Use the datagridview's .Rows.Add() function.

    It's all explained in MSDN as well.

    Comment

    Working...