Click here to Skip to main content
15,919,423 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Set app reference with config Pin
BobbyStrain6-Nov-14 15:06
BobbyStrain6-Nov-14 15:06 
QuestionNew Project Idea for Learning VB.Net Pin
Brian Lefler25-Oct-14 9:14
Brian Lefler25-Oct-14 9:14 
GeneralRe: New Project Idea for Learning VB.Net Pin
PIEBALDconsult25-Oct-14 10:05
mvePIEBALDconsult25-Oct-14 10:05 
GeneralRe: New Project Idea for Learning VB.Net Pin
Brian Lefler25-Oct-14 17:32
Brian Lefler25-Oct-14 17:32 
GeneralRe: New Project Idea for Learning VB.Net Pin
Richard MacCutchan25-Oct-14 22:20
mveRichard MacCutchan25-Oct-14 22:20 
GeneralRe: New Project Idea for Learning VB.Net Pin
Brian Lefler26-Oct-14 3:56
Brian Lefler26-Oct-14 3:56 
GeneralRe: New Project Idea for Learning VB.Net Pin
Richard MacCutchan26-Oct-14 4:34
mveRichard MacCutchan26-Oct-14 4:34 
GeneralRe: New Project Idea for Learning VB.Net Pin
Brian Lefler26-Oct-14 4:46
Brian Lefler26-Oct-14 4:46 
QuestionHelp in converting this to vb if possible Pin
jkirkerx23-Oct-14 7:26
professionaljkirkerx23-Oct-14 7:26 
AnswerI think I got it Pin
jkirkerx23-Oct-14 7:42
professionaljkirkerx23-Oct-14 7:42 
GeneralRe: I think I got it Pin
Dave Kreskowiak23-Oct-14 9:44
mveDave Kreskowiak23-Oct-14 9:44 
GeneralRe: I think I got it Pin
Richard Deeming23-Oct-14 10:02
mveRichard Deeming23-Oct-14 10:02 
GeneralRe: I think I got it Pin
Dave Kreskowiak23-Oct-14 10:04
mveDave Kreskowiak23-Oct-14 10:04 
GeneralRe: I think I got it Pin
Richard Deeming23-Oct-14 10:07
mveRichard Deeming23-Oct-14 10:07 
GeneralRe: I think I got it Pin
jkirkerx23-Oct-14 10:27
professionaljkirkerx23-Oct-14 10:27 
GeneralRe: I think I got it Pin
Dave Kreskowiak23-Oct-14 15:06
mveDave Kreskowiak23-Oct-14 15:06 
GeneralRe: I think I got it Pin
Richard Deeming24-Oct-14 1:37
mveRichard Deeming24-Oct-14 1:37 
GeneralRe: I think I got it Pin
jkirkerx24-Oct-14 6:23
professionaljkirkerx24-Oct-14 6:23 
GeneralRe: I think I got it Pin
Richard Deeming24-Oct-14 6:37
mveRichard Deeming24-Oct-14 6:37 
GeneralRe: I think I got it Pin
jkirkerx24-Oct-14 6:39
professionaljkirkerx24-Oct-14 6:39 
GeneralRe: I think I got it Pin
jkirkerx24-Oct-14 6:42
professionaljkirkerx24-Oct-14 6:42 
QuestionHow to Populate DataGridViewComboBox with a DataTable Pin
Benniiit22-Oct-14 3:36
Benniiit22-Oct-14 3:36 
Please I have DatagridView bound to a DataTable that pulls records and displays the DataGridView correctly. Now, I have ColumnType as DataGridViewComboBoxColumn of the forth column named "Username". When I click the combo box of the DataGridview, nothing gets displayed at all. I just don't understand it. Below is the code.

<pre lang="vb">

'Objects already initialized

Dim QueryU As String = "select * from Users where username='" & frmUsers.txtUsername.Text & "'"
Dim daUser As New SqlDataAdapter(QueryU, SQLCon)
Dim dtUser As New DataTable
daUser.Fill(dtUser)
If dtUser.Rows.Count > 0 Then

Dim c4 As New DataGridViewComboBoxColumn()

c4.HeaderText = "Send To"
c4.Name = "Username"
c4.DataPropertyName = "Username"
c4.DisplayMember = "Username"
c4.ValueMember = "Username"
c4.DisplayStyleForCurrentCellOnly = False
c4.DisplayStyle = DataGridViewComboBoxDisplayStyle.Nothing
c4.FlatStyle = FlatStyle.Popup
c4.SortMode = DataGridViewColumnSortMode.Automatic
c4.DataSource = dtUser
c4.Width = 300
frmUsers.DataGridView1.Columns.Add(c4)

Catch
End Try
End If






</pre>
SuggestionRe: How to Populate DataGridViewComboBox with a DataTable Pin
Richard Deeming22-Oct-14 4:32
mveRichard Deeming22-Oct-14 4:32 
QuestionlistItem to show text box Pin
byka20-Oct-14 7:04
byka20-Oct-14 7:04 
GeneralSort methodes idees wanted Pin
JR21220-Oct-14 1:09
JR21220-Oct-14 1:09 

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.