Click here to Skip to main content
15,905,323 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: open a program in a vb project interface Pin
Mekong River4-Jul-06 15:46
Mekong River4-Jul-06 15:46 
GeneralRe: open a program in a vb project interface Pin
szevy_suez4-Jul-06 15:52
szevy_suez4-Jul-06 15:52 
GeneralRe: open a program in a vb project interface Pin
Mekong River4-Jul-06 17:33
Mekong River4-Jul-06 17:33 
AnswerRe: open a program in a vb project interface Pin
Dave Kreskowiak5-Jul-06 1:54
mveDave Kreskowiak5-Jul-06 1:54 
QuestionGood resource to understand and implement OOP techniques in my current application? Pin
Slow Learner4-Jul-06 14:05
Slow Learner4-Jul-06 14:05 
AnswerRe: Good resource to understand and implement OOP techniques in my current application? Pin
Dave Kreskowiak5-Jul-06 4:35
mveDave Kreskowiak5-Jul-06 4:35 
AnswerRe: Good resource to understand and implement OOP techniques in my current application? Pin
TristanJ28-Jul-06 4:52
TristanJ28-Jul-06 4:52 
Questionbindingsource -> datagridview howto add rows Pin
crash8934-Jul-06 9:26
crash8934-Jul-06 9:26 
Hi all,

I am working with some CSV files

basicly the workflow is

CSV->datatable->datasource-> bindingsource -> display as data grid view

I have two such bindingsource

one of users by department
one of users by bill

what i would like to do is run through a loop so that any new users that show up on the bill are put into the datagrid view with ??? as there department ( so i can fill it in later)
( i later use teh department to break the bill up into amount by department)

I have the Loop down i just am not sure of the command to add a new row to the binding source

Any pointers you could give me would be awsome


code
************************************************************************
Public Sub addusers()
Dim userRowIndex As Integer
Dim name As String
For Each invoiceRow As DataRowView In Me.invoicebindingsource
userRowIndex = Me.userbindingsource.Find("Name", invoiceRow("Name"))
name = invoiceRow("name")
If userRowIndex <> -1 AndAlso Me.userbindingsource(userRowIndex)("Name") = name Then

Else


CType(userbindingsource, DataRowView)
End If
Next invoiceRow

End Sub
AnswerRe: bindingsource -> datagridview howto add rows Pin
crash8935-Jul-06 8:39
crash8935-Jul-06 8:39 
GeneralRe: bindingsource -> datagridview howto add rows Pin
Keith Malwitz6-Jul-06 18:51
Keith Malwitz6-Jul-06 18:51 
QuestionNeed help with Datagrid Pin
fiaolle4-Jul-06 8:27
fiaolle4-Jul-06 8:27 
AnswerRe: Need help with Datagrid Pin
Dave Kreskowiak5-Jul-06 4:39
mveDave Kreskowiak5-Jul-06 4:39 
QuestionRandomize and Unique Numbers Pin
NickiG4-Jul-06 5:41
NickiG4-Jul-06 5:41 
AnswerRe: Randomize and Unique Numbers Pin
TristanJ4-Jul-06 8:27
TristanJ4-Jul-06 8:27 
GeneralRe: Randomize and Unique Numbers Pin
NickiG5-Jul-06 2:23
NickiG5-Jul-06 2:23 
GeneralRe: Randomize and Unique Numbers Pin
TristanJ28-Jul-06 4:31
TristanJ28-Jul-06 4:31 
AnswerRe: Randomize and Unique Numbers Pin
Guffa4-Jul-06 11:24
Guffa4-Jul-06 11:24 
QuestionAdd Scrollbar Control to my form Pin
Wael Hawari4-Jul-06 5:10
Wael Hawari4-Jul-06 5:10 
AnswerRe: Add Scrollbar Control to my form Pin
Dave Kreskowiak5-Jul-06 5:44
mveDave Kreskowiak5-Jul-06 5:44 
GeneralRe: Add Scrollbar Control to my form Pin
Wael Hawari5-Jul-06 7:44
Wael Hawari5-Jul-06 7:44 
GeneralRe: Add Scrollbar Control to my form Pin
Wael Hawari5-Jul-06 7:45
Wael Hawari5-Jul-06 7:45 
GeneralRe: Add Scrollbar Control to my form Pin
Dave Kreskowiak5-Jul-06 8:24
mveDave Kreskowiak5-Jul-06 8:24 
GeneralRe: Add Scrollbar Control to my form Pin
Wael Hawari5-Jul-06 8:36
Wael Hawari5-Jul-06 8:36 
QuestionNeed Help : insert Row into ... [modified] Pin
elpens4-Jul-06 4:15
elpens4-Jul-06 4:15 
Questiondll Problem in vb 6.0 Pin
bony_baba4-Jul-06 4:02
bony_baba4-Jul-06 4:02 

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.