Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.
One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.
<asp:DropDownList ID="ddlProducts" runat="server" DataSourceID="AccessDataSourceProducts" DataTextField="ProductName" DataValueField="ProductID" AppendDataBoundItems="True" Width="302px" TabIndex="9019" > <asp:ListItem Text="" Value="" /> </asp:DropDownList>
If e.Row.RowType = DataControlRowType.DataRow Then Dim cmd As New OleDb.OleDbCommand("SELECT DISTINCT * FROM [Products] ORDER BY ProductName ", con) Dim ddlProducts As DropDownList = CType(e.Row.FindControl("ddlProducts"), DropDownList) Dim da As New OleDbDataAdapter(cmd) Dim ds As New DataSet() da.Fill(ds) ddlProducts.DataTextField = ds.Tables(0).Columns("ProductName").ToString() ddlProducts.DataValueField = ds.Tables(0).Columns("ProductID").ToString() ddlProducts.DataSource = ds.Tables(0) ddlProducts.DataBind() ds.Dispose() End If
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.