for(int k=0;k<array.count;k++)> { cn.Open(); cmd = new SqlCommand("insert into tbl values('"+array[k]+"')",cn); cmd.ExecuteNonQuery(); MessageBox.Show("inserted successfully!!!"); cn.Close(); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)