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
Post a Comment