Hi everyone,
I'm kindda new in working with DB.
As you could guess, pretty soon I found myself working with datagridview <-> DB.
After googeling a little, I see there are few different methods to perform the databinding - bind the datagridview object directly (in its properties), coding SQL connection and adapter, define a stored procedure in the DB, and so on.
Even I guess they all might result the same, I would appreciate if someone could help and settle my mind, putting some order, in regards to the differences as well as pros/cons between these methods.
Moreover, as a rookie, I need to connect to SQL server and Oracle DB (we have at work the both of them). What method whould be recommended for me?
Many thanks in advanced.
Loading
Or CohenPosted Jan 31, 2012, 2:37 AM
Sam HobbsPosted Jan 27, 2012, 1:37 AM
Yes, there are many ways and sometimes people recommnd whatever they are familiar with but someone else might recommend something different. I think Microsoft would recommend using a Typed Dataset but most members in this community are more familoiar with use of ADO .Net more directly. The newer version of Typed Datasets is called Entity Framework.
You should read some of the articles in this web site and it would also help to read some relevant books. I suggest looking for articles and books about Entity Framework.