Click here to Skip to main content
15,889,931 members
Home / Discussions / C#
   

C#

 
Questionclick a button on a website using webbrowser in c# 2005 Pin
Green Fuze2-Aug-06 12:02
Green Fuze2-Aug-06 12:02 
QuestionMake Polygon Follow a Line Pin
Sautin.net2-Aug-06 11:21
Sautin.net2-Aug-06 11:21 
AnswerRe: Make Polygon Follow a Line Pin
Judah Gabriel Himango2-Aug-06 11:43
sponsorJudah Gabriel Himango2-Aug-06 11:43 
GeneralRe: Make Polygon Follow a Line [modified] Pin
Sautin.net2-Aug-06 12:26
Sautin.net2-Aug-06 12:26 
GeneralRe: Make Polygon Follow a Line Pin
lmoelleb2-Aug-06 22:52
lmoelleb2-Aug-06 22:52 
AnswerRe: Make Polygon Follow a Line Pin
Christian Graus2-Aug-06 14:05
protectorChristian Graus2-Aug-06 14:05 
AnswerRe: Make Polygon Follow a Line Pin
Sautin.net3-Aug-06 5:26
Sautin.net3-Aug-06 5:26 
QuestionDataGridView removing rows takes forever Pin
shultas2-Aug-06 10:18
shultas2-Aug-06 10:18 
Hi everyone,

I have this small project. It reads from a file and populates a DataGridView. It has been working great when there were only 100 or 200 rows, but now there are 750 and it doesn't work well at all. I'm not sure what I am doing wrong.

When you first enter the page, there is a "SYNC" button. This opens the file, reads from it and populates the datagridview. Well, you can hit SYNC as many times as you want. What I am doing is when you press that button, clear the datagridview, and then re-populate it. I have tried DataGridView1.Rows.Clear(), and I have also tried ForEach loops that run a Rows.Remove() and Rows.RemoveAt() with no luck. I have 751 rows in there, and I have a message box pop up before it begins the Rows.RemoveAt() routine, then another message box that pops up after the foreach loop. It is taking like 30 seconds (I'm on a very very fast machine) to do this, and 98% of my system resources go to it. I'm not sure if it is trying to sort, or redraw or do something each time it deletes a row out of there or what. When the Rows.RemoteAt() routine finishes it has done what needed to be done (cleared out the datagridview completely), but it just takes way too long. I'm not sure exactly what it is that I can do to speed this up?? Any help would be extremely appreciated.
QuestionVB6 InputBox in C# Pin
Kasic Slobodan2-Aug-06 10:17
Kasic Slobodan2-Aug-06 10:17 
AnswerRe: VB6 InputBox in C# Pin
Ennis Ray Lynch, Jr.2-Aug-06 10:38
Ennis Ray Lynch, Jr.2-Aug-06 10:38 
GeneralRe: VB6 InputBox in C# Pin
Kasic Slobodan2-Aug-06 11:47
Kasic Slobodan2-Aug-06 11:47 
QuestionBest way to debug Pin
Tom Wright2-Aug-06 9:58
Tom Wright2-Aug-06 9:58 
JokeRe: Best way to debug Pin
Paul Voicu2-Aug-06 10:06
Paul Voicu2-Aug-06 10:06 
GeneralRe: Best way to debug Pin
Tom Wright2-Aug-06 11:36
Tom Wright2-Aug-06 11:36 
GeneralRe: Best way to debug Pin
Paul Voicu2-Aug-06 11:40
Paul Voicu2-Aug-06 11:40 
AnswerPen and Paper Pin
Ennis Ray Lynch, Jr.2-Aug-06 10:39
Ennis Ray Lynch, Jr.2-Aug-06 10:39 
QuestionHow do I print the contents of a pictureBox Pin
michmela442-Aug-06 9:07
michmela442-Aug-06 9:07 
AnswerUse a printer Pin
Ennis Ray Lynch, Jr.2-Aug-06 9:34
Ennis Ray Lynch, Jr.2-Aug-06 9:34 
AnswerRe: How do I print the contents of a pictureBox Pin
stancrm2-Aug-06 20:02
stancrm2-Aug-06 20:02 
QuestionA better way than multiple case in switch statement Pin
allenmpcx2-Aug-06 9:00
allenmpcx2-Aug-06 9:00 
AnswerRe: A better way than multiple case in switch statement Pin
vineas2-Aug-06 9:12
vineas2-Aug-06 9:12 
GeneralRe: A better way than multiple case in switch statement Pin
allenmpcx2-Aug-06 9:29
allenmpcx2-Aug-06 9:29 
GeneralRe: A better way than multiple case in switch statement Pin
Stefan Troschuetz2-Aug-06 10:04
Stefan Troschuetz2-Aug-06 10:04 
GeneralRe: A better way than multiple case in switch statement Pin
allenmpcx2-Aug-06 10:00
allenmpcx2-Aug-06 10:00 
QuestionLittle Endian vs Big Endian [modified] Pin
seq-2-Aug-06 8:16
seq-2-Aug-06 8:16 

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.