Before I ask my question, I will give a little background. I am an experienced developer in a 4GL (which you have probably never heard of). Within this environment there are 2 key features (which are important now)
1) The user is free to choose the SQL server/database they wish to connect to at run time.
2) The development environment is integrated with the SQL backend, so that all tables/fields are available for dragging and dropping in the development environment.
I am starting a C# database application project, and I am finding that it is difficult to replicate this kind of environment in C# (Visual C#).
1) It is possible to soft code the database details (have the user select them), but then most of the drag-and-drop type tools for database access are not available.
2) Visual C# does have tools (drag-and-drop type) to make accessing data easier, but it seems to use these, I have to define the connection at design time.
Is there some way I can have the best of both worlds in C#? User definable connections and easy development? None of the books I have been reading even hint that this might be possible. Maybe I have been reading the wrong books...
Thanks.
1) The user is free to choose the SQL server/database they wish to connect to at run time.
2) The development environment is integrated with the SQL backend, so that all tables/fields are available for dragging and dropping in the development environment.
I am starting a C# database application project, and I am finding that it is difficult to replicate this kind of environment in C# (Visual C#).
1) It is possible to soft code the database details (have the user select them), but then most of the drag-and-drop type tools for database access are not available.
2) Visual C# does have tools (drag-and-drop type) to make accessing data easier, but it seems to use these, I have to define the connection at design time.
Is there some way I can have the best of both worlds in C#? User definable connections and easy development? None of the books I have been reading even hint that this might be possible. Maybe I have been reading the wrong books...
Thanks.