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.
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...
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...
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";
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.