Hi all,
I am working on my semester project and I am stuck up little and need some help.
List Search is a AJAX control, I want to data bind it to Oracle. How can I do that. As far as I know List Search requires the data to be returned to it as array of strings. Now I am fetching the records from Oracle in a DataSet 'ds'. When I databind 'ds' to that List. It shows System.Data.DataRowView as the ListBox items. What should I do? The following are the code snippets I am using.
public
{
newCon.Open();
ds.DataSetName =
fetchRecord.Fill(ds);
newCon.Close();
}
Now, in OnLoad() I am calling this method and passing the variable containing the query.
protected
ListBox1.DataSource = ds;
ListBox1.DataBind();