Read Text Column GridViewRow Data
Posted on 2015-02-02
I am trying to read a GridView in c#. Till Cell(3), I am able to read the data. But, Cell shows empty, which is a text field contains date. This filed is Edit/Update field. Any idea, why I am not able get the data? Below is the code.
Thank you in advance!
string Id, Name, FNumber, FName, FValue;
foreach (GridViewRow Item in grdImportView.Rows)
PId = Item.Cells.Text;
PName = Item.Cells.Text;
FNumber = Item.Cells.Text;
FName = Item.Cells.Text;
FValue = Item.Cells.Text;