ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

datagridview¸Ìcheckbox¨Ï¥Î

datagridview¸Ìcheckbox¨Ï¥Î

¤j®a¦n,§Ú¬O·s¤â
§Ú¦bdatagridview²Ä¤@­ÓÄæ¦ì¥[¤J¤@­Ó¨S¦³³s±µ¨ì¸ê®Æ®wªºcheckbox,user¤Ä¿ï®É,·QÅý¸Ó¦æ(row)ÅܶÀ¦â,¨ú®ø¤Ä¿ï®É,·QÅý¸Ó¦æ(row)ÅÜ¥Õ¦â,
¸ê®Æ®w¦WºÙ¬°DbTest,checkbox¦WºÙ¬°chk_1, §Ú¦bDbTestDataGridView.CellClick¨Æ¥ó¸Ì
Private Sub DbTestDataGridView_CellClick(sender As Object, e As DataGridViewCellEventArgs) Handles DbTestDataGridView.CellClick
        If DbTestDataGridView.CurrentRow.Cells(0).Value = True Then
                 DbTestDataGridView.CurrentRow.DefaultCellStyle.BackColor = Color.Yellow
        Else
                DbTestDataGridView.CurrentRow.DefaultCellStyle.BackColor = Color.White
        End If
       Me.RebateCategoryDataGridView.Show()
    End Sub

1.¦b¦P¤@µ§(row)¥´¤Ä©Î¨ú®ø¥´¤Ä³£¨S²£¥ÍÅܤÆ
2.¤Á´«¤£¦Pµ§(row)¥´¤Ä®É·|µo¥Í¥´¤Ä®ÉÅÜ¥Õ¦â,¨ú®ø¥´¤Ä®ÉÅܶÀ¦â

³Â·ÐÀ°¦£,ÁÂÁÂ

¤j®a¦n,§Ú¬O·s¤â
§Ú¦bdatagridview²Ä¤@­ÓÄæ¦ì¥[¤J¤@­Ó¨S¦³³s±µ¨ì¸ê®Æ®wªºcheckbox,user¤Ä¿ï®É,·QÅý¸Ó¦æ(ro ...
alung168 µoªí©ó 2015-12-1 16:54

sorry ³o¦æ Me.RebateCategoryDataGridView.Show() ¥´¿ù¸Ó§ï¬°Me.DbtestDataGridView.Show()

TOP

        ÀR«ä¦Û¦b : «H¤ß¡B¼Ý¤O¡B«i®ð¤TªÌ¨ã³Æ¡A«h¤Ñ¤U¨S¦³°µ¤£¦¨ªº¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD