Jun 24, 2011, 9:10 AM
How can I get the value of the field
It's my code .
Please Help me . It's urgent for me ~~~Thks
protected void btnSubmit_Click(object sender, EventArgs e)
{
Store records = GridPanel1.GetStore();//get the store of the GridPanel1
ReaderCollection rc= records.Reader;//get records in the store
int i= rc.Count;
DataReader dr = rc[0];//get the first record
RecordFieldCollection rfc= dr.Fields;//get the fields in the record
i = rfc.Count;
RecordField rf = rfc[1];//get the 1st field
rf.Mapping = rf.Name; //now ,How to get the value of the field.
}
Now I can't get the value of the field. I think I have got the record with data.I check out the API ,BUt I can't find any method to use .Please Help me . It's urgent for me ~~~Thks
Last edited by geoffrey.mcgill; Jun 24, 2011 at 4:37 PM.
Reason: please use [CODE] tags