Click here to Skip to main content
15,569,768 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
GeneralRe: Attempt to bump post. Pin
yrishi5-Jun-09 1:38
yrishi5-Jun-09 1:38 
GeneralRe: Attempt to bump post. Pin
led mike5-Jun-09 6:03
led mike5-Jun-09 6:03 
AnswerRe: communication between device and asp.net Pin
saanj9-Jun-09 1:18
saanj9-Jun-09 1:18 
AnswerRe: communication between device and asp.net Pin
Baran M9-Jun-09 2:33
Baran M9-Jun-09 2:33 
Questionimplementing progressbar while saving data database Pin
TARAK NATH ROY4-Jun-09 21:08
TARAK NATH ROY4-Jun-09 21:08 
AnswerRe: implementing progressbar while saving data database Pin
Pete O'Hanlon4-Jun-09 23:19
mvaPete O'Hanlon4-Jun-09 23:19 
QuestionStyle of a DataGridView.Row by using DataSet Pin
C-Scharbe4-Jun-09 10:22
C-Scharbe4-Jun-09 10:22 
AnswerRe: Style of a DataGridView.Row by using DataSet Pin
C-Scharbe4-Jun-09 23:30
C-Scharbe4-Jun-09 23:30 
In that way i currently solved it:

<br />
private void dataGridView1_RowPrePaint(object sender, DataGridViewRowPrePaintEventArgs e)<br />
{<br />
            int i = 0;<br />
<br />
            try<br />
            {<br />
dataGridView1.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.White;<br />
                if (dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString().Contains(textBox1.Text))<br />
                {<br />
                    dataGridView1.Rows[e.RowIndex].DefaultCellStyle.BackColor = Color.ForestGreen;<br />
                }<br />
                int ii = 1 / i;<br />
            }<br />
            catch<br />
            {<br />
<br />
            }<br />
        }<br />


I used the RowPrePaint event. So everytime when the row will be painted there is a check if the BackColor should be changed.
I tested it with 1,000,000 rows in fullscreen and the performance is (not the best but) ok.

But if you have another solution, feel free to post it.
AnswerRe: Style of a DataGridView.Row by using DataSet Pin
Venkatesh Ellur7-Jun-09 20:34
Venkatesh Ellur7-Jun-09 20:34 
GeneralRe: Style of a DataGridView.Row by using DataSet Pin
C-Scharbe17-Jul-09 22:26
C-Scharbe17-Jul-09 22:26 
QuestionCalling Code in Host Application From a Workflow Pin
Patrick Skelton4-Jun-09 1:09
Patrick Skelton4-Jun-09 1:09 
AnswerRe: Calling Code in Host Application From a Workflow Pin
Adriaan Davel4-Jun-09 3:01
Adriaan Davel4-Jun-09 3:01 
GeneralRe: Calling Code in Host Application From a Workflow Pin
Patrick Skelton4-Jun-09 3:13
Patrick Skelton4-Jun-09 3:13 
Questionhow to display xml data from IIS in asp.net? Pin
yrishi4-Jun-09 0:26
yrishi4-Jun-09 0:26 
AnswerRe: how to display xml data from IIS in asp.net? Pin
Manas Bhardwaj4-Jun-09 5:13
professionalManas Bhardwaj4-Jun-09 5:13 
GeneralRe: how to display xml data from IIS in asp.net? Pin
yrishi5-Jun-09 0:39
yrishi5-Jun-09 0:39 
AnswerRe: how to display xml data from IIS in asp.net? Pin
xiaowei Song4-Jun-09 16:23
xiaowei Song4-Jun-09 16:23 
AnswerRe: how to display xml data from IIS in asp.net? Pin
saanj9-Jun-09 1:22
saanj9-Jun-09 1:22 
AnswerRe: how to display xml data from IIS in asp.net? Pin
Baran M9-Jun-09 2:36
Baran M9-Jun-09 2:36 
QuestionAppDomain.CurrentDomain and static methods Pin
Adriaan Davel3-Jun-09 22:29
Adriaan Davel3-Jun-09 22:29 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Simon P Stevens3-Jun-09 23:01
Simon P Stevens3-Jun-09 23:01 
AnswerRe: AppDomain.CurrentDomain and static methods Pin
Nicholas Butler4-Jun-09 2:08
sitebuilderNicholas Butler4-Jun-09 2:08 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Adriaan Davel4-Jun-09 2:58
Adriaan Davel4-Jun-09 2:58 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Nicholas Butler4-Jun-09 3:02
sitebuilderNicholas Butler4-Jun-09 3:02 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Adriaan Davel4-Jun-09 20:11
Adriaan Davel4-Jun-09 20:11 

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.