ExecuteReader: Connection property has not been initialized.
my coding is
protected void Button2_Click(object sender,
you have to assign connection to your command object, like..
SqlCommand cmd=new SqlCommand ("insert into time(project,iteration)values('"+this .name1 .SelectedValue +"','"+this .iteration .SelectedValue +"')"); cmd.Connection = conn;