Visual Basic .NET » Windows Forms
HTML controls and Webform controls -- Prem --


Hi,
How can I get the value selected from a HTML dropdown control using C#
code, so that I can pass the value to store it in a database. I am programming a web application using ASP and C#. Using a webform dropdown is said to be using more memory than a HTML control, thus slowing the webpage. Is this correct?

-- Cerebrus --


Use a Web Server Dropdownlist control instead. It does use slightly more resources than the simple HTML Dropdown, but since you need to access it programmatically, you have no choice. Anyway the difference in performance is very slight, and is far outweighed by the myriad advantages.

-- Raj --


It would not be a huge performance issue if you user ....

Raj

[Submit Comment]Home