Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
May 25, 2012 11:54 PM|LINK
I have a simple web application. I'll share more deatils if necessary.
Right now I have a small problem needs help.
I'm using Visual Studio 2010 and SQL Server 2008
I have a method that connects to data base does some work details are irrelevant.
I'm using Response.Write(); and Response.Flush(); to see status Because that method works as a loop and it is it take over 100 minutes to be completed
here is the question How can I remove somthing writen by Response.Write(); after Response.Flush();
my sample codes are below
Thanks in Andvance
protected void Button1_Click(object sender, EventArgs e)
while (rr >= 0)
if (rr == -1)
Response.Write(sqlString + "<br/>");
/// Here I Want All previous responses to be cleared from page