Hi,
you can use any data control from basic asp.net controls
you can see list of data controls in toolbox like..datalist,reapeter,gridview...
And write code to display data in selectedindexchanged event
http://msdn.microsoft.com/en-us/library/cc295567.aspx
In the above link you can see details about data controls
<form id="form1" runat="server">
<div>
<br />
<asp:TextBox ID="TextBox1" runat="server"><br />
<asp:DataList ID="DataList1" runat="server" onitemcommand="DataList1_ItemCommand" Width ="60%"
>
<HeaderTemplate >
<table width="100%" align="center">
<tr>
<td>List of Items</td>
</tr>
</HeaderTemplate>
<itemtemplate>
<tr>
<td>
<asp:LinkButton ID="LinkButton1" runat="server" CommandName ="show" CommandArgument ="3"> <asp:Label ID="Label1" runat="server" Text=' <%#Container.DataItem %>'>
</td>
</tr>
</itemtemplate>
<footertemplate>
</footertemplate></table>
</div>
</form>
And code behind file contains following code
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
List<string> str = new List<string>();
str.Add("frstitem");
str.Add("secnditem");
str.Add("ghgfh");
str.Add("frstitem");
str.Add("secnditem");
str.Add("ghgfh");
str.Add("frstitem");
str.Add("secnditem");
str.Add("ghgfh");
DataList1.DataSource = str;
DataList1.DataBind();
}
}
protected void DataList1_ItemCommand(object source, DataListCommandEventArgs e)
{
if (e.CommandName == "show")
{
Label lbl = (Label)e.Item.FindControl("Label1");
TextBox1.Text = lbl.Text;
}
}
</string></string>
In the above example we can set database to datalist as per older method
All the Best