Click here to Skip to main content
15,890,336 members
Home / Discussions / C#
   

C#

 
GeneralRe: incrmenting by 01 instead of 1 Pin
Anthony Mushrow10-Dec-07 2:20
professionalAnthony Mushrow10-Dec-07 2:20 
GeneralRe: incrmenting by 01 instead of 1 Pin
eyeseetee10-Dec-07 2:56
eyeseetee10-Dec-07 2:56 
GeneralRe: incrmenting by 01 instead of 1 Pin
J4amieC10-Dec-07 3:09
J4amieC10-Dec-07 3:09 
GeneralRe: incrmenting by 01 instead of 1 Pin
eyeseetee10-Dec-07 3:22
eyeseetee10-Dec-07 3:22 
GeneralRe: incrmenting by 01 instead of 1 Pin
eyeseetee10-Dec-07 3:27
eyeseetee10-Dec-07 3:27 
GeneralRe: incrmenting by 01 instead of 1 Pin
J4amieC10-Dec-07 5:07
J4amieC10-Dec-07 5:07 
GeneralProblem with datatable Pin
Shaahinm10-Dec-07 1:04
Shaahinm10-Dec-07 1:04 
GeneralRe: Problem with datatable Pin
CKnig10-Dec-07 1:17
CKnig10-Dec-07 1:17 
I strongly advise to use SQL to get only the data you want.
If this is not possible you will have to use loop to step through all returned rows and fill a new DataTable with only the rows you want (ImportRow) (no a DataView won't help if you can't use SQL to filter).

If you may use LINQ it's getting simpler - just use where with your IF
(for example:

<br />
<br />
var FilteredDT = from c in originalTable<br />
                 where (c => (statements from the if for c - for example c.Name.StartsWith("x")))<br />
                 select c;<br />
<br />

Generalwebbrowser progressbar control Pin
Hari Om Prakash Sharma10-Dec-07 0:58
Hari Om Prakash Sharma10-Dec-07 0:58 
GeneralRe: webbrowser progressbar control Pin
CKnig10-Dec-07 1:01
CKnig10-Dec-07 1:01 
GeneralRe: webbrowser progressbar control Pin
Hari Om Prakash Sharma10-Dec-07 1:16
Hari Om Prakash Sharma10-Dec-07 1:16 
GeneralRe: webbrowser progressbar control Pin
Luc Pattyn10-Dec-07 2:04
sitebuilderLuc Pattyn10-Dec-07 2:04 
GeneralThank u so much! Pin
Hari Om Prakash Sharma10-Dec-07 17:50
Hari Om Prakash Sharma10-Dec-07 17:50 
Generalproblem with if statement Pin
eyeseetee10-Dec-07 0:27
eyeseetee10-Dec-07 0:27 
GeneralRe: problem with if statement Pin
CKnig10-Dec-07 0:38
CKnig10-Dec-07 0:38 
GeneralRe: problem with if statement Pin
eyeseetee10-Dec-07 1:39
eyeseetee10-Dec-07 1:39 
Questionhow to get present item from generic list using c# Pin
ramyanaidu9-Dec-07 23:59
ramyanaidu9-Dec-07 23:59 
AnswerRe: how to get present item from generic list using c# Pin
Anthony Mushrow10-Dec-07 0:09
professionalAnthony Mushrow10-Dec-07 0:09 
AnswerRe: how to get present item from generic list using c# Pin
CKnig10-Dec-07 0:58
CKnig10-Dec-07 0:58 
Generalupdates on stored procedure does not appear on dataset Pin
subai9-Dec-07 23:48
subai9-Dec-07 23:48 
GeneralSwitching Internet connections Pin
new2pgrmg9-Dec-07 23:47
new2pgrmg9-Dec-07 23:47 
Generalproblem with propertygrid Pin
Deglimmer9-Dec-07 23:43
Deglimmer9-Dec-07 23:43 
GeneralRe: problem with propertygrid Pin
visualhint13-Dec-07 11:36
visualhint13-Dec-07 11:36 
Generalproblem to load Data from form2 to form1.gridView Pin
hdv2129-Dec-07 23:32
hdv2129-Dec-07 23:32 
GeneralRe: problem to load Data from form2 to form1.gridView Pin
CKnig10-Dec-07 1:10
CKnig10-Dec-07 1:10 

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.