[問題] ASP.net下拉選單的問題
我現在要用下拉選單顯示
<asp:DropDownList id="Ship" Width="100px" runat="Server">
<asp:ListItem Text="郵寄" Value="Mail"/>
<asp:ListItem Text="快遞" Value="UPS"/>
<asp:ListItem Text="自取" Value="Self"/>
</asp:DropDownList>
希望選的時候網頁會顯示一個表格
內容就是 郵寄 快遞 自取(看選哪一個)
我用<%Ship.SelectedItem.Text%>的方式
但是卻出現"屬性的存取必須是指定值給屬性或使用屬性值"的錯誤
請問應該怎麼解決
THANKS^^
--
Google
封條▎███████████████████
ˍˍˍˍˍˍ ˍˍˍˍ
|Google搜尋| |好手氣|
所有網頁  ̄ ̄ ̄ ̄ ̄ ̄  ̄ ̄ ̄ ̄
1. http://www.deltactn.com/Seal/seals.htm
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 220.136.53.49
推
08/14 19:31, , 1F
08/14 19:31, 1F
→
08/14 19:46, , 2F
08/14 19:46, 2F
→
08/14 20:53, , 3F
08/14 20:53, 3F
→
08/14 20:54, , 4F
08/14 20:54, 4F
→
08/14 20:54, , 5F
08/14 20:54, 5F
→
08/15 13:40, , 6F
08/15 13:40, 6F