Ok, I'm trying to make a .net application which is very simple. The idea is that it starts with some opening arguments which tell it:
1. Which db to open (the path)
2. What query to use to get data
3. What table it is to read from
So, what this means is that I need to actually change all the datasources and everything programmatically at run time.
I'm actually very new to .net, altho I have programmed in vb for about 7 months. The reason I'm doing this in .net is because vb6 doesn't have some features which my boss wants in the program.
Anyways, I have no idea how to do this in .net, and I've been trying to figure it out all day. It's very easy in vb6, I just set the datasource property. The best I can determine is that in order to do this I need to use a bindingnavigator control and a datagrid control.
Does anyone know how to do this through code only?