ExecuteReader: Connection property has not been initialized.
my coding is
protected void Button2_Click(object sender,
use this and pass connection object :
SqlCommand cmd=new SqlCommand ("insert into time(project,iteration)values('"+this .name1 .SelectedValue +"','"+this .iteration .SelectedValue +"')",conn);