Click here to Skip to main content
15,908,581 members
Home / Discussions / C#
   

C#

 
GeneralRe: panels Pin
benjamin yap4-Aug-08 16:14
benjamin yap4-Aug-08 16:14 
QuestionTo find if an excel file has got VBA code in it irrespective of the version of excel(it can be any version of excel) Pin
Suj_784-Aug-08 5:55
Suj_784-Aug-08 5:55 
AnswerRe: To find if an excel file has got VBA code in it irrespective of the version of excel(it can be any version of excel) Pin
Alaric_4-Aug-08 8:53
professionalAlaric_4-Aug-08 8:53 
Questionchange datagridview column name Pin
benjamin yap4-Aug-08 5:50
benjamin yap4-Aug-08 5:50 
AnswerRe: change datagridview column name Pin
Gulfraz Khan4-Aug-08 6:06
Gulfraz Khan4-Aug-08 6:06 
GeneralRe: change datagridview column name Pin
nelsonpaixao4-Aug-08 12:53
nelsonpaixao4-Aug-08 12:53 
GeneralRe: change datagridview column name Pin
benjamin yap4-Aug-08 16:37
benjamin yap4-Aug-08 16:37 
QuestionFancy search function Pin
Dewald4-Aug-08 5:01
Dewald4-Aug-08 5:01 
I'm hoping someone can nudge my thoughts in the right direction here. I'm trying to implement a semi-advanced search function.

Basically, what I have is, a DataGridView and a TextBox. The
DataGridView<code> was populated manualy (ie. not databinded to a DB or something) and has two columns, one for Scientific Name and one for Common Name (I'm listing species of birds or fish or whatever in the grid).<br />
<br />
I would now like to have the user type any part of a name into the <code>TextBox
and after every keypress the first row in the DataGridView that matches the text gets highlighted.

One (not so elegant) way of doing this would be to override the TextChanged event of the TextBox and do a foreach on all the rows in the DataGridView, looking for the entered text in each row and then highlighting it if a matchis found. The problem is that the grid can have several thousand entries and a foreach search might take much too long.

Any ideas will be appreciated.
AnswerRe: Fancy search function Pin
Gulfraz Khan4-Aug-08 5:13
Gulfraz Khan4-Aug-08 5:13 
AnswerRe: Fancy search function Pin
Guffa4-Aug-08 7:05
Guffa4-Aug-08 7:05 
AnswerRe: Fancy search function Pin
Guffa4-Aug-08 10:21
Guffa4-Aug-08 10:21 
GeneralRe: Fancy search function Pin
DaveyM694-Aug-08 10:34
professionalDaveyM694-Aug-08 10:34 
GeneralRe: Fancy search function Pin
Dewald4-Aug-08 20:19
Dewald4-Aug-08 20:19 
AnswerRe: Fancy search function Pin
nelsonpaixao4-Aug-08 12:58
nelsonpaixao4-Aug-08 12:58 
QuestionHow do I make a formless windows application? Pin
I_Need_Help4-Aug-08 4:50
I_Need_Help4-Aug-08 4:50 
AnswerRe: How do I make a formless windows application? Pin
Gulfraz Khan4-Aug-08 4:58
Gulfraz Khan4-Aug-08 4:58 
AnswerRe: How do I make a formless windows application? Pin
vikas amin4-Aug-08 5:31
vikas amin4-Aug-08 5:31 
GeneralRe: How do I make a formless windows application? Pin
vikas amin4-Aug-08 7:16
vikas amin4-Aug-08 7:16 
Questiongetting result from the cmd prompt Pin
lune124-Aug-08 4:44
lune124-Aug-08 4:44 
AnswerRe: getting result from the cmd prompt [modified] Pin
vikas amin4-Aug-08 5:41
vikas amin4-Aug-08 5:41 
AnswerRe: getting result from the cmd prompt Pin
smilethat4-Aug-08 6:45
smilethat4-Aug-08 6:45 
GeneralRe: getting result from the cmd prompt Pin
lune125-Aug-08 20:58
lune125-Aug-08 20:58 
QuestionData entry validation and databinding Pin
Gulfraz Khan4-Aug-08 4:20
Gulfraz Khan4-Aug-08 4:20 
QuestionLoad Report Failed Pin
Er.bRijal4-Aug-08 3:49
Er.bRijal4-Aug-08 3:49 
QuestionRe: Load Report Failed Pin
selcuks4-Aug-08 4:43
selcuks4-Aug-08 4:43 

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.