Click here to Skip to main content
15,897,371 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Invoking a Button_Click() event from a seperate form Pin
Naji El Kotob18-Jul-07 11:27
Naji El Kotob18-Jul-07 11:27 
Questionhow to Run application developed in VB.Net 2005 on Linux or Mac X Pin
Rizwan Bashir18-Jul-07 4:51
Rizwan Bashir18-Jul-07 4:51 
AnswerRe: how to Run application developed in VB.Net 2005 on Linux or Mac X Pin
originSH18-Jul-07 5:53
originSH18-Jul-07 5:53 
AnswerRe: how to Run application developed in VB.Net 2005 on Linux or Mac X Pin
Dave Kreskowiak18-Jul-07 5:59
mveDave Kreskowiak18-Jul-07 5:59 
QuestionHow to create Folder when you do not have rights but have admin userName and pwd Pin
Rizwan Bashir18-Jul-07 3:57
Rizwan Bashir18-Jul-07 3:57 
AnswerRe: How to create Folder when you do not have rights but have admin userName and pwd Pin
SHatchard18-Jul-07 4:13
SHatchard18-Jul-07 4:13 
GeneralRe: How to create Folder when you do not have rights but have admin userName and pwd Pin
Rizwan Bashir18-Jul-07 4:45
Rizwan Bashir18-Jul-07 4:45 
QuestionSuspend binding on a datagridview Pin
steve_rm18-Jul-07 2:55
steve_rm18-Jul-07 2:55 
Hello,

I have a datagridview that is bound to a bindingsource.

I have the binding source filter to only display 'ordered' rows. However, I have a combo box in the datagridview that will list 'ordered', 'to be ordered' and 'delivered'.

However, as the datagridview is filter to only display 'ordered' rows, as soon as the user selects either 'to be ordered' or 'delivered' it will automatically filter those rows. However, the customer wants to change all the displayed rows to 'delivered' then click save so all the rows will filter at that time.

Currently the row will disappear as soon as the combo box is selected to something.

I did try to use the suspendbinding, but that doesn't work for the dgv. I thought that might suspend the binding so the filter won't take place until after the user clicks the save button.

here is some code:


Many thanks for any help,

<br />
 Try<br />
<br />
            Me.bsOrderDetailsPending.Filter = String.Format("Status = '{0}' AND OrderID = '{1}'", "Ordered", Me.cboPendingOrders.SelectedValue)<br />
            Me.dgvPendingOrders.AutoGenerateColumns = False<br />
            Me.dgvPendingOrders.DataSource = Me.bsOrderDetailsPending<br />
        Catch ex As Exception<br />
            MsgBox(ex.Message)<br />
        End Try<br />

AnswerRe: Suspend binding on a datagridview Pin
Kschuler18-Jul-07 9:28
Kschuler18-Jul-07 9:28 
QuestionRe: Suspend binding on a datagridview Pin
steve_rm18-Jul-07 22:11
steve_rm18-Jul-07 22:11 
Questionregarding help files Pin
jamesmani2k518-Jul-07 2:29
jamesmani2k518-Jul-07 2:29 
AnswerRe: regarding help files Pin
Naji El Kotob18-Jul-07 2:53
Naji El Kotob18-Jul-07 2:53 
QuestionIncorrect format Pin
boyindie18-Jul-07 2:23
boyindie18-Jul-07 2:23 
AnswerRe: Incorrect format Pin
boyindie18-Jul-07 2:59
boyindie18-Jul-07 2:59 
Questioncant find the query builder Pin
iain659418-Jul-07 1:20
iain659418-Jul-07 1:20 
AnswerRe: cant find the query builder Pin
Dave Kreskowiak18-Jul-07 4:43
mveDave Kreskowiak18-Jul-07 4:43 
Questioncontroling forms Pin
navyasri18-Jul-07 0:54
navyasri18-Jul-07 0:54 
QuestionRe: controling forms Pin
Nilesh Hapse18-Jul-07 0:59
Nilesh Hapse18-Jul-07 0:59 
AnswerRe: controling forms Pin
Jayesh Talsaniya18-Jul-07 2:13
Jayesh Talsaniya18-Jul-07 2:13 
AnswerRe: controling forms Pin
Naji El Kotob18-Jul-07 2:39
Naji El Kotob18-Jul-07 2:39 
QuestionHow can i use MS forms2 Combobox in VB 2005 Pin
Kashif Haqqani18-Jul-07 0:08
Kashif Haqqani18-Jul-07 0:08 
AnswerRe: How can i use MS forms2 Combobox in VB 2005 Pin
Naji El Kotob18-Jul-07 0:36
Naji El Kotob18-Jul-07 0:36 
GeneralRe: How can i use MS forms2 Combobox in VB 2005 Pin
Kashif Haqqani20-Jul-07 0:48
Kashif Haqqani20-Jul-07 0:48 
QuestionHow to pass multiple value to next using session Pin
hsuresh18-Jul-07 0:00
hsuresh18-Jul-07 0:00 
AnswerRe: How to pass multiple value to next using session Pin
Jayesh Talsaniya18-Jul-07 2:11
Jayesh Talsaniya18-Jul-07 2:11 

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.