asp.net - Get GridViewRow by DataKeyValue -
can gridviewrow given gridview datakey value?
i know can loop through rows , row, need know if there shortcut way find row.
for example, can find row if have rowindex. there similar way find row given gridview datakey value.
any regarding highly appreciated. in advance.
you can this
string str = gvlisting.datakeys[rowindex].values["yourdatakeyname"].tostring();
Comments
Post a Comment