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

.NET (Core and Framework)

 
GeneralRe: Attempt to bump post. Pin
yrishi5-Jun-09 0:38
yrishi5-Jun-09 0:38 
GeneralRe: Attempt to bump post. Pin
led mike5-Jun-09 5:03
led mike5-Jun-09 5:03 
AnswerRe: communication between device and asp.net Pin
saanj9-Jun-09 0:18
saanj9-Jun-09 0:18 
AnswerRe: communication between device and asp.net Pin
Baran M9-Jun-09 1:33
Baran M9-Jun-09 1:33 
Questionimplementing progressbar while saving data database Pin
TARAK NATH ROY4-Jun-09 20:08
TARAK NATH ROY4-Jun-09 20:08 
AnswerRe: implementing progressbar while saving data database Pin
Pete O'Hanlon4-Jun-09 22:19
mvePete O'Hanlon4-Jun-09 22:19 
QuestionStyle of a DataGridView.Row by using DataSet Pin
C-Scharbe4-Jun-09 9:22
C-Scharbe4-Jun-09 9:22 
AnswerRe: Style of a DataGridView.Row by using DataSet Pin
C-Scharbe4-Jun-09 22:30
C-Scharbe4-Jun-09 22: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 19:34
Venkatesh Ellur7-Jun-09 19:34 
GeneralRe: Style of a DataGridView.Row by using DataSet Pin
C-Scharbe17-Jul-09 21:26
C-Scharbe17-Jul-09 21:26 
QuestionCalling Code in Host Application From a Workflow Pin
Patrick Skelton4-Jun-09 0:09
Patrick Skelton4-Jun-09 0:09 
AnswerRe: Calling Code in Host Application From a Workflow Pin
Adriaan Davel4-Jun-09 2:01
Adriaan Davel4-Jun-09 2:01 
GeneralRe: Calling Code in Host Application From a Workflow Pin
Patrick Skelton4-Jun-09 2:13
Patrick Skelton4-Jun-09 2:13 
Questionhow to display xml data from IIS in asp.net? Pin
yrishi3-Jun-09 23:26
yrishi3-Jun-09 23:26 
AnswerRe: how to display xml data from IIS in asp.net? Pin
Manas Bhardwaj4-Jun-09 4:13
professionalManas Bhardwaj4-Jun-09 4:13 
GeneralRe: how to display xml data from IIS in asp.net? Pin
yrishi4-Jun-09 23:39
yrishi4-Jun-09 23:39 
AnswerRe: how to display xml data from IIS in asp.net? Pin
xiaowei Song4-Jun-09 15:23
xiaowei Song4-Jun-09 15:23 
AnswerRe: how to display xml data from IIS in asp.net? Pin
saanj9-Jun-09 0:22
saanj9-Jun-09 0:22 
AnswerRe: how to display xml data from IIS in asp.net? Pin
Baran M9-Jun-09 1:36
Baran M9-Jun-09 1:36 
QuestionAppDomain.CurrentDomain and static methods Pin
Adriaan Davel3-Jun-09 21:29
Adriaan Davel3-Jun-09 21:29 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Simon P Stevens3-Jun-09 22:01
Simon P Stevens3-Jun-09 22:01 
AnswerRe: AppDomain.CurrentDomain and static methods Pin
Nicholas Butler4-Jun-09 1:08
sitebuilderNicholas Butler4-Jun-09 1:08 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Adriaan Davel4-Jun-09 1:58
Adriaan Davel4-Jun-09 1:58 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Nicholas Butler4-Jun-09 2:02
sitebuilderNicholas Butler4-Jun-09 2:02 
GeneralRe: AppDomain.CurrentDomain and static methods Pin
Adriaan Davel4-Jun-09 19:11
Adriaan Davel4-Jun-09 19: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.