No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
[code=vb]Dim c1 As New DataGridViewCheckBoxColumn() c1.HeaderCell.Style.Alignment = DataGridViewContentAlignment.MiddleCenter Me.dgvFilter.Columns.Add(c1) Dim ckBox As New CheckBox() 'Get the column header cell bounds Dim rect As Rectangle = Me.dgvFilter.GetCellDisplayRectangle(0, -1, True) 'Change the location of the CheckBox to make it stay on the header ckBox.Location = dgvFilter.GetCellDisplayRectangle(0, -1, True).Location ckBox.BackColor = Color.Transparent 'Add …
don't forget to set your prerequisite on project properties before you build your project and try this code below: Imports System.Data.OleDb Public Class Form1 Dim rpt As New CrystalReport1 Dim rpt1 As New CrystalReport2 Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load Dim path1 As String …
[code]Dim daKab As New SqlDataAdapter("SELECT p.nm_prop, b.kd_kab, b.nm_kab FROM tbKab b " & _ "INNER JOIN tbProp p ON p.kd_prop=b.kd_prop WHERE " & _ "nm_prop = '" & cbProp.Text & "'", conn) Dim dSet As DataSet Dim dView As DataView dSet = New DataSet daKab.Fill(dSet, "b") dView = New DataView(dSet.Tables("b")) …
The End.
di.arie