c# - Passing Double Quotes in asp.net -


my web app requires double quotes passed within dropdownlist listitem value property because few of database names begin numbers. possible?

i tried "\"123db\"" , getting error "this attribute name must followed equal..."

<asp:listitem value="123db">123db</asp:listitem> 

thanks

try this:

<asp:listitem value="&quot;123db&quot;">123db</asp:listitem> 

since't it's html get's rendered in end of day.

however, i advise not include quotes in value - value should programmatic string, , " not valid character in it.


Comments

Popular posts from this blog

html - Styling progress bar with inline style -

java - Oracle Sql developer error: could not install some modules -

How to use autoclose brackets in Jupyter notebook? -