asp.net - How do I get the value of a gridview Cell? -


how can value of gridview cell? have been trying code below no luck.

protected void grvexpirations_rowdatabound(object sender, gridviewroweventargs e) {   int test = convert.toint32(e.row.cells[5].text; } 

 protected void grvexpirations_rowdatabound(object sender, gridviewroweventargs e)    {       if (e.row.rowtype == datacontrolrowtype.datarow)      {        int test = convert.toint32(e.row.cells[5].text);       }    } 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -