\[code\]SqlConnection cn = new SqlConnection(@"DataSource=dbedu.cs.vsb.cz\SQLDB;Persist Security Info=True;User ID=*****;Password=*******");SqlCommand cmd = new SqlCommand();string finish = DropDownListFi.SelectedValue;cn.Open();String Name = Request.QueryString["Name"];cmd.CommandText = "UPDATE navaznost_ukolu SET finish=@finish where Name='" + Name + "'";cmd.Parameters.Add(new SqlParameter("@finish", finish));cmd.ExecuteNonQuery();cmd.Clone();\[/code\]The error message\[quote\] Executenonquery connection property has not been initialized.\[/quote\]