Adding Database Source

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • romcab
    New Member
    • Sep 2007
    • 108

    Adding Database Source

    Hi guys,

    I know this question of mine is very simple but I'm a newbie in ADO.net so I hope you dont mind. I was able to create and add a database to my simple application using Data -> Add New Data Source. Doing this steps creates codes automatically for me and that is my problem right now. I got confused since the tutorial I read does not show this steps instead, it manually add a database. My question right now is what is the best way my application to a database. If it's manual, can you please teach me the steps?

    Thanks..
  • nev
    Contributor
    • Oct 2007
    • 251

    #2
    Originally posted by romcab
    Hi guys,

    I know this question of mine is very simple but I'm a newbie in ADO.net so I hope you dont mind. I was able to create and add a database to my simple application using Data -> Add New Data Source. Doing this steps creates codes automatically for me and that is my problem right now. I got confused since the tutorial I read does not show this steps instead, it manually add a database. My question right now is what is the best way my application to a database. If it's manual, can you please teach me the steps?

    Thanks..
    using manual or auto depends on your preference. i generally use the auto and use manual sometimes.

    for what you have already done, the code can be found in that form's load event. you can alter it if you like. the next steps would be to view your datasources pane on the right and drag-drop the tables/fields into your form. everything is automated. you can also change the control of the fields in the datasources pane if ever you need the field to be displayed as a combobox, checkbox or whatever. you will have to try it out to know the feel of auto.

    Comment

    Working...