Results 1 to 2 of 2

Thread: Why we USe DataRow

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jan 2005
    Location
    Canada
    Posts
    141

    Angry Why we USe DataRow

    why we use DataRow when we enter data in Gird

    myRow = myTable.NewRow();
    myRow[colNum] = myValue;
    myTable.Rows.Add(myRow);

    We dont pick directly from DataGrid;

  2. #2
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Why we USe DataRow

    Because that table is the datagrid's datasource, so you'd obviously need to work with the datasource and then let the datagrid pick it up.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width