asp.net - Setting selectedvalue for a dropdownlist in GridView -


I have a dropdown list in Gridview and I am compiling a data source in Gridview.

Although all record dropdown prices are not selected properly displayed

I have a dropdown list in Gridview in ASP.net

& Lt;% # bind ("Country")% & gt; How to set it up

Thank you

You can hook up to the Grid view in the Route DataAbout event, Get control and set price.

  Secure Zero GridView_RowData Bound (Object Sender, GridViewViewArg E) {var Dropdown List = E.RO. Drop Controll ("YOUR_DROP_DOWN") as dropdown list; drop down list. Selected index = SET_VALUE_HERE; }  

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

php - Multiple Select with Explode: only returns the word "Array" -

jquery - SimpleModal Confirm fails to submit form -