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

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -