Field Binding

  • View
    356

  • Download
    0

Embed Size (px)

Transcript

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    1

    . FieldBinding

    1. Microsoft Visual Basic 2008 (

    Microsoft Visual Basic 2008 Express Edition

    2. !"

    File >>> New Project ('O! Ctrl + N # $%$)

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    2

    3. !" # #$ # ( New Project ) %'% (

    )*+ New Project '(O Windows Form Application !

    , Name ! Field Binding # >>> OK

    4. )* Form 1. vb ( Solution Explorer )

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    3

    5. +

    Data Sources # Add New Data Sources

    6. # Add New Data Sources ()*+ Data Source

    Configuration Wizard ! Database # Next

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    4

    7. + Data Source Configuration Wizard New

    Connection b&' Add Connection ! +

    8. Add Connection '( Change

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    5

    9. Od("d Change f!' Change Data Source Microsoft

    Access Database File ( OK ! +

    10. # OK ( )* Add Connection (O Browse Od'f.( )(%! K$)(%!# OK

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    6

    11. ) Next

    12. Next !)*+MNO # Yes

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    7

    13. ))*+ NO # Next

    14. ! Views # ' qry student )

    studentCode, prefixItem, firstname, lastname, fullname Finish

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    8

    15. ) Data Source ! sthdentCode, prefixItem,

    firstname, lastname, fullname M()*+NO

    16. ) , )*KX!$)* , ! Properties ! Text \ ]M^, #, ,, , * , a %

  • !"#$! 51282792022 %& $ '"( ) &! *+,-$(

    9

    17. ! Textbox ( #%, ) !

    Properties >>> ReadOnly ! \ True NO

    18. ` O F12

    Start Debugging '%% NO