Hi,
Kindly help me to find solution for below query.
My webpage has file upload control, upload button and save button in the aspx page.
<asp:FileUpload ID="fileUpldEUCDispForm" runat="server" Width="280px" title="Only pdf is allowed" />
<asp:ImageButton ID="btnUpload2" runat="server" ImageUrl="~/Pages/Images/upload.png"
OnClick="btnUpload2_Click" /><gridview...../><asp:Button ID="btnSave" runat="server" Text="Save" Width="100px" OnClick="btnSave_Click" />
User can select a file using fileupload control and clicks upload button. When the user clicks the upload button the file selected is added to the datatable in code-behind.
protected void btnUpload2_Click(object sender, ImageClickEventArgs e)
{
if (f ...
Go to the complete details ...