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

C#

 
GeneralRe: Change the ide visual studio c# Pin
dianikol2-Nov-08 11:10
dianikol2-Nov-08 11:10 
GeneralRe: Change the ide visual studio c# Pin
Dave Kreskowiak2-Nov-08 11:36
mveDave Kreskowiak2-Nov-08 11:36 
GeneralRe: Change the ide visual studio c# Pin
DaveyM692-Nov-08 12:09
professionalDaveyM692-Nov-08 12:09 
QuestionHow to fill the combobox with array list? Pin
zeeShan anSari2-Nov-08 3:44
zeeShan anSari2-Nov-08 3:44 
AnswerRe: How to fill the combobox with array list? Pin
Mohammad Dayyan2-Nov-08 10:21
Mohammad Dayyan2-Nov-08 10:21 
QuestionDatagridview changing the row backcolor based on value of coloum in the same grid view Pin
Member 39538562-Nov-08 1:42
Member 39538562-Nov-08 1:42 
AnswerRe: Datagridview changing the row backcolor based on value of coloum in the same grid view [modified] Pin
Pedram Behroozi2-Nov-08 2:35
Pedram Behroozi2-Nov-08 2:35 
GeneralRe: Datagridview changing the row backcolor based on value of coloum in the same grid view Pin
Member 39538562-Nov-08 3:03
Member 39538562-Nov-08 3:03 
Hi Pedram ,
I tried this as well it does not work,
first I selected all rows which meet the specified condition

This is just to show the selection, Its alternate rows here
but in real scenario its any random row.

int yyy = 0;

foreach (DataGridViewRow rowss in dataGridView1.Rows)
{
if (yyy % 2 == 0)
{
rowss.Selected = true;
}
else
{
}
yyy++;

}



, then I used your or each statement but still I get the same results. There is no color on the datagridview. This Datagridview is placed on a user Object and It is added on a form at the run time.Does it make any difference ?


Regards
Omer
GeneralRe: Datagridview changing the row backcolor based on value of coloum in the same grid view Pin
Pedram Behroozi2-Nov-08 4:35
Pedram Behroozi2-Nov-08 4:35 
AnswerRe: Datagridview changing the row backcolor based on value of coloum in the same grid view Pin
richardw482-Nov-08 4:56
richardw482-Nov-08 4:56 
GeneralRe: Datagridview changing the row backcolor based on value of coloum in the same grid view Pin
Member 39538562-Nov-08 6:54
Member 39538562-Nov-08 6:54 
QuestionData grid view format Pin
muharrem2-Nov-08 1:16
muharrem2-Nov-08 1:16 
QuestionGet values from ListBox Pin
zeeShan anSari1-Nov-08 23:50
zeeShan anSari1-Nov-08 23:50 
AnswerRe: Get values from ListBox Pin
Wendelius2-Nov-08 1:02
mentorWendelius2-Nov-08 1:02 
AnswerRe: Get values from ListBox Pin
Hossein Afyuoni2-Nov-08 1:18
Hossein Afyuoni2-Nov-08 1:18 
AnswerRe: Get values from ListBox Pin
zeeShan anSari2-Nov-08 3:36
zeeShan anSari2-Nov-08 3:36 
GeneralRe: Get values from ListBox Pin
Guffa2-Nov-08 10:19
Guffa2-Nov-08 10:19 
QuestionHow to use DFS algorithm for maze ? Pin
sitnet1-Nov-08 22:54
sitnet1-Nov-08 22:54 
AnswerRe: How to use DFS algorithm for maze ? Pin
Pedram Behroozi1-Nov-08 23:48
Pedram Behroozi1-Nov-08 23:48 
AnswerRe: How to use DFS algorithm for maze ? Pin
Meer Osman Ali2-Nov-08 3:13
Meer Osman Ali2-Nov-08 3:13 
GeneralRe: How to use DFS algorithm for maze ? Pin
Pete O'Hanlon2-Nov-08 10:32
mvePete O'Hanlon2-Nov-08 10:32 
AnswerRe: How to use DFS algorithm for maze ? Pin
Mark Churchill2-Nov-08 14:32
Mark Churchill2-Nov-08 14:32 
QuestionHow to grab text from another windows application in c# ? Pin
parinya21-Nov-08 19:40
parinya21-Nov-08 19:40 
AnswerRe: How to grab text from another windows application in c# ? Pin
User 66581-Nov-08 23:02
User 66581-Nov-08 23:02 
GeneralRe: How to grab text from another windows application in c# ? Pin
parinya23-Nov-08 3:08
parinya23-Nov-08 3: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.