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

C#

 
QuestionUsing Crystal Reports.Net with a password protected database Pin
kornstyle23-Jan-06 2:55
kornstyle23-Jan-06 2:55 
QuestionSOAP envelop for ebXML Pin
Bibi Watson23-Jan-06 2:30
Bibi Watson23-Jan-06 2:30 
AnswerRe: SOAP envelop for ebXML Pin
ElGuroProgramador26-Jan-10 6:46
ElGuroProgramador26-Jan-10 6:46 
QuestionUnhandled Exception: System.InvalidOperationException Pin
sasire1823-Jan-06 2:15
sasire1823-Jan-06 2:15 
Answer[Message Deleted] Pin
sathish s23-Jan-06 2:22
sathish s23-Jan-06 2:22 
GeneralRe: Unhandled Exception: System.InvalidOperationException Pin
sasire1823-Jan-06 2:37
sasire1823-Jan-06 2:37 
GeneralRe: Cannot delete Table Pin
Nobia16-Jun-09 16:49
Nobia16-Jun-09 16:49 
Questionchanging the backcolor of datagrid row Pin
steve1_rm200023-Jan-06 2:14
steve1_rm200023-Jan-06 2:14 
Hi,
I currently have a datagrid that is displaying items in an inventory. The user is able to modify inventory contents, and then there is a button to save the changes back to the SQL database.

What I would like to implement is something that will change the color of each row that the user has updated.

The only thing close that I've found is DataGrid.SelectionBackColor but the problem with that is that it changes the row color of the currently selected row, instead of row[x] in the DataGrid. So if the user moves the mouse to select a different row, the updated row loses the color, and the newly selected (non-updated) row gains it.

Anyone have a solution for a DataGrid to change the color of any row and then have it remain there?

I noticed you can't even get to an individual row with the DataGrid, there is no DataGrid.Row[x] feature. If there was, it might have a nice DataGrid.Row[x].BackColor property I could use.

Thanks in advance,

Steve
AnswerRe: changing the backcolor of datagrid row Pin
tarasn23-Jan-06 4:10
tarasn23-Jan-06 4:10 
QuestionConvert Object Pin
papa198023-Jan-06 2:07
papa198023-Jan-06 2:07 
AnswerRe: Convert Object Pin
User 665823-Jan-06 2:22
User 665823-Jan-06 2:22 
AnswerRe: Convert Object Pin
sathish s23-Jan-06 2:25
sathish s23-Jan-06 2:25 
GeneralRe: Convert Object Pin
papa198023-Jan-06 4:26
papa198023-Jan-06 4:26 
QuestionVisual Inheritance, and Default Property Values Pin
big_trev23-Jan-06 2:05
big_trev23-Jan-06 2:05 
AnswerRe: Visual Inheritance, and Default Property Values Pin
tarasn23-Jan-06 3:57
tarasn23-Jan-06 3:57 
GeneralRe: Visual Inheritance, and Default Property Values Pin
big_trev23-Jan-06 7:54
big_trev23-Jan-06 7:54 
QuestionHow do I retrieve all my webPages + web services in .NET framework 2.0? Pin
Ronen Tidhar23-Jan-06 2:00
Ronen Tidhar23-Jan-06 2:00 
QuestionLCD Pin
sianatia23-Jan-06 1:41
sianatia23-Jan-06 1:41 
QuestionHow to call a function... Pin
Soundman32.223-Jan-06 1:17
Soundman32.223-Jan-06 1:17 
AnswerRe: How to call a function... Pin
AB777123-Jan-06 2:01
AB777123-Jan-06 2:01 
AnswerRe: How to call a function... Pin
Phil J Pearson23-Jan-06 2:20
Phil J Pearson23-Jan-06 2:20 
Questionsingle commands for DotMatrixPrinter Pin
softmusic23-Jan-06 0:58
softmusic23-Jan-06 0:58 
AnswerRe: single commands for DotMatrixPrinter Pin
Dave Kreskowiak23-Jan-06 6:11
mveDave Kreskowiak23-Jan-06 6:11 
GeneralRe: single commands for DotMatrixPrinter Pin
softmusic23-Jan-06 7:12
softmusic23-Jan-06 7:12 
GeneralRe: single commands for DotMatrixPrinter Pin
Dave Kreskowiak23-Jan-06 13:23
mveDave Kreskowiak23-Jan-06 13:23 

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.