Click here to Skip to main content
15,902,299 members
Home / Discussions / C#
   

C#

 
GeneralRe: C# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 1:38
SpudgunDoogal7-Jul-03 1:38 
GeneralRe: C# COM+ Client/Server Pin
Philip Fitzsimons7-Jul-03 2:53
Philip Fitzsimons7-Jul-03 2:53 
GeneralRe: C# COM+ Client/Server Pin
Giles7-Jul-03 3:05
Giles7-Jul-03 3:05 
GeneralRe: C# COM+ Client/Server Pin
SpudgunDoogal7-Jul-03 3:10
SpudgunDoogal7-Jul-03 3:10 
GeneralCounting a datatable Pin
totig7-Jul-03 0:46
totig7-Jul-03 0:46 
GeneralRe: Counting a datatable Pin
Philip Fitzsimons7-Jul-03 2:53
Philip Fitzsimons7-Jul-03 2:53 
GeneralRe: Counting a datatable Pin
totig7-Jul-03 3:10
totig7-Jul-03 3:10 
GeneralDatagrid Combobox column Pin
Rohit Kashikar6-Jul-03 23:44
Rohit Kashikar6-Jul-03 23:44 
Hi,

I have created a datagrid having source as one table. but the column style I have specified separately for each column of the table some of which are DataGridComboboxColumn. Things till now are working fine - I am able to view all the foreing table entries properly in combobox. The code is as shown below..
UserComboTextCol.MappingName = obTableVerboseInfo.ColumnName;
UserComboTextCol.HeaderText = obTableVerboseInfo.ColHeaderName;
UserComboTextCol.Width = 120;
UserComboTextCol.ColumnComboBox.DataSource = dsRefTreeSelected.Tables[obTableVerboseInfo.RefTableName].DefaultView;

UserComboTextCol.ColumnComboBox.DisplayMember = obTableVerboseInfo.DisplayColumn;

UserComboTextCol.ColumnComboBox.ValueMember = obTableVerboseInfo.RefColumnName;

Do not worry about the values on right side of =.

But now I want this datagrid for update purpose as well. i.e. if user makes some modifications to the combo control, I should get the foreign key value of the new selected member. All that I get is the display column which can be duplicate in table !! Once the user has updated the datagrid, how do I put the values back to the table by converting them to the actual values from display column ? Can anyone help me ?

Thanks.

Rohit
GeneralRe: Datagrid Combobox column Pin
perlmunger7-Jul-03 12:16
perlmunger7-Jul-03 12:16 
GeneralRe: Datagrid Combobox column Pin
7-Jul-03 18:30
suss7-Jul-03 18:30 
GeneralWM_PRINTCLIENT message Pin
peenu6-Jul-03 23:15
peenu6-Jul-03 23:15 
GeneralPDF viewer / printer component or solution - for distributed software(don't wanna use Abobe's) Pin
Selector6-Jul-03 20:20
Selector6-Jul-03 20:20 
GeneralRe: PDF viewer / printer component or solution - for distributed software(don't wanna use Abobe's) Pin
Roland Bär7-Jul-03 3:22
Roland Bär7-Jul-03 3:22 
GeneralPutting Array data in a string then showing it in a label. Pin
eggie56-Jul-03 10:48
eggie56-Jul-03 10:48 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
leppie6-Jul-03 11:32
leppie6-Jul-03 11:32 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
eggie56-Jul-03 14:44
eggie56-Jul-03 14:44 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
leppie6-Jul-03 15:15
leppie6-Jul-03 15:15 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
eggie56-Jul-03 15:44
eggie56-Jul-03 15:44 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
Daniel Turini7-Jul-03 1:24
Daniel Turini7-Jul-03 1:24 
GeneralRe: Putting Array data in a string then showing it in a label. Pin
Leon van Wyk7-Jul-03 3:58
professionalLeon van Wyk7-Jul-03 3:58 
GeneralOutlook Plugin Pin
gek_at6-Jul-03 9:47
gek_at6-Jul-03 9:47 
GeneralRe: Outlook Plugin Pin
perlmunger7-Jul-03 12:31
perlmunger7-Jul-03 12:31 
GeneralParallel Port Pin
eggie56-Jul-03 9:08
eggie56-Jul-03 9:08 
GeneralWorking with events Pin
stonee746-Jul-03 7:23
stonee746-Jul-03 7:23 
GeneralRe: Working with events Pin
Jim Stewart6-Jul-03 8:24
Jim Stewart6-Jul-03 8:24 

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.