Click here to Skip to main content
15,887,267 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: help in passing textboxt.text in report viewer vb.net Pin
Wes Aday10-Aug-12 10:36
professionalWes Aday10-Aug-12 10:36 
QuestionReading Byte Value From Process Memory Pin
dtdmike9410-Aug-12 6:49
dtdmike9410-Aug-12 6:49 
Questionhow to open the PAYH2011.accdb in access,it showing me sql connection error Pin
vikki028610-Aug-12 0:11
vikki028610-Aug-12 0:11 
AnswerRe: how to open the PAYH2011.accdb in access,it showing me sql connection error Pin
Dave Kreskowiak10-Aug-12 2:08
mveDave Kreskowiak10-Aug-12 2:08 
AnswerRe: how to open the PAYH2011.accdb in access,it showing me sql connection error Pin
jitforce258511-Aug-12 6:04
jitforce258511-Aug-12 6:04 
QuestionHow to make sure that only users from a specific group in AD can login. VB.NET Pin
dantlepshev 9-Aug-12 6:15
dantlepshev 9-Aug-12 6:15 
AnswerRe: How to make sure that only users from a specific group in AD can login. VB.NET Pin
Bernhard Hiller9-Aug-12 21:56
Bernhard Hiller9-Aug-12 21:56 
QuestionDataGridView not updating Pin
Sonhospa7-Aug-12 10:17
Sonhospa7-Aug-12 10:17 
Hi all,

it's been explained many times, I know... still after checking again and again I can't get my DataGridView updated from a custom collection. Here's the relevant piece of code:
        Private Sub btnXLRetrieve_Click(sender As Object, e As System.EventArgs) Handles btnXLRetrieve.Click

        ' add the existing transactions from the spreadsheet after clearing the collection first
        tColl.Clear()
        For Each trans As Transaction In (From ps In provider.GetSheet(Of Transaction)() Where ps.Transaction_ID <> "" Select ps)
            tColl.Add(trans)
        Next

        ' actualize the DataGridView
        With Me.dgvExcel
            .DataSource = tColl
            .Refresh()
        End With

End Sub
When the button is clicked for the first time, I get the (test) entry shown in the DataGridView. But clicking it again empties / updates the collection (tColl has the correct number of entries then) without updating the DataGridView.

Can someone of you please tell me what might be wrong?

In addition or as an alternative I wanted to get the DGV updated whenever the collection changes. The listener for my 'collectionChangedEvent' catches the event properly, but the DGV also doesn't update (using the same snippet).

Thank you for helping out,
Mick
AnswerRe: DataGridView not updating Pin
David Mujica7-Aug-12 10:51
David Mujica7-Aug-12 10:51 
GeneralRe: DataGridView not updating Pin
Sonhospa7-Aug-12 20:41
Sonhospa7-Aug-12 20:41 
GeneralRe: DataGridView not updating Pin
Eddy Vluggen9-Aug-12 0:04
professionalEddy Vluggen9-Aug-12 0:04 
GeneralRe: DataGridView not updating Pin
Simon_Whale9-Aug-12 0:08
Simon_Whale9-Aug-12 0:08 
NewsRe: DataGridView not updating Pin
Sonhospa10-Aug-12 10:58
Sonhospa10-Aug-12 10:58 
QuestionCalling a Form Pin
SPSandy6-Aug-12 20:01
SPSandy6-Aug-12 20:01 
AnswerRe: Calling a Form Pin
Richard MacCutchan6-Aug-12 21:17
mveRichard MacCutchan6-Aug-12 21:17 
GeneralRe: Calling a Form Pin
SPSandy6-Aug-12 23:26
SPSandy6-Aug-12 23:26 
QuestionAutoIt Sending keypress to game Pin
dtdmike946-Aug-12 14:40
dtdmike946-Aug-12 14:40 
AnswerRe: AutoIt Sending keypress to game Pin
Dave Kreskowiak6-Aug-12 17:40
mveDave Kreskowiak6-Aug-12 17:40 
GeneralRe: AutoIt Sending keypress to game Pin
dtdmike947-Aug-12 3:41
dtdmike947-Aug-12 3:41 
QuestionProduction Planning Pin
Jagjit Saini4-Aug-12 20:26
Jagjit Saini4-Aug-12 20:26 
AnswerRe: Production Planning Pin
Richard MacCutchan4-Aug-12 21:15
mveRichard MacCutchan4-Aug-12 21:15 
AnswerRe: Production Planning Pin
Tarun Mangukiya4-Aug-12 21:22
Tarun Mangukiya4-Aug-12 21:22 
AnswerRe: Production Planning Pin
Wes Aday5-Aug-12 3:11
professionalWes Aday5-Aug-12 3:11 
QuestionSizing of MDI Child Pin
SPSandy2-Aug-12 17:43
SPSandy2-Aug-12 17:43 
AnswerRe: Sizing of MDI Child Pin
Eddy Vluggen2-Aug-12 20:42
professionalEddy Vluggen2-Aug-12 20:42 

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.