Click here to Skip to main content
15,917,473 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralUsing ActiveX controls at runtime ! Pin
TopGunPk13-Aug-04 12:03
TopGunPk13-Aug-04 12:03 
GeneralConnect to MySQL Pin
cdesouza13-Aug-04 10:45
cdesouza13-Aug-04 10:45 
GeneralRe: Connect to MySQL Pin
Mekong River14-Aug-04 4:19
Mekong River14-Aug-04 4:19 
GeneralRe: Connect to MySQL Pin
cdesouza17-Aug-04 10:22
cdesouza17-Aug-04 10:22 
QuestionHow can I do this? Pin
Lisana13-Aug-04 10:44
Lisana13-Aug-04 10:44 
AnswerRe: How can I do this? Pin
Syed Abdul Khader16-Aug-04 0:09
Syed Abdul Khader16-Aug-04 0:09 
Questionhow can I change to select variable instead of slectedRow? Pin
Lisana13-Aug-04 8:30
Lisana13-Aug-04 8:30 
AnswerRe: how can I change to select variable instead of slectedRow? Pin
S Sansanwal15-Aug-04 17:30
S Sansanwal15-Aug-04 17:30 
Change function as
Public Function GetSelectedRows(ByVal dg As DataGrid) As System.Collections.ArrayList
Dim al As New ArrayList
Dim cm As CurrencyManager = Me.BindingContext(dg.DataSource, dg.DataMember)
Dim dv As DataView = CType(cm.List, DataView)
Dim idCol As Integer
idCol = 2
Dim i As Integer
For i = 0 To dv.Count - 1
If dg.IsSelected(i) Then
al.Add(dg.Item(i, idCol))
End If
Next
Return al

End Function

Assign idCol the Index of entity_id column. I have used 2 for sample



Sanjay Sansanwal
www.sansanwal.com
GeneralRe: how can I change to select variable instead of slectedRow? Pin
Lisana16-Aug-04 2:57
Lisana16-Aug-04 2:57 
Generalvb.net Pin
sm_knc13-Aug-04 8:09
sm_knc13-Aug-04 8:09 
GeneralRe: vb.net Pin
Anonymous13-Aug-04 8:19
Anonymous13-Aug-04 8:19 
GeneralRe: vb.net Pin
Dave Kreskowiak13-Aug-04 9:11
mveDave Kreskowiak13-Aug-04 9:11 
GeneralDouble Click Event on ListView Pin
viettho13-Aug-04 6:58
viettho13-Aug-04 6:58 
GeneralRe: Double Click Event on ListView Pin
S Sansanwal15-Aug-04 18:03
S Sansanwal15-Aug-04 18:03 
GeneralVB script help needed.. Pin
Anonymous13-Aug-04 3:29
Anonymous13-Aug-04 3:29 
GeneralRe: VB script help needed.. Pin
Dave Kreskowiak13-Aug-04 8:33
mveDave Kreskowiak13-Aug-04 8:33 
GeneralAccessing DB Connection string from remote server Pin
rajanv13-Aug-04 2:22
rajanv13-Aug-04 2:22 
GeneralRe: Accessing DB Connection string from remote server Pin
Dave Kreskowiak13-Aug-04 8:24
mveDave Kreskowiak13-Aug-04 8:24 
GeneralModify Registry with vb.net Pin
sybux200012-Aug-04 22:08
sybux200012-Aug-04 22:08 
GeneralRe: Modify Registry with vb.net Pin
Dave Kreskowiak13-Aug-04 8:22
mveDave Kreskowiak13-Aug-04 8:22 
Generalhelp! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols12-Aug-04 21:53
isnapols12-Aug-04 21:53 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
sybux200013-Aug-04 2:04
sybux200013-Aug-04 2:04 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols15-Aug-04 14:13
isnapols15-Aug-04 14:13 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
Dave Kreskowiak15-Aug-04 15:47
mveDave Kreskowiak15-Aug-04 15:47 
GeneralRe: help! error: BC30389: 'C' is not accessible in this context because it is 'Private' Pin
isnapols15-Aug-04 17:44
isnapols15-Aug-04 17:44 

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.