On clicking 'edit' button in grid view, it should auto populate the FileUploadControl textbox with the path name (of the image stored in db of type varbinary'
I tried the following statement, but it throws error.
FileUploadControl.PostedFile.FileName = (byte[])dsModuleDetails.Tables[0].Rows[0]["InvoiceFile"];