Author: keivan mousavi | Posted on: 1/22/2011 3:26:59 AM | Views : 381

Hi All
I want insert to DataBase ID record existent in the DropDownList But alway insert ID frist recodr


            SqlConnection con = new SqlConnection("Data Source=.;Initial Catalog=NewProject;Integrated Security=True");
            SqlCommand cmd = new SqlCommand();
            try
            {
                con.Open();
                cmd.Connection = con;
                cmd.CommandText = "Insert_News";
          ...

Go to the complete details ...