Which property on a Combo Box do you set with a column name,
prior to setting the DataSource, to display data in the
combo box?
Answer Posted / tauseef ahmad
DataTextField and DataValueField
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What are the advantages and disadvantages of Using Cookies?
How to sign out from forms authentication?
What is difference between singleton and single call?
What is asp net theme?
Define managed code and managed data in .net?
What are the different types of cookies in asp.net?
Will the asp.net validators run in server side or client side?
Explain the Session state management options available with ASP.NET?
Hello, Using Visual Studio 2005 (VB) I am working to create a Web Site implementing the following: Within a gridView I have placed a dropdownlist control with a DataSourceID="SDSLkupList". SDSLkupList is a sqlDataSource used to store a lookup list for dropdownlist translation from ID to text. SDSLkupList contains the translation text and other fields related to the dropdown selection ID. (Thought it would be efficient to get everything at the same time.) I would like to provide the user the ability to select from the dropdownlist and, based on the selection, use labels to list related columns stored on the SDSLkupList in separate gridView columns. I have read that SqlDataSources are not meant to be used for individual controls. Since SDSLkupList contains all related information, is there a way to do a find using the dropdownlist selectedValue? (I was not able to discover one.) Otherwise, what should I use? It would need to set the labels on the gridView DataRowBound event as well as the SelectedIndexChanged events. Has anyone done this? Any help would be appreciated. Thanks in Advance. Neal
Where sessions are stored?
What are the uses of list view control in Asp.net?
Explain the use of dataadapter.
What is data control in asp.net?
Which method do you use to enforce garbage collection in .net?
What is the behavior of a Web browser when it receives an invalid element?