Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
0 Points
5 Posts
May 25, 2012 11:54 PM|LINK
Hi everyone
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) { /*Business Logic*/ while (rr >= 0) { /*Business Logic*/ if (rr == -1) break; /*Business Logic*/ Response.Write(sqlString + "<br/>"); /*Business Logic*/ Response.Flush(); /*Business Logic*/ } /// <summary> /// Here I Want All previous responses to be cleared from page /// </summary> /*Business Logic*/ }
thfrfx
0 Points
5 Posts
Response.Write Help!
May 25, 2012 11:54 PM|LINK
Hi everyone
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) { /*Business Logic*/ while (rr >= 0) { /*Business Logic*/ if (rr == -1) break; /*Business Logic*/ Response.Write(sqlString + "<br/>"); /*Business Logic*/ Response.Flush(); /*Business Logic*/ } /// <summary> /// Here I Want All previous responses to be cleared from page /// </summary> /*Business Logic*/ }