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

Visual Basic

 
GeneralRe: How to make a child form stay on the top until closed in mdi application (VB.NET 2005)? Pin
Christian Graus26-Feb-08 12:50
protectorChristian Graus26-Feb-08 12:50 
Generalupdate panel positioning Pin
solarthur0126-Feb-08 9:17
solarthur0126-Feb-08 9:17 
GeneralRe: update panel positioning Pin
parth.p26-Feb-08 9:56
parth.p26-Feb-08 9:56 
GeneralRe: update panel positioning Pin
solarthur0126-Feb-08 12:00
solarthur0126-Feb-08 12:00 
GeneralRe: update panel positioning Pin
parth.p26-Feb-08 18:15
parth.p26-Feb-08 18:15 
QuestionDataGridView acting strange all of a sudden [modified] Pin
Marcus J. Smith26-Feb-08 9:03
professionalMarcus J. Smith26-Feb-08 9:03 
GeneralRe: DataGridView acting strange all of a sudden Pin
Kschuler26-Feb-08 9:34
Kschuler26-Feb-08 9:34 
GeneralRe: DataGridView acting strange all of a sudden Pin
Marcus J. Smith26-Feb-08 9:54
professionalMarcus J. Smith26-Feb-08 9:54 
For this grid I add all items to the combobox with no filtering when I first open up the form like this.

For Each sizeRow As DataRow In _SizesToFilter.Rows
                CType(uxDataGrid.Columns("uxSizeGrid"), DataGridViewComboBoxColumn).Items.Add(sizeRow("Size").ToString)
Next


Then when I filter I do the following.

If filterCell.Value IsNot Nothing Then
                _SizesToFilter= _DataAccess.GetSizesFiltered(filterCell.Value.ToString)

                sizeCell.DisplayMember = "Size"
                sizeCell.DataSource = _SizesToFilter

                Dim sizeRows As DataRow() = _SizesToFilter.Select("Size = '" & filterCell.Value.ToString.Trim & "'")

                If sizeRows.Length > 0 Then
                    sizeCell.Value = sizeRows(0)("Size")
                Else
                    If _SizesToFilter.Rows.Count = 2 Then
                        sizeCell.Value = _SizesToFilter.Rows(1)("Size").ToString
                    Else
                        sizeCell.Value = ""
                    End If
                End If
            End If


All of this is working and I checked the database, there are no NULL values and I havent changed the select statements in quite a while. The part that is breaking is after all of the values are added. It seems that the value is technically selected but the combobox does not show anything, it shows my blank option.


CleaKO

"Now, a man would have opened both gates, driven through and not bothered to close either gate." - Marc Clifton (The Lounge)

GeneralRe: DataGridView acting strange all of a sudden Pin
Kschuler27-Feb-08 3:39
Kschuler27-Feb-08 3:39 
GeneralRe: DataGridView acting strange all of a sudden Pin
Marcus J. Smith27-Feb-08 4:02
professionalMarcus J. Smith27-Feb-08 4:02 
QuestionWhy is the namespace not visible in VB code files? Pin
Vantigate26-Feb-08 8:35
Vantigate26-Feb-08 8:35 
GeneralRe: Why is the namespace not visible in VB code files? Pin
Marcus J. Smith26-Feb-08 9:23
professionalMarcus J. Smith26-Feb-08 9:23 
GeneralRe: Why is the namespace not visible in VB code files? Pin
Vantigate26-Feb-08 11:13
Vantigate26-Feb-08 11:13 
GeneralCrystal reports randomly displaying text in lower case Pin
Kschuler26-Feb-08 7:38
Kschuler26-Feb-08 7:38 
GeneralCreating Charts Pin
parth.p26-Feb-08 6:23
parth.p26-Feb-08 6:23 
GeneralRe: Creating Charts Pin
Dave Kreskowiak27-Feb-08 6:45
mveDave Kreskowiak27-Feb-08 6:45 
GeneralThe will not let me hit the database until the last minute. Help !!! [modified] Pin
crystal915426-Feb-08 5:53
crystal915426-Feb-08 5:53 
GeneralRe: The will not let me hit the database until the last minute. Help !!! Pin
Christian Graus26-Feb-08 8:54
protectorChristian Graus26-Feb-08 8:54 
GeneralRe: The will not let me hit the database until the last minute. Help !!! Pin
crystal915426-Feb-08 10:39
crystal915426-Feb-08 10:39 
GeneralData Access .net compact framework Pin
Cory Kimble26-Feb-08 3:35
Cory Kimble26-Feb-08 3:35 
GeneralRe: Data Access .net compact framework Pin
Arjun Marwaha26-Feb-08 22:40
Arjun Marwaha26-Feb-08 22:40 
Question.pst file Pin
mesho26-Feb-08 3:25
mesho26-Feb-08 3:25 
GeneralRe: .pst file Pin
parth.p26-Feb-08 5:59
parth.p26-Feb-08 5:59 
GeneralRe: .pst file Pin
mesho27-Feb-08 7:45
mesho27-Feb-08 7:45 
GeneralUnable to Create Subkey in registry Pin
Rupesh Kumar Swami26-Feb-08 3:20
Rupesh Kumar Swami26-Feb-08 3:20 

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.