Advertisement
Advertisement
| 02.15.2008 at 02:48PM PST, ID: 23167555 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
|
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
| Microsoft |
| Apple |
| Internet |
| Gamers |
| Digital Living |
| Virus & Spyware |
| Hardware |
| Software |
| ITPro |
| Developer |
| Storage |
| OS |
| Database |
| Security |
| Programming |
| Web Development |
| Networking |
| Other |
| Community Support |
| 02.16.2008 at 04:25PM PST, ID: 20911944 |
| 02.18.2008 at 06:40AM PST, ID: 20920214 |
| 02.18.2008 at 09:01AM PST, ID: 20921526 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: |
Private Sub DataGridView_EditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms. _
DataGridViewEditingControlShowingEventArgs) _
Handles DataGridView.EditingControlShowing
Dim comboBoxColumn As DataGridViewComboBoxColumn = _
DataGridView.Columns(4)
If (DataGridView.CurrentCellAddress.X = _
comboBoxColumn.DisplayIndex) Then
Dim cb As ComboBox = e.Control
If (cb IsNot Nothing) Then
cb.DropDownStyle = ComboBoxStyle.DropDown
End If
End If
End Sub
Private Sub DataGridView_CellValidating( _
ByVal sender As Object, _
ByVal e As System.Windows.Forms. _
DataGridViewCellValidatingEventArgs) _
Handles DataGridView.CellValidating
Dim comboBoxColumn As DataGridViewComboBoxColumn = DataGridView.Columns(4) '<<<<<<<<<<< 'InvalidCastException Here
If (e.ColumnIndex = comboBoxColumn.DisplayIndex) Then
If (Not comboBoxColumn.Items.Contains(e.FormattedValue)) Then
comboBoxColumn.Items.Add(e.FormattedValue)
End If
End If
End Sub
|
| 02.18.2008 at 12:10PM PST, ID: 20923021 |
| 02.18.2008 at 01:18PM PST, ID: 20923522 |
| 02.18.2008 at 01:22PM PST, ID: 20923557 |
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: |
Private Sub DataGridViewEditingControlShowing(ByVal sender As Object, ByVal e As System.Windows.Forms. _
DataGridViewEditingControlShowingEventArgs) _
Handles DataGridView.EditingControlShowing
Dim comboBoxColumn As DataGridViewComboBoxColumn = _
DataGridView.Columns(3)
If (DataGridView.CurrentCellAddress.X = _
comboBoxColumn.DisplayIndex) Then
Dim cb As ComboBox = e.Control
If (cb IsNot Nothing) Then
cb.DropDownStyle = ComboBoxStyle.DropDown
End If
End If
End Sub
Private Sub DataGridView_CellValidating( _
ByVal sender As Object, _
ByVal e As System.Windows.Forms. _
DataGridViewCellValidatingEventArgs) _
Handles DataGridView.CellValidating
Dim comboBoxColumn As DataGridViewComboBoxColumn = DataGridView.Columns(3) '<<<<<<<<<<< 'InvalidCastException Here
If (e.ColumnIndex = comboBoxColumn.DisplayIndex) Then
If (Not comboBoxColumn.Items.Contains(e.FormattedValue)) Then
comboBoxColumn.Items.Add(e.FormattedValue) <<<<<<<< Exception Here
End If
End If
End Sub
|
| 02.18.2008 at 01:27PM PST, ID: 20923613 |
| 02.18.2008 at 01:56PM PST, ID: 20923857 |
| 02.18.2008 at 02:05PM PST, ID: 20923929 |