0
HI friend,
gvChecklist.DataKeys[e.Row.RowIndex].Values[1].ToString()
I have doubt on this statement. Did you set the
Datakeys property of your grid in designer?? if you have already set it then make sure. .it should have two fields in comma separated form cause you have use value[1]. means here you are attempting to access the second indexed value from datakey collection.
if you are using only one field as datakey then use Value[0].
Thanks..
Accepted 0
Sure, no prob. I have mark it as accepted answer:D
0
Becky, Now i'm looking to you to mark my post as answer.. if you do believe in favor back.. :))
0
Thanks. It works like a charm:)I am grateful to u guys!Cheers!