You'll be binding thenConrad11 said:Basically, i want to go about it in the easiest way.
I dont think i will be doing any binding. I think i will have to code the results into controls, cause i want to use things like tree views controls etc.
Thanks.
TrUz said:TreeView is not a data bound control. Well you can data bind the Tag and that is it. You will need to manually code your TreeView.
TrUz
Try splitting (normalising) the table down. This will make the database more logical, easier to maintain and should speed it up (as the database will be looking at less information - unless you are always bringing back the whole row).There is a big table which makes the bulk of the database and i want to make querying from this as efficient as i can as this table will have roughtly 100K records each 1KB.
If you are just going to read the data, use a data reader (very fast.... but any changes made will not go through to the database). If you want to update the database, then use a data adaptor.What shoud and how should i be reading the data. Put it in datatabbles, sets, readers? (I am new to ADO.NET and havent a clue).
Always keep related data together.The users table needs to be able to access over the network, whereas the other tables can be local. Should i split it into two different databases and have the users database on the network and the other local?
If you are just reading the data, then open it, read the data, and close it as soon as you can. This is especially important for access which doesnt like too many connections to be open to it at once. For data adaptors im not 100% sure of the situation - maybe someone else can helpI also wanted to know when was the appropriate times to open and close the connections, currently i am not doing that at all, do you have to open and close the connections?
Hope that helps![]()
Always keep related data together.
Try splitting (normalising) the table down. This will make the database more logical, easier to maintain and should speed it up (as the database will be looking at less information - unless you are always bringing back the whole row).
If you are just reading the data, then open it, read the data, and close it as soon as you can. This is especially important for access which doesnt like too many connections to be open to it at once. For data adaptors im not 100% sure of the situation - maybe someone else can help![]()