0
でGridViewの列の値を取得するこれは私が試してみましたが、私はjob_Name
がnull
あるJOB_NAMEはrowcommand
GridViewRow row = (GridViewRow)(((Button)e.CommandSource).NamingContainer);
int RowIndex = row.RowIndex; // this find the index of row
string job_Name = row.Cells[1].Text;
にnullを取得mのものです。
私はエラーを取得M '' は、入力文字列が正しい形式ではありませんでした。 '' VAR指数= Convert.ToInt32(e.CommandArgument)に。 –
@WajidAliKhan - どちらのコマンド名**を使用していますか? –
iCommandName = "ApplicantShortList"と私はそれをRowcommandではない –