2
Answers

Non static field C# error connection string

Goran Bibic

Goran Bibic

5y
1.1k
1
Have error when start app in conn string input on form
 
I use string from class  "ConnectionClass"
 
 
  1. string con = ConnectionClass.PullData(godinaComboBox.Text); 
 
  1. Error   CS0236  A field initializer cannot reference the non-static field, method, or property 'login.godinaComboBox'    
 
Answers (2)