SQL Server INFORMATION_SCHEMA Query

Posted On // Leave a Comment
seperti syntaxnya, INFORMATION_SCHEMA pada SQL Server berfungsi untuk menampilkan skema & informasi (properties) dari suatu table, kolom, views dll. Berikut adalah contoh syntax dan tampilannya:

SELECT *
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_CATALOG = 'ADMS3'



SELECT
*
FROM
INFORMATION_SCHEMA.COLUMNS
WHERE
TABLE_CATALOG = 'ADMS3'
AND TABLE_NAME = 'uniAlokasi'




SELECT
*
FROM
INFORMATION_SCHEMA.ROUTINES



SELECT
*
FROM
INFORMATION_SCHEMA.parameters

Jadikan iPhone Anda Mouse & Keyboard Wireless

Posted On // Leave a Comment
TouchMouse adalah aplikasi buatan Logitech yang berfungsi untuk menjadikan iPhone atau iPod Touch anda menjadi wireless Mouse (trackpad) dan keyboard pada komputer Anda.

Oke, kita mulai!



  1. Yang Anda butuhkan adalah seperangkat alat sholat  iPhone atau iPod Touch dan komputer / PC yang mempunyai fasilitas wifi.
  2. Download Logitech Touch Mouse Server disini
  3. Pilih sistem operasi komputer yang anda gunakan dan file yang akan di download (yang saya pakai 32bit) 
  4. Setelah selesai download lalu install dan jalankan program Logitech Touche Mouse Server pada komputer Anda. (Start > All Programs > Logitech Touch Mouse Server > Logitech Touch Mouse)
  5. Jika instalasi berhasil, maka akan muncul icon seperti gambar berikut pada system tray (kanan bawah)
  6. Download dan install aplikasi TouchMouse melalui  iPhone atau iPod Touch yang Anda miliki disini.
  7. Buka aplikasi TouchMouse pada iPhone Anda.
  8. Pilih nama komputer yang sebelumnya telah anda install Logitech Touche Mouse Server  atau masukan IP address komputer tersebut..
  9. dan iPhone anda sekarang berubah menjadi mouse wireless. 
Selamat mencoba dan semoga bermanfaat

Lowongan Pekerjaan Honda

Posted On // Leave a Comment
DEALER RESMI MOBIL HONDA
membutuhkan karyawan untuk ditepmatkan di  Pondok Pinang & Kalimalang Sebagai:


Management Trainee (MT) / Sales Executive (SE) 
• Pria/Wanita, usia <= 28
• Kendaraan sendiri
• Walk-in interview 27 Juni 2011 Jam 10:00-12:00




Staff Administrasi (ADM)
• Pria / Wanita usia max 30
• Min D3,Menguasai Pembukuan
Via POS ke Pondok Pinang



HONDA KALIMALANG

  • Jl. Raya Kalimalang No. 18
  • Jakarta Timur 13440
  • 021 - 862 8888

klik disini untuk melihat peta Honda Kalimalang


HONDA PONDOK PINANG

  • Jl. Ciputat Raya No. 80
  • Jakarta Selatan 12310
  • 021 - 7581 8000
klik disini untuk melihat peta Honda Kalimalang

Change Devexpress Gridcontrol Font Size

Posted On // Leave a Comment
Some component devexpress properties are unable to change such as font type and size on GridControl, groupControl etc. So the only way to change it's properties is through the code. here's one line code





Public Sub New()
DevExpress.Utils.AppearanceObject.DefaultFont = New Font("Courier New", 10)
InitializeComponent()
End Sub

hide devexpress lookup column

Posted On // Leave a Comment
I try to use SQLServer Stored Procedure to load DataTable into DevExpress LookupEdit. Here's the syntax:

Dim dtTipe As New DataTable

        With _SqlCommand

            .CommandText = "mstTipe_SELECT_id_Nama_WHERE_Merek_Honda"

            .Parameters.Clear()

            _SQLReader = .ExecuteReader

        End With

        dtTipe.Load(_SQLReader)

        With lookupTipe

            .Properties.DataSource = dtTipe

            .Properties.ValueMember = "Nama"

            .Properties.DisplayMember = "Nama"

            .Properties.PopupWidth = 250

        End With

        _SQLReader.Close()


the result of syntax above is:












The problem is, I want to hide the "ID" column because user don't care about it.

Here's the two lines addition code to hide the "ID" column


  Dim dtTipe As New DataTable
        With _SqlCommand
            .CommandText = "mstTipe_SELECT_id_Nama_WHERE_Merek_Honda"
            .Parameters.Clear()
            _SQLReader = .ExecuteReader
        End With
        dtTipe.Load(_SQLReader)
        With lookupTipe
            .Properties.DataSource = dtTipe
            .Properties.PopulateColumns()
            .Properties.Columns("ID").Visible = False
            .Properties.ValueMember = "Nama"
            .Properties.DisplayMember = "Nama"
            .Properties.PopupWidth = 250
        End With
        _SQLReader.Close()













You can't hide the column before populate it. So, all you have to do is populate the colum then you can set visibility to false.