Quantcast
Channel: Web Forms
Viewing all articles
Browse latest Browse all 23244

Message is not binding after Download file

$
0
0

Hi,

After Download file i want display Success Message and bind gridview data.No Error Message.But After Download does not bind gridview and label Message.

I have attached My code below.Give me any solution.

lblError.Text = "File Uploaded Successfully."

gvUtilityQuery.DataSource = dtUQ
gvUtilityQuery.DataBind()

With Response

.ContentType = "application/octet-stream"
.AppendHeader("Content-Disposition", "attachment;filename=" & strFileName & "")
.TransmitFile(strUploadedFilePath)
.End()
End With

lblError.Text = "File Uploaded Successfully."


Viewing all articles
Browse latest Browse all 23244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>