What are some good guidelines to follow when deciding whether or not to databind a control (for example, bind a combobox to a List)?
Are there situations where you should always or never databind a combobox?
How do you decide?
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.
I measure it by how much manipulation of the data and its presentation I will be doing.
If it’s light manipulation I’ll just bind it, or at most do OnRowDataBound.
If I’m extensivelty maipulating the data, I’ll spit it to a DataTable, manipulate it and Databind.
I always eventually databind() however.