Hi,

Can anyone tell me why breakpoint is not hitting in my website. I am using visual studio 2005 and trying to write code in C# (asp.net 2.0).

Its a simple code to see whether breakpoint is work or not. I am just trying to print text entered in a textbox when i click on a button. when i run below code and click on button after entering the text in textbox it is displaying it on label instead of taking me to the line where i inserted the breakpoint!!

protected void Button1_Click(object sender, EventArgs e)
{
String mystring;
mystring = TextBox1.Text;
Label1.Text = mystring;
}

point to notice is that, when i tried writing C++ programs in the same VS2005, breakpoints worked fine without any problem.

Can anyone please tell me what i am doing wrong?

Thanks
Kkrish