Click here to Skip to main content
15,914,162 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralDeployment with SQL and CR Pin
Joey Picerno27-Apr-05 4:56
Joey Picerno27-Apr-05 4:56 
GeneralBrain Cramp... this should be simple, but I'm going nuts Pin
Mike the Red27-Apr-05 4:40
Mike the Red27-Apr-05 4:40 
GeneralRe: Brain Cramp... this should be simple, but I'm going nuts Pin
Len Miller27-Apr-05 5:38
Len Miller27-Apr-05 5:38 
GeneralRe: Brain Cramp... this should be simple, but I'm going nuts Pin
Mike the Red27-Apr-05 8:17
Mike the Red27-Apr-05 8:17 
GeneralRe: Brain Cramp... this should be simple, but I'm going nuts Pin
Len Miller27-Apr-05 10:34
Len Miller27-Apr-05 10:34 
GeneralRe: Brain Cramp... this should be simple, but I'm going nuts Pin
chrismerrill27-Apr-05 5:44
chrismerrill27-Apr-05 5:44 
GeneralI always reply in the wrong spot... Pin
Mike the Red27-Apr-05 8:14
Mike the Red27-Apr-05 8:14 
QuestionHow can I do calculations on the Data Grid (Run Time) Pin
Madni Abbasi27-Apr-05 4:23
Madni Abbasi27-Apr-05 4:23 
How to calculate the muliplication of 2 fields to next field
on the .NET data grid but run time? If I move up,down,left,right on the grid,it must calculate whenevere change takes place on the grid cell.
e.g There are 3 columns Units,Unit price and Total on the grid. I want to get Total = Units*UnitPrice. I have written some lines for this purpose under the CurrentCellChanged Event but its working in the same row. but I need If I edit the value of Units Column and go to Column other than these 3 by key down or key up.Its working for KeyRight and KeyLeft.

Here is the code that I have Written
dgOrderDetail is the Name of Data Grid.

Private Sub dgOrderDetail_CurrentCellChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles dgOrderDetail.CurrentCellChanged

If dgOrderDetail.CurrentRowIndex >= 0 Then

If Not IsDBNull(dgOrderDetail.Item(dgOrderDetail.CurrentRowIndex, 10)) And Not IsDBNull(dgOrderDetail.Item(dgOrderDetail.CurrentRowIndex, 11)) Then
dgOrderDetail.Item(dgOrderDetail.CurrentRowIndex, 12) = CInt(dgOrderDetail.Item(dgOrderDetail.CurrentRowIndex, 10)) * CInt(dgOrderDetail.Item(dgOrderDetail.CurrentRowIndex, 11))
End If

End If
I am much trapped in this probelm cuz I have to do it on urgent basis.
Plz help me in this regard



AnswerRe: How can I do calculations on the Data Grid (Run Time) Pin
rudy.net28-Apr-05 18:42
rudy.net28-Apr-05 18:42 
QuestionHow do i link a powerpoint show to VB.Net Pin
Court198727-Apr-05 0:44
Court198727-Apr-05 0:44 
Questionhow to design word document dynamically? Pin
Anonymous27-Apr-05 0:29
Anonymous27-Apr-05 0:29 
GeneralDeleting a DataGrid row ?! Pin
toxcct26-Apr-05 20:33
toxcct26-Apr-05 20:33 
GeneralRe: Deleting a DataGrid row ?! Pin
genius12326-Apr-05 23:37
genius12326-Apr-05 23:37 
GeneralRe: Deleting a DataGrid row ?! Pin
toxcct27-Apr-05 1:51
toxcct27-Apr-05 1:51 
GeneralRe: Deleting a DataGrid row ?! Pin
genius12327-Apr-05 18:42
genius12327-Apr-05 18:42 
QuestionHow to Install a Windows Service Pin
Mahesh167926-Apr-05 18:02
Mahesh167926-Apr-05 18:02 
AnswerRe: How to Install a Windows Service Pin
Het210926-Apr-05 20:01
Het210926-Apr-05 20:01 
GeneralRe: How to Install a Windows Service Pin
Anonymous26-Apr-05 20:16
Anonymous26-Apr-05 20:16 
GeneralRe: How to Install a Windows Service Pin
Sebastien Lachance27-Apr-05 6:54
Sebastien Lachance27-Apr-05 6:54 
Generaldebug c dll from vb .net Pin
nina80226-Apr-05 12:28
nina80226-Apr-05 12:28 
GeneralRe: debug c dll from vb .net Pin
rwestgraham26-Apr-05 13:31
rwestgraham26-Apr-05 13:31 
QuestionHow to add AutoUpdate feature in VB.net Apllication Pin
Arvind200426-Apr-05 9:36
Arvind200426-Apr-05 9:36 
AnswerRe: How to add AutoUpdate feature in VB.net Apllication Pin
Dennis C. Dietrich26-Apr-05 10:05
Dennis C. Dietrich26-Apr-05 10:05 
AnswerRe: How to add AutoUpdate feature in VB.net Apllication Pin
Guillermo Rivero26-Apr-05 10:20
Guillermo Rivero26-Apr-05 10:20 
GeneralNon visible window capture Pin
Member 42240426-Apr-05 9:26
Member 42240426-Apr-05 9:26 

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.