How to bind the data in accordian.i want to create a accordian items dynamicaly and add controls dynamically in server side events.
like this
SqlConnection sqlConn = new SqlConnection("Data Source=AICS\\SQLEXPRESS;Initial Catalog=ACTP;Integrated Security=True");
SqlCommand sqlSelect = new SqlCommand("select [CatName] from [Category] ", sqlConn);
sqlSelect.CommandType = System.Data.CommandType.Text;
SqlDataAdapter sqlAdapter = new SqlDataAdapter(sqlSelect);
DataSet myDataset = new DataSet();
sqlAdapter.Fill(myDataset);
Accordion1.DataSource = myDataset.Tables[0].DefaultView;
Accordion1.DataBind();