[Mono-list] asp:DropDownList not working (not populating)

Carl Olsen carl at carl-olsen.com
Sun Oct 23 21:02:32 EDT 2005


Try this:

 

<%@ Import namespace="System" %>
<%@ Import Namespace="System.Data" %>
<%@ Import Namespace="ByteFX.Data.MySqlClient" %>
<%@ Import Namespace="System.Security.Cryptography" %>
<%@ Import Namespace="System.Configuration" %>
<%@ Assembly name="ByteFX.Data" %>
<%@ Page Language="C#" %>

<HTML>
<HEAD>Test</HTML>
<body>
<form id="x" runat="server">
<P>
<asp:DropDownList id="ddlBufferType" runat="server">
               <asp:ListItem value="0">N</asp:ListItem>
               <asp:ListItem value="1">B</asp:ListItem>
               <asp:ListItem value="2">C</asp:ListItem>
</asp:DropDownList>
</P>
</form>
</body>
</html>

<script runat="server">

</script>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20051023/d2ed0ba4/attachment-0001.html


More information about the Mono-list mailing list