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=""123db"">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
Post a Comment