Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. vixen925

    *simple* textbox databinding not working...

    Added 'customers' to the binding syntax, but now get the following error: 'Cannot create a child list for field customers' I'm totally baffled as to why a simple binding should be this difficult - but have no idea what I could be doing wrong.
  2. vixen925

    *simple* textbox databinding not working...

    Yes, My query is fine, it returns a single record, which is what I want. Anyone else know why the code aboce might not be working?
  3. vixen925

    *simple* textbox databinding not working...

    I simply *cannot* get this dang textbox to bind... below is my code, throwing the following error: An unhandled exception of type 'System.ArgumentException' occurred in system.windows.forms.dll Additional information: Cannot bind to property or column CUSTID on DataSource. Any idea what I...
  4. vixen925

    Connection, parameter management

    Awesome, thats working - new issue: I initialize the connection here, when the form loads public void Form1_Load(object sender, System.EventArgs e) { //Initialize DBLibrary, done only once DBLibrary aLib = new DBLibrary(); aLib.Connect(); if...
  5. vixen925

    Connection, parameter management

    Is this the proper format for the connection string? Could you please post an example of your string? private string m_ConnectionString = "Data Source=SERVER1;Initial Catalog=Database1;User Id=testuser;Password=testpassword";
  6. vixen925

    Sharing a SQL connection throughout app

    I need to keep the connection open... if i close it, the temp tables will be destroyed, and I need them throughout the application, across multiple calls to stored procedures, and while moving between different forms. In your main code sample, where do you put this code? Does it need to be in a...
  7. vixen925

    Sharing a SQL connection throughout app

    Hey all, I need to connect to my SQL server, and create some temporary tables. I need to be able to access these tables throughout the application, so where should I connect to the SQL server, and create these temp tables so that they are available throughout the application? I have several...

Part and Inventory Search

Back
Top