Hey there!
I need your help. Just small fixing. Im brand-new to C#.
I got the email from gmail account - look at the data (bold):
Name: xxxx
Surname: xxxx
Email: xxxx
Description:Card A6
Order:true // no data --- It should be : Order: Images/order_names/faithcard.jpg
Code behind (C#):
msg += "Name: " + txtName.Text; //correct
msg += "<br>Surname: " + txtSurname.Text; //correct
msg += "<br>Email: " + txtEmail.Text; //correct
msg += "<br>Description:" + description.Value; // correct
msg += "<br>Order:" + [B]group1[/B].Visible;// Error. replace something with Visible??
I have put runat="server" in optgroup tag instead of select tag - it is working because there is no displaying compile error
Markup:
<select name="order" multiple="multiple" size="12" style="width:330px;" id="dlist1" onchange="swapImage1()">
<optgroup label="Sow Seeds of Love" [B]id="group1" runat="server"[/B]>
<option selected="selected" value="Images/NoneImage.gif">None</option>
<option data-card="32.00" data-memo="62.00" data-tags1="1.80" data-tags4="8.50" data-key="30.00" data-fridge="40.00" data-flower_sachet="----" value="Images/Order_names/SowSeeds/Faith01_yellow.jpg">Faith</option>
</optgroup>
What must I replay with Visible to display data (Order: Images/order_names/faithcard.jpg)?