I just started playing around with ASP.NET about an hour ago. I have a WebForm with a label and a dropdown list box. When i run it the label shows on the page but not the dropdown. Why is this?
There is no code yet. I just dragged the dropdown list control from the tool bar to the webform and ran it (pressed F5). I also tried it with two items in the items collection. No luck.
Just to make sure, right click your form from the solution explorer and select "view Code"
Even if you haven't written any code, VS.NET has done it for you. Maybe there is a problem there or a problem in your HTML code.
Check them both out and/or post them here so we can help you better.
Happy coding! Daren J. Lahey Just another computer guy...
Sometimes when you install VS .NET the dll LibMysql.dll does not get registered properly. Try re-registering this dll, then running your forms again. Hopefully your controls will then be visible!
"To repair IIS mappings for ASP.NET, you can run the Aspnet_regiis.exe utility by following the steps below.
Click Start, and then click Run.
Type cmd and click OK.
At the command prompt, type "\WINNT\Microsoft.NET\Framework\v1.0.3705\aspnet_regiis.exe" -i and click OK."
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.