i done this coding but i cant find that what is the mistake....
==>two listbox ==> lst_leftstar and lst_rightstar
items pass from lst_leftstar to lst_rightstar
and
coding for ==>> lst_rightstar values store in database.
==>> 2 tables
==> <1> starmaster
starid
star
==>> <2> profile star
profilestar
starid
xml query is perfect written
but problem is in the coding..
my code is :=
protected void btnsumit_partner_details_Click(object sender, EventArgs e)
{
DataTable dt = new DataTable();
dt.Columns.Add("Star_Id");
for (int i = 0; i < lst_rightstar.Items.Count; i++)
{
dt.Rows.Add("");
dt.Rows[i]["Star_Name"] = lst_rightstar.Items[i].Value;
}
clsregisterinfo.Dtstd = dt;
clsregisterinfo.insert_data();
}
==> my problm is here.
that when id debug i see that...for loop isn't worked..
means...when i trace the code...i cant enter in for loop..
and vales pass null in class file.