<%@ Page Title="" Language="C#" MasterPageFile="~/InnerHome.Master" AutoEventWireup="true" CodeBehind="AutoCompletDemo.aspx.cs" Inherits="MOSS.AutoCompletDemo" %> <%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="asp" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"> <asp:ComboBox ID="ComboBox1" runat="server" AutoCompleteMode="SuggestAppend" CaseSensitive="false" > </asp:ComboBox> </asp:Content>
private void FillDdl() { DataTable dt = new DataTable(); dt = BLAutoComplete.getDdlDetails(); ComboBox1.DataSource = dt; ComboBox1.DataTextField = "CategoryName"; ComboBox1.DataValueField = "CategoryId"; ComboBox1.DataBind(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)