Click here to Skip to main content
15,888,022 members
Home / Discussions / C#
   

C#

 
AnswerRe: status bar Pin
Ravi Bhavnani6-Feb-06 4:04
professionalRavi Bhavnani6-Feb-06 4:04 
GeneralRe: status bar Pin
Kola Sokol6-Feb-06 5:06
Kola Sokol6-Feb-06 5:06 
Questionmemcopy in C# ? Pin
smoitry6-Feb-06 3:28
smoitry6-Feb-06 3:28 
AnswerRe: memcopy in C# ? Pin
Judah Gabriel Himango6-Feb-06 4:58
sponsorJudah Gabriel Himango6-Feb-06 4:58 
QuestionHelp with multiview control needed!! Pin
BenPage6-Feb-06 2:07
BenPage6-Feb-06 2:07 
Questionbit + sq Pin
ita_cas6-Feb-06 1:48
ita_cas6-Feb-06 1:48 
AnswerRe: bit + sq Pin
albCode6-Feb-06 2:01
albCode6-Feb-06 2:01 
Questioncombo box, datagrid problem Pin
steve1_rm20006-Feb-06 1:31
steve1_rm20006-Feb-06 1:31 
Hello,

When l change the value of the combo box, as soon as the combo box loses focus the value will change to the value it was before. The new value does not remain. Has this got something to do with the edit options of the datagrid. I am not sure.

The only way l have solved this problem is to save the new value to the database, and then fill the datagrid from database again with the new. This has to be done everytime the user changes the combo box value.

The way l would like this to work is for the user to change the values in the combo boxes, and have the value remain. When they have finished, they can save everything to the database.

I hope you can help me with this project again. I have the code below that inserts the combo box into the datagrid.

<br />
if ( !this.grdCustomerProducts.TableStyles.Contains("Product") )<br />
					{<br />
						DataGridTableStyle grdTblStyle = new DataGridTableStyle();<br />
						grdTblStyle.MappingName = dt.TableName;<br />
						grdCustomerProducts.TableStyles.Add(grdTblStyle);<br />
<br />
						GridColumnStylesCollection colStyle;<br />
						colStyle = grdCustomerProducts.TableStyles["Product"].GridColumnStyles;<br />
						colStyle[0].Width = 150;<br />
				<br />
						DataGridTextBoxColumn dgtb = (DataGridTextBoxColumn)grdCustomerProducts.TableStyles["Product"].GridColumnStyles[2];<br />
						dgtb.TextBox.Controls.Add(cmbQuantities);<br />
					}<br />


Thanks for you help in advance,

Steve
QuestionHow to create RadioButtonColumn for DataGridView Pin
USrinivas6-Feb-06 1:17
USrinivas6-Feb-06 1:17 
AnswerRe: How to create RadioButtonColumn for DataGridView Pin
luckyv6-Feb-06 3:03
luckyv6-Feb-06 3:03 
GeneralRe: How to create RadioButtonColumn for DataGridView Pin
USrinivas6-Feb-06 23:53
USrinivas6-Feb-06 23:53 
QuestionMS SQL 2000 Server usage Pin
cbhkenshin6-Feb-06 1:01
cbhkenshin6-Feb-06 1:01 
AnswerRe: MS SQL 2000 Server usage Pin
usernamed6-Feb-06 9:21
usernamed6-Feb-06 9:21 
QuestionLooking for a "best practice" advice Pin
Jan R Hansen6-Feb-06 0:43
Jan R Hansen6-Feb-06 0:43 
AnswerRe: Looking for a "best practice" advice Pin
dmivlad6-Feb-06 1:48
dmivlad6-Feb-06 1:48 
AnswerRe: Looking for a "best practice" advice Pin
Ravi Bhavnani6-Feb-06 2:33
professionalRavi Bhavnani6-Feb-06 2:33 
GeneralRe: Looking for a "best practice" advice Pin
Jan R Hansen6-Feb-06 9:06
Jan R Hansen6-Feb-06 9:06 
QuestionPosting an article to a blog from C# Pin
AB77715-Feb-06 23:57
AB77715-Feb-06 23:57 
AnswerRe: Posting an article to a blog from C# Pin
Colin Angus Mackay6-Feb-06 0:24
Colin Angus Mackay6-Feb-06 0:24 
GeneralRe: Posting an article to a blog from C# Pin
AB77716-Feb-06 0:35
AB77716-Feb-06 0:35 
GeneralRe: Posting an article to a blog from C# Pin
Ravi Bhavnani6-Feb-06 2:37
professionalRavi Bhavnani6-Feb-06 2:37 
GeneralRe: Posting an article to a blog from C# Pin
AB77716-Feb-06 2:50
AB77716-Feb-06 2:50 
GeneralRe: Posting an article to a blog from C# Pin
Ravi Bhavnani6-Feb-06 4:02
professionalRavi Bhavnani6-Feb-06 4:02 
GeneralRe: Posting an article to a blog from C# Pin
AB77716-Feb-06 18:56
AB77716-Feb-06 18:56 
AnswerRe: Posting an article to a blog from C# Pin
Ravi Bhavnani7-Feb-06 2:08
professionalRavi Bhavnani7-Feb-06 2:08 

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.