Search results for query: *

  1. NiceGirl13

    WPF error "the connectionString property has not been initialized"

    I found the error, it was becuase i used an old name (before con now SQLconnectionString), xElement.FirstChild.Attributes[2].Value = SQLconnectionString; it was before xElement.FirstChild.Attributes[2].Value =con; and it should add the string in: xElement.FirstChild.Attributes[2].Value where i...
  2. NiceGirl13

    WPF error "the connectionString property has not been initialized"

    Hello Juggalobrotha, thanks for editing the code! well the reason that i want to store it in the app.config is becuase i want the connectionstring to be used in serveral windows, and only define the connectionstring ones. I was one method on doing it.
  3. NiceGirl13

    WPF error "the connectionString property has not been initialized"

    I have created a WPF project, where a user can insert the Servername in a textbox, and the connection should be saved in the app.config (in Runtime), ones that is done the data from a DB table should be loaded in the datagrid. When i press the connect button (after inserted the servername in the...
  4. NiceGirl13

    Question WPF SQL Connection Dialog

    Hello everyone I have started project where i want the user to be able to connect to a SQL server themselves. The reason for this is that the tables might/hopefully be moved from a test server to production server. however the tables names are static, meaning that the connection dialog should...
Back
Top Bottom