dal dl = new dal();
DataSet ds = new DataSet();
string query = "SELECT [emp_id],[emp_role_id],[emp_name],[email] ,[contact] FROM [tb_employee]";
ds = dl.fetchrecord(query);
if (ds.Tables[0].Rows.Count > 0)
{
foreach (DataRow item in ds.Tables[0].Rows)
{
checkedListBox1.Items.Add(item["emp_name"].ToString());
}
}