I have one text box control on aspx page in my .net application.
and in code behind on page load event i wrote:
txt.Text = "Sample"
Now if build website on system [ windows XP ] it build properly but on system [ Windows 7 Enterprise ] it showing following error:
" Name 'txt' is not declared "
What would be the reason.Is that environment specific problem.I am using VS 2008.
had issues similar to this before, usually caused by the designer not updating after adding new control to the page. to fix i would recommend
think it should work now.