c# - how to bind select tag to database and use selectvalue of that in asp.net -


i have select tag bind database this:

dplpages.datavaluefield = "id"; dplpages.datatextfield = "title"; dplpages.datasource = dt; dplpages.databind(); 

and select tag:

<select id="dplpages" name="dplpages" runat="server"></select> 

now! want use select tag selected value haven't id , both of value , text title! can solve it?


Comments

Popular posts from this blog

sql - Time in datatime field -

javascript - How to split the success output from an Ajax post? -

java - sharing object across different classes -