title: Adding A Row To An Empty GridView?
body: <p>I want to add a row inside an empty gridview, i tired the following code but no luck so far:</p>
  
  <pre><code>        GridViewRow oRow = new GridViewRow(0, 0, DataControlRowType.DataRow, DataControlRowState.Insert);
          TableCell oCell = new TableCell();
          oCell.Text = "XXX";
          oRow.Cells.Add(oCell);
          gvMemberShip.Controls.Add(oRow);
  </code></pre>
  
  <p>Note: i ran this code on Page_Load Event.</p>