• Register
0 votes
27 views

Problem:

Is there any way to solve this? > Executereader: connection property has not been initialized.
85.5k points

Please log in or register to answer this question.

1 Answer

0 votes

Answer:

Use this and pass connection object :

 SqlCommand cmd=new SqlCommand ("insert into time(project,iteration)values('"+this .name1 .SelectedValue +"','"+this .iteration .SelectedValue +"')",conn);

 

83.8k points