Advertisement
arlendafitranto

Form3

Nov 7th, 2024 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
VB.NET 0.65 KB | Source Code | 0 0
  1. Public Class Form3
  2.     Private uktValue As Integer
  3.  
  4.  
  5.     Private Sub Form3_Load(sender As Object, e As EventArgs) Handles MyBase.Load
  6.         ' Tampilkan UKT di Label atau TextBox
  7.         'lblUKT.Text = "Rp " & uktValue.ToString("N0")
  8.         Dim query As String = "SELECT * FROM jurusan"
  9.         LoadDataToDataGridView(query, DataGridView1)
  10.     End Sub
  11.     Private Sub btnBatal_Click(sender As Object, e As EventArgs) Handles btnBatal.Click
  12.         Application.Exit()
  13.     End Sub
  14.  
  15.     Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
  16.         lblUKT.Text = "Rp " & UktTerpilih.ToString("N0")
  17.     End Sub
  18.  
  19.  
  20. End Class
  21.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement