Friday 24 August 2012

"Error Solving Code technique for Dataset and gridview."


In immediate Window

Dataset:
  ?ds.Tables[0].Rows[0].ItemArray[1]            ==> Returned Column value (ItemArray[1] use for Column)
  ?ds.tables.count                                            ==>  Numbers of Table
  ?ds.tables[0].rows.count                               ==> Rows Count.

GridView
  ? gridview1.rows.count                                 ==> Rows Count
  ? gridview1.Rows[0].Cells[1].Text                 ==> (Cells[1] use for Column)




Note
shift+f9  ==> Quick Watch(for value)

No comments:

Post a Comment