Click here to Skip to main content
15,897,032 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralPerformance Question Pin
programmervb.netc++3-Apr-08 15:37
programmervb.netc++3-Apr-08 15:37 
GeneralRe: Performance Question Pin
kaddim3-Apr-08 16:21
kaddim3-Apr-08 16:21 
GeneralRe: Performance Question Pin
programmervb.netc++3-Apr-08 19:54
programmervb.netc++3-Apr-08 19:54 
GeneralRe: Performance Question Pin
darkelv3-Apr-08 20:38
darkelv3-Apr-08 20:38 
QuestionAuto select item in listbox when someone types in textbox Pin
Member 19022153-Apr-08 5:50
Member 19022153-Apr-08 5:50 
GeneralRe: Auto select item in listbox when someone types in textbox Pin
jzonthemtn3-Apr-08 14:59
jzonthemtn3-Apr-08 14:59 
GeneralRe: Auto select item in listbox when someone types in textbox Pin
Member 19022155-Apr-08 10:57
Member 19022155-Apr-08 10:57 
GeneralDelete row from Datagirdview Pin
yetrus3-Apr-08 4:52
yetrus3-Apr-08 4:52 
Hi There

This is my first post, I need help
I've a Datagridview filling from tbx and combobox, I want to put a Checkbox in each row (I don't how) so I want to delete a row checked from the datagridview
Please help, I very rookie

I'm doing this...


 Public DRow As DataRow<br />
    Public Carrito As New DataTable("Detalle")<br />
<br />
Sub Configuratabla()<br />
        Dim DC0 As New DataColumn("Item", System.Type.GetType("System.Int64"))<br />
        Dim DC1 As New DataColumn("Cantidad", System.Type.GetType("System.Int64"))<br />
        Dim DC2 As New DataColumn("Detalle", System.Type.GetType("System.String"))<br />
        Dim DC3 As New DataColumn("Valor", System.Type.GetType("System.Int64"))<br />
        Dim DC4 As New DataColumn("Descuento", System.Type.GetType("System.Int64"))<br />
        Dim DC5 As New DataColumn("Total", System.Type.GetType("System.Int64"))<br />
<br />
        'DC4.Expression = "cantidad * Valor "<br />
        With Carrito.Columns<br />
            .Add(DC0)<br />
            .Add(DC1)<br />
            .Add(DC2)<br />
            .Add(DC3)<br />
            .Add(DC4)<br />
            .Add(DC5)<br />
<br />
        End With<br />
<br />
        GrillaDetalle.DataSource = Carrito<br />
<br />
    End Sub<br />
<br />
 <br />
<br />
   DRow = Carrito.NewRow()<br />
            DRow(0) = Carrito.Rows.Count + 1         'Item<br />
            DRow(1) = CInt(TbxCan.Text)              'Cantidad<br />
            DRow(2) = CbxPro.SelectedItem     'Detalle<br />
            DRow(3) = Valor1<br />
            DRow(4) = CbxDes.SelectedItem 'Descuento<br />
            DRow(5) = (CInt(TbxCan.Text)<br />
            Carrito.Rows.Add(DRow)


D'Oh! | :doh:
GeneralRe: Delete row from Datagirdview Pin
ilprincipe3-Apr-08 23:13
ilprincipe3-Apr-08 23:13 
GeneralRe: Delete row from Datagirdview Pin
MBCDC5-Apr-08 0:21
MBCDC5-Apr-08 0:21 
QuestionHow to prevent multiple user login using one account in VB Pin
kingascona3-Apr-08 4:45
professionalkingascona3-Apr-08 4:45 
GeneralRe: How to prevent multiple user login using one account in VB Pin
Dave Kreskowiak3-Apr-08 5:30
mveDave Kreskowiak3-Apr-08 5:30 
QuestionCan we search column in MS access (or in Excel) table with the header which contains spaces? [modified] Pin
ATC3-Apr-08 4:07
ATC3-Apr-08 4:07 
AnswerRe: Can we search column in MS access (or in Excel) table with the header which contains spaces? Pin
Dave Kreskowiak3-Apr-08 5:25
mveDave Kreskowiak3-Apr-08 5:25 
GeneralRe: Can we search column in MS access (or in Excel) table with the header which contains spaces? Pin
ATC3-Apr-08 8:14
ATC3-Apr-08 8:14 
Generalretrieving data from database into a combo box on VB form!!! Pin
jayalom3-Apr-08 3:50
jayalom3-Apr-08 3:50 
GeneralRe: retrieving data from database into a combo box on VB form!!! Pin
Kschuler3-Apr-08 5:08
Kschuler3-Apr-08 5:08 
GeneralRe: retrieving data from database into a combo box on VB form!!! Pin
Dave Kreskowiak3-Apr-08 5:09
mveDave Kreskowiak3-Apr-08 5:09 
Generalword macro Pin
ritu43213-Apr-08 0:10
ritu43213-Apr-08 0:10 
Questionhow to encrypt the connectionstring tag and other tag wen needed in the appconfig file Pin
lakshmichawala3-Apr-08 0:08
lakshmichawala3-Apr-08 0:08 
AnswerRe: how to encrypt the connectionstring tag and other tag wen needed in the appconfig file Pin
Dave Kreskowiak3-Apr-08 3:44
mveDave Kreskowiak3-Apr-08 3:44 
Generalread parallel port and start timer Pin
ashutosh1433422-Apr-08 23:31
ashutosh1433422-Apr-08 23:31 
GeneralRe: read parallel port and start timer Pin
Dave Kreskowiak3-Apr-08 3:38
mveDave Kreskowiak3-Apr-08 3:38 
GeneralSending Mail from VB Pin
aaraaayen2-Apr-08 20:51
aaraaayen2-Apr-08 20:51 
GeneralRe: Sending Mail from VB Pin
Dave Kreskowiak3-Apr-08 3:32
mveDave Kreskowiak3-Apr-08 3:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.