I am going through the Jump Start C# exercises from your class. I tried the connection in the help file but it did not work. I then followed the instructions in the help file to create a connection object on the form, create a connection string and paste it into the app.config file. I tested the connection and it was successful. I then pasted it into the app.config file. The resulting code is as follows:
add key="TotalControlSystem\Connection" value="User ID=;DSN=;Collating Sequence=MACHINE;Data Source=C:\DEVE\REQSNEW\TCDATA\TOTALCONTROL.DBC;Password=;Provider=VFPOLEDB.1;Cache Authentication=False;Mask Password=False;Mode=ReadWrite|Share Deny Write;Extended Properties=;Encrypt Password=False"
When I try to add a binding member to a text box on my form, I get an error message "keyword not supported 'dsn'. I tried removing that and it complained about 'collating sequence'. When I removed that, it complained about provider. I think there must be something else wrong besides invalid key words.
What should I try next?
Thanks for your help.
Linda Harmes
HiBit Technologies, Inc.