ismailc 0 Newbie Poster

Good , I need help.

I have a blank aspx page where I want to add a drop down down from a sql database and get selection of dropdwon value.

Coding in Notepad & not in Visual Studio

I tried this example http://www.webconcerns.co.uk/asp/combo/combo.asp that uses javscript but it connect to an access db.

How can I in a notepad edited aspx page

1. connect to a sql db

2. Create & populate a dropdown

3. textbox to show selected dropdown value.

This is all I have in the page:

<%@ Control Language="c#" AutoEventWireup="True" Codebehind="MainMenu.ascx.cs" Inherits="FlowCentric.Net.Navigator.MainMenu" TargetSchema="http://schemas.microsoft.com/intellisense/ie5" %>
<%@ Register Assembly="Infragistics2.WebUI.UltraWebNavigator.v8.1, Version=8.1.20081.1000, Culture=neutral, PublicKeyToken=7dd5c3163f2cd0cb" Namespace="Infragistics.WebUI.UltraWebNavigator" TagPrefix="ignav" %>
<meta name="vs_snapToGrid" content="False">


<asp:DropDownList id="DropDownList1" runat="server"></asp:DropDownList>

Please Help