Database VB NET & SQL

October 29, 2017 | Author: Amsi AyAnknya Titin Indriani | Category: N/A
Share Embed Donate


Short Description

Download Database VB NET & SQL...

Description

Database dengan SQL Server Compact Edition c c c

  c {endesain Database ’ c  c    c   c  c    c  c   c  c  c   cc  c  c   c  c  c c   c  c  c    c c  c  c  c   c c c c  c  c  c c  c c  c  c  c  c  c  c  c c c  c  c  c  c  cc yc ¦abel Barang

Nama Field

Data ¦ pe

Length

Primer Ke

 c

  c

c

’ c

  c

  c

c

c

c

 c

c

c

!  " c

 c

#$c

c

c c

  c {embuat Database c   c c  c %  c  c   c  c   c&  c cc    c   c    c '(c  c )  c * c  c   c c  c + c c,-cc(  .   c  c  c  cc #c  c %  c c   c  c Dindows Form Apllicationc  c c   c Form Penjualanc ,c  c Project rAdd New Item

c

c &  c %  c c  /c 0 c   c )  c Datac  c 1  Local Databasec  c c   c21 3  c cName

  c  c  c / c4  c,56c

5c   c c   cAddc

c

c Gambar 24. Jendela Add New Itemc c c &  c%  cData Source Configuration Dizardc c  c21 

3c  c c

DataSet name   c  c  c,c / cc 7c 1   c c   cFinishc

c Gambar 25. Jendela Data Source Configuration Wizard c

  c {embuat ¦abel Barang c  c  c %  c  c   c c c    c c  c  c

c   c  c c c c  c  c)   c  cc #c  c cÿiewrServer Explorerc c    c%  c  c*8  c   c  c  / cc c

c

c Gambar 26.Jendela Server Explorer c c ,c &  c%  c  c*8  c c  c  c¦ablesc c cCreate ¦ablesc c   c %  cNew ¦ablec c 0c  c c  c c  c % c1   c cc9 .9 c c    c  c  c Column Namec  c  c   c Data ¦ pec  c  % c    c c  cLengthc "  c  c  c  c   c   c Primar c  % c esc  c  c  c   c  c  c:c  c  c  c c   cOKc

c Gambar 27. Jendela New Table untuk TabelBarang c

  c {engkonfigurasi Data Source  c "  c  c  c   c   c  c  cDat c rShow Data Sourcesc &   c   c   c c  c

c;1 

DCF{cccccccccc     c E CCcccccccc F  c(0cH G  c c

c

*  

4

56

7

Je

c 8e 9

:;e

B ;!*C*c  c(0*cGc

@  c B   c

*(*)1c c  c c!  " cc @CFAc1   c >!*C*c c(0*cGc

@ !  c B  !  c

*(*)1c c  c c!  " cc @CFAc1   c >!*C*c!  " c(0*cGc

*(*)1cc c  c c!  " c @CFAcccc1   c H >!*C*c4 c(0*c &   6cFCcc @   c H B    c 4  c(0*c &   6cFCcc H 4 c(0*c &    6cFCc H 4!  " c(0*c &    6c = c 1   c

=&1*cc1   c H H H *1c  I ,c I c!  " I 5c H >!*C*c4 I #6c

+  c c B   c

*(*)1c cc @CFAc1   cc H >!*C*c4 c(0*c  6c

c c c c c

c

!  c c1   c  c  c  cc

c Gambar 45. Hasil Akhir pembuatan TabelAdapter c c yc {endesain Form Operasi

1   c   c@cF  c c 9c c   c  J c    c  c

c  c   c c

#c 1   c@c c c c&%  c ,c  c c  c  cc Komponen

Properties

@#c

c4  6cc@F  c41 8 6cc0 c c  c

B8#c

c4  6ccB c41 8 6cc c  c 41 c0 86cc#c

( #c

c4  6cc  c41 8 6cc c  c

( ,c

c4  6cc   c41 8 6cc  c  c

( c

c4  6cc c41 8 6cc c  c

( 5c

c4  6cc !  c41 8 6cc!  c" c

( c

c4  6cc Cc41 8 6ccCc

A  1 8 8#c

c4  6cc   c4 )00cF 6cc1 c 4A 6ccGGc4& c) 6cc. .c 41 c0 86cc#c

1 8 8#c

c4  6cc    c41 c0 86cc,c

A  1 8 8,c

c4  6cc   c4A 6cccc 4& c) 6cc. .c41 c0 86ccc

A  1 8 8c

c4  6cc!    c4A 6cccc 4& c) 6cc. .c41 c0 86cc5c



#c

c4  6cc   c41 8 6cc  c 41 c0 86ccc

c

c



,c

c4  6cc ! c41 8 6cc! c 41 c0 86cc7c



c

c4  6cc 1 c41 8 6cc1 c 41 c0 86ccEc



c4  6cc 0   c 4   6cc1  c

c

  c

c4  6cc 0   c 4   6cc 0   c 4 A  6cc1   c

1   c

4  6cc0   1   c

c

c Gambar 46. Desain Form Operasic c c

  c Script Form ¦ampil  c  c  c@c1  c c   c  c  ccc ë        

  ë              !" #$   $  !    $   !  !"     ë     %      !" #  %  $& "     ë   ' (%     !" #' (%  $  !    $   !  !"     ë     '%  

c

   !" #  '%   )  $ )   ' ("     ë   # %      !" ## %  *  + "   )    ,) -$!' &  !-   *  !.)   /  !.)    % !.)   # !0 .)   # )    )  $ )   ' ("   #   "     ë   1'%        !" #1'%   )  *  + "    ,) -$! '&  !-   *  ! )  $ )   ' ("     ë   *  + "  & * /( 2 ( ! -,- $   ! -*  !-  " & / /( 2 ( ! -,- $   ! -/  !-  " &  %/( 2 ( ! -,- $   ! - % !-  " & # ! /( 2 ( ! -,- $   ! -# !0 -  "  *  !&!* "   /  !& !/ "    % !&! %"   # !0 &!# !"     ë    %     !" # %   . /,  &  ) ,  ,  & %  )   ,   +3 4 -* -%  "" ' $  !   *    !  !  " +3 4 -/ -%  "" ' $  !   /    !   !  " +3 4 - %-%  "" ' $  !    %   !  !  " +3 4 -# !-%  "" ' $  !   # !   !  

c

! " +3 4 - -%  "" ' $  !   *     !  !  ""  +3$   ,) -*  -" ' $! ,-ë'%   - " +3  & %+!  %)$   !  !. (    +3%5)6" ' $! ,-&% %-  $! ,+3   -# - "  $! ,-&7-8$ ,  ,8 -9 %7- 8%  ! 8-9 '-$! ,+3   - -" +3  $ ,  ,) -- $   ,) -*  - $  )     ë     +,'!      !" #  +,'!  +3$ ,  ,5: --" '   )  +3    c

  c Script Form Operasi  c  c  c@c1  c c   c  c  ccc ë      & ;&   ë   %  !" $*  ! ,) -- $/  ! ,) -- $ % ! ,)6  $# !0  ,)6     ë              !" #$   $+  !    $+  !  !"     ë    %        !" # %  ;)$*  ! ,  
View more...

Comments

Copyright ©2017 KUPDF Inc.
SUPPORT KUPDF