Click here to Skip to main content
16,006,452 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Windows Service Pin
Dave Kreskowiak8-Apr-05 4:51
mveDave Kreskowiak8-Apr-05 4:51 
GeneralRe: Windows Service Pin
H@is@here8-Apr-05 5:24
H@is@here8-Apr-05 5:24 
GeneralRe: Windows Service Pin
Dave Kreskowiak8-Apr-05 8:53
mveDave Kreskowiak8-Apr-05 8:53 
GeneralRe: Windows Service Pin
H@is@here8-Apr-05 10:55
H@is@here8-Apr-05 10:55 
GeneralDeleting a row in a datatable Pin
Martin@captivasystems8-Apr-05 4:19
Martin@captivasystems8-Apr-05 4:19 
GeneralRe: Deleting a row in a datatable Pin
vertig07308-Apr-05 4:30
vertig07308-Apr-05 4:30 
GeneralRe: Deleting a row in a datatable Pin
vertig07308-Apr-05 4:31
vertig07308-Apr-05 4:31 
GeneralRe: Deleting a row in a datatable Pin
Martin@captivasystems8-Apr-05 5:30
Martin@captivasystems8-Apr-05 5:30 
I wasn't able to replicate your example, I never worked with the binding manager. Below is what I did. Is there a more efficint way?

Dim row As DataRow
Dim i As Int16 = 0
Dim ar As ArrayList = New ArrayList()
For Each row In Table1.Rows
If (row("Name") = "Adam") Then
ar.Add(i) 'add the index of the row to be deleted
End If
i = i + 1
Next
Dim index As Int16
For index = 0 To ar.Count - 1
Table1.Rows.RemoveAt(ar.Item(index))
Next

datagrid1.SetDataBinding(Table1, Nothing)
datagrid1.RetrieveStructure()
GeneralRe: Deleting a row in a datatable Pin
Guillermo Rivero8-Apr-05 6:00
Guillermo Rivero8-Apr-05 6:00 
GeneralRe: Deleting a row in a datatable Pin
Martin@captivasystems8-Apr-05 8:30
Martin@captivasystems8-Apr-05 8:30 
GeneralRe: Deleting a row in a datatable Pin
Martin@captivasystems9-Apr-05 3:49
Martin@captivasystems9-Apr-05 3:49 
General2 problems with MS Access Pin
vertig07308-Apr-05 3:12
vertig07308-Apr-05 3:12 
GeneralRe: 2 problems with MS Access Pin
Dave Kreskowiak8-Apr-05 4:03
mveDave Kreskowiak8-Apr-05 4:03 
GeneralRe: 2 problems with MS Access Pin
vertig07308-Apr-05 4:18
vertig07308-Apr-05 4:18 
GeneralSql Server Service in Win98 Pin
| Muhammad Waqas Butt |8-Apr-05 2:22
professional| Muhammad Waqas Butt |8-Apr-05 2:22 
GeneralRe: Sql Server Service in Win98 Pin
Dave Kreskowiak8-Apr-05 4:08
mveDave Kreskowiak8-Apr-05 4:08 
GeneralRe: Sql Server Service in Win98 Pin
Anonymous9-Apr-05 8:59
Anonymous9-Apr-05 8:59 
GeneralRe: Sql Server Service in Win98 Pin
Dave Kreskowiak9-Apr-05 10:01
mveDave Kreskowiak9-Apr-05 10:01 
GeneralGrid To Grid And then Backto DB Pin
| Muhammad Waqas Butt |8-Apr-05 2:03
professional| Muhammad Waqas Butt |8-Apr-05 2:03 
GeneralWrite to Stream Pin
nitin_ion7-Apr-05 22:56
nitin_ion7-Apr-05 22:56 
GeneralRe: Write to Stream Pin
Dave Kreskowiak8-Apr-05 3:43
mveDave Kreskowiak8-Apr-05 3:43 
GeneralRe: Write to Stream Pin
nitin_ion8-Apr-05 18:09
nitin_ion8-Apr-05 18:09 
GeneralRe: Write to Stream Pin
Dave Kreskowiak9-Apr-05 10:15
mveDave Kreskowiak9-Apr-05 10:15 
GeneralGot stuck with a problem!!! Pin
Mahesh16797-Apr-05 22:10
Mahesh16797-Apr-05 22:10 
GeneralRe: Got stuck with a problem!!! Pin
Dave Kreskowiak8-Apr-05 3:24
mveDave Kreskowiak8-Apr-05 3:24 

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.