Click here to Skip to main content
15,915,076 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionEvents & Delegates in VB question Pin
bertvan11-Feb-07 21:17
bertvan11-Feb-07 21:17 
AnswerRe: Events & Delegates in VB question Pin
_mubashir11-Feb-07 22:29
_mubashir11-Feb-07 22:29 
GeneralRe: Events & Delegates in VB question Pin
bertvan12-Feb-07 1:43
bertvan12-Feb-07 1:43 
GeneralRe: Events & Delegates in VB question Pin
Dave Doknjas12-Feb-07 13:21
Dave Doknjas12-Feb-07 13:21 
Questionclass library Pin
dalbhide bipin11-Feb-07 21:05
dalbhide bipin11-Feb-07 21:05 
AnswerRe: class library Pin
Dave Kreskowiak12-Feb-07 4:53
mveDave Kreskowiak12-Feb-07 4:53 
Questionthe value of comboBox like the dataGrid's key value Pin
costavo11-Feb-07 20:50
costavo11-Feb-07 20:50 
AnswerRe: the value of comboBox like the dataGrid's key value Pin
bertvan11-Feb-07 21:27
bertvan11-Feb-07 21:27 
Not a very clear question, but if you bind a bindingsource to your datagridview, you can use the alter the currently selected row by changing the .Current property of the bindingsource.
I'm guessing you want to pick a row by selecting a value form your ComboBox, so you could do something like this:

Dim dgv As New DataGridView()
Dim bs As New BindingSource()
dgv.DataSource = bs
bs.DataSource = myDataSet

Dim cb As New ComboBox()


And then on SelectedIndexChange event of the combobox, you can set the bs.Current to the selected Value.
Generalthe value of comboBox like the dataGrid's key value Pin
costavo11-Feb-07 22:21
costavo11-Feb-07 22:21 
QuestionA looping Question Pin
WestSideRailways11-Feb-07 20:40
WestSideRailways11-Feb-07 20:40 
AnswerRe: A looping Question Pin
Christian Graus11-Feb-07 20:47
protectorChristian Graus11-Feb-07 20:47 
GeneralRe: A looping Question Pin
WestSideRailways11-Feb-07 22:08
WestSideRailways11-Feb-07 22:08 
GeneralRe: A looping Question Pin
Christian Graus11-Feb-07 22:12
protectorChristian Graus11-Feb-07 22:12 
GeneralRe: A looping Question Pin
WestSideRailways11-Feb-07 22:16
WestSideRailways11-Feb-07 22:16 
GeneralRe: A looping Question Pin
Guffa11-Feb-07 23:51
Guffa11-Feb-07 23:51 
GeneralRe: A looping Question Pin
WestSideRailways12-Feb-07 7:43
WestSideRailways12-Feb-07 7:43 
AnswerRe: A looping Question Pin
Guffa13-Feb-07 11:42
Guffa13-Feb-07 11:42 
AnswerRe: A looping Question Pin
TwoFaced11-Feb-07 21:00
TwoFaced11-Feb-07 21:00 
GeneralRe: A looping Question Pin
WestSideRailways11-Feb-07 22:14
WestSideRailways11-Feb-07 22:14 
GeneralRe: A looping Question Pin
TwoFaced11-Feb-07 22:29
TwoFaced11-Feb-07 22:29 
GeneralRe: A looping Question Pin
WestSideRailways11-Feb-07 22:35
WestSideRailways11-Feb-07 22:35 
GeneralRe: A looping Question [modified] Pin
WestSideRailways11-Feb-07 23:40
WestSideRailways11-Feb-07 23:40 
QuestionCan PDA support USB devices?? Pin
crazyteh11-Feb-07 17:09
crazyteh11-Feb-07 17:09 
AnswerRe: Can PDA support USB devices?? Pin
Dave Kreskowiak12-Feb-07 4:47
mveDave Kreskowiak12-Feb-07 4:47 
QuestionHide Form & hiding form Pin
Macky10011-Feb-07 11:10
Macky10011-Feb-07 11:10 

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.