In my page, if i refer
using System.windows.forms;
using System.web.webcontrols…..
Textbox ambiguos refernece error is occured from webcontrols and forms,
how can i rectify this error… but i need those two namespaces in my asp.net page.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Let me first say that I find it a bit odd that you need to reference System.Windows.Forms in an ASP.NET project.
As already posted by ondesertverge, you can fully qualify your types. You can create aliases for the namespaces to save some typing: