protected void btnuploadimage_click(object sender, EventArgs e) { Button btngetpath = sender as Button; GridViewRow row = (GridViewRow)btngetpath.NamingContainer; FileUpload upctl = GridView1.Rows[row.RowIndex].Cells[5].FindControl("FileUpload4") as FileUpload; if (upctl.HasFile)//here it show no file in fileupload and it going out side loop { } }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)