Click here to Skip to main content
16,007,610 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralMultiple Keyboard Input Pin
Hyland Computer Systems8-Mar-05 11:58
Hyland Computer Systems8-Mar-05 11:58 
GeneralRe: Multiple Keyboard Input Pin
Dave Kreskowiak8-Mar-05 14:23
mveDave Kreskowiak8-Mar-05 14:23 
Questionhow to combine multiple value into one column? Pin
Lisana8-Mar-05 10:57
Lisana8-Mar-05 10:57 
AnswerRe: how to combine multiple value into one column? Pin
Christian Graus8-Mar-05 12:25
protectorChristian Graus8-Mar-05 12:25 
GeneralRe: how to combine multiple value into one column? Pin
Lisana8-Mar-05 13:42
Lisana8-Mar-05 13:42 
GeneralRe: how to combine multiple value into one column? Pin
Christian Graus8-Mar-05 13:45
protectorChristian Graus8-Mar-05 13:45 
QuestionDatagrid RowSelected event? Pin
westerdlyOne_void8-Mar-05 10:42
westerdlyOne_void8-Mar-05 10:42 
AnswerRe: Datagrid RowSelected event? Pin
j1webb13-Mar-05 5:40
j1webb13-Mar-05 5:40 
Here are 3 ways to do this.


1:
Dim currentCell As DataGridCell = DataGrid1.CurrentCell

'Get the value out the DataGrid and store it in the variable
Dim a As String
a = DataGrid1(currentCell.RowNumber, CurrentCell.ColumnNumber).ToString()


2:
Private Sub grdData_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles grdData.Click
txtKey0.Text = grdData.Item(grdData.CurrentCell.RowNumber, 0).ToString()
txtKey1.Text = grdData.Item(grdData.CurrentCell.RowNumber, 1).ToString()
End Sub

3:
'Another way to get datagrid row and column
Dim nRow as Int = dataGrid1.CurrentCell.RowNumber

Dim nColumn as Int = dataGrid1.CurrentCell.ColumnNumber

Let me know if this helped you or not.

GeneralBeep command Pin
corries8-Mar-05 10:26
corries8-Mar-05 10:26 
GeneralRe: Beep command Pin
Dave Kreskowiak8-Mar-05 10:44
mveDave Kreskowiak8-Mar-05 10:44 
GeneralCustomizing Data grid Pin
Mr Dabbah8-Mar-05 9:47
Mr Dabbah8-Mar-05 9:47 
GeneralRe: Customizing Data grid Pin
Jim Matthews8-Mar-05 10:07
Jim Matthews8-Mar-05 10:07 
GeneralRe: Customizing Data grid Pin
j1webb13-Mar-05 5:44
j1webb13-Mar-05 5:44 
General.NET CF example of sending email Pin
Alan Hamilton8-Mar-05 9:04
Alan Hamilton8-Mar-05 9:04 
Generalvb .net and crystal reports Pin
Anonymous8-Mar-05 6:59
Anonymous8-Mar-05 6:59 
GeneralRe: vb .net and crystal reports Pin
Jim Matthews8-Mar-05 7:18
Jim Matthews8-Mar-05 7:18 
GeneralConvert date to string Pin
Anonymous8-Mar-05 5:52
Anonymous8-Mar-05 5:52 
GeneralRe: Convert date to string Pin
Jim Matthews8-Mar-05 7:37
Jim Matthews8-Mar-05 7:37 
QuestionHow do you declare a VB6 control in VB.NET? Pin
Sarphus8-Mar-05 5:05
Sarphus8-Mar-05 5:05 
AnswerRe: How do you declare a VB6 control in VB.NET? Pin
rwestgraham8-Mar-05 14:03
rwestgraham8-Mar-05 14:03 
GeneralRe: How do you declare a VB6 control in VB.NET? Pin
Sarphus10-Mar-05 2:46
Sarphus10-Mar-05 2:46 
GeneralListViews Pin
lmaks8-Mar-05 3:53
lmaks8-Mar-05 3:53 
GeneralRe: ListViews Pin
H@is@here11-Mar-05 12:14
H@is@here11-Mar-05 12:14 
GeneralMS Speech SDK 5.1 Problem-EMERGENCY! Pin
ZisisSim8-Mar-05 3:36
ZisisSim8-Mar-05 3:36 
GeneralGetting Context Menu to close if already open Pin
7-Mar-05 23:43
suss7-Mar-05 23:43 

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.