Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

DataGridViewcomboboxColumn fill to other columns

$
0
0

Hello,

I have a question, Please help. "Firstly I'm using VB"

I made the DataGridView and it's  contains a comboboxColumn in columns 1, and its items comes from a database

" Access Database"

What I want to do is to display the cell of column 2 depends on the item we selected in column 1

for more explanation :-

I made a new datagridview and I added 2 column " manual manual  manual  manual I mean All the properties made it from columns properties, Datasource, Value Member and ETC.  I'm not made any code for it"   then bind column 1 (comboboxColumn) with "Name" in Access database,  And column 2 (textColumn) I can't bind it with " Job " in Access database Because it's a  (textColumn).

All I need to when I'm choose Item1 from combobox like Jason Statham, that's should be show his job automatically in column2,But not Just a text,I want to call it from Access database.

In Addition:- That's information for my database from Access>

Kono2Dataset , InfoBindingSource , InfoTapleadapter

And That's Too, Me.InfoTableAdapter.Fill(Me.Kono2DataSet.Info)

I hope to got it and I hope to help me about it , Thank you.

Kono



Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>