0
的價值,這是我所嘗試,但我M代表JOB_NAME獲取一個GridView列的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;
越來越空job_Name
是null
。
我米得到錯誤「」上變種指數= Convert.ToInt32(e.CommandArgument);「輸入字符串的不正確的格式。」 –
@WajidAliKhan - 你使用哪個**命令名? –
iCommandName =「ApplicantShortList」,我用它不是Rowcommand –