Click here to Skip to main content
15,903,362 members
Home / Discussions / C#
   

C#

 
GeneralRe: Right to left in listbox Pin
Stefan Troschuetz13-Aug-06 22:33
Stefan Troschuetz13-Aug-06 22:33 
AnswerRe: Right to left in listbox Pin
Nafiseh Salmani18-Sep-06 23:34
Nafiseh Salmani18-Sep-06 23:34 
QuestionC# and SCSI tape drive Pin
Dima Statz12-Aug-06 22:25
Dima Statz12-Aug-06 22:25 
AnswerRe: C# and SCSI tape drive Pin
amini_porroo2-May-12 0:23
amini_porroo2-May-12 0:23 
Questionlistbox Pin
Nafiseh Salmani12-Aug-06 20:41
Nafiseh Salmani12-Aug-06 20:41 
QuestionRe: listbox Pin
CooperWu12-Aug-06 23:48
CooperWu12-Aug-06 23:48 
AnswerRe: listbox Pin
Nafiseh Salmani13-Aug-06 0:21
Nafiseh Salmani13-Aug-06 0:21 
Questionselecting columns to use in a dataview [modified] Pin
Glen Harvy12-Aug-06 17:37
Glen Harvy12-Aug-06 17:37 
using VS2005;

I'm having trouble getting my mind around dataviews and datatables Confused | :confused: .

I have a datatable filled with * and has columns ID,Credit,Date,Description,Amount. I want to use the data in that datatable in several places in my program.

What I want to do is use a datagrid to display rows that are:
a) sorted in date order
b) rows are selected from the datatable because they fall into a programable date range and the Credit column value is true.
c) only some columns are displayed in the datagrid.

Will it be necessary to create another datatable programatically (in order to achieve (b) above) or is it possible to extract the data from the current datatable that holds all the data I want and then stick that selected data into the dataview?

TIA.


-- modified at 23:37 Saturday 12th August, 2006


-- modified at 23:38 Saturday 12th August, 2006

Glen Harvy

QuestionDownlaod a text file in C# Pin
nmandaliya12-Aug-06 11:56
nmandaliya12-Aug-06 11:56 
QuestionDownlaod a text file in C# Pin
nmandaliya12-Aug-06 11:54
nmandaliya12-Aug-06 11:54 
AnswerRe: Downlaod a text file in C# Pin
Insincere Dave12-Aug-06 15:36
Insincere Dave12-Aug-06 15:36 
GeneralRe: Downlaod a text file in C# Pin
nmandaliya13-Aug-06 20:00
nmandaliya13-Aug-06 20:00 
QuestionMS Agent Characters are not Talking NowAdays.... [modified] Pin
emran83412-Aug-06 11:29
emran83412-Aug-06 11:29 
AnswerRe: MS Agent Characters are not Talking NowAdays.... Pin
Rob Graham13-Aug-06 4:04
Rob Graham13-Aug-06 4:04 
GeneralRe: MS Agent Characters are not Talking NowAdays.... Pin
emran83413-Aug-06 6:44
emran83413-Aug-06 6:44 
QuestionPanel control does not update the position correctly [modified] Pin
Ista12-Aug-06 11:22
Ista12-Aug-06 11:22 
QuestionAdd html file to resource, and show it from there Pin
peterchen12-Aug-06 11:08
peterchen12-Aug-06 11:08 
AnswerRe: Add html file to resource, and show it from there Pin
Stefan Troschuetz12-Aug-06 11:43
Stefan Troschuetz12-Aug-06 11:43 
QuestionStrange .length of a string Pin
Stick^12-Aug-06 9:55
Stick^12-Aug-06 9:55 
AnswerRe: Strange .length of a string Pin
Guffa12-Aug-06 10:08
Guffa12-Aug-06 10:08 
GeneralRe: Strange .length of a string Pin
Stick^12-Aug-06 10:27
Stick^12-Aug-06 10:27 
Questionpublic variable Pin
md_refay12-Aug-06 9:46
md_refay12-Aug-06 9:46 
AnswerRe: public variable Pin
Ista12-Aug-06 10:01
Ista12-Aug-06 10:01 
AnswerRe: public variable Pin
Judah Gabriel Himango12-Aug-06 11:04
sponsorJudah Gabriel Himango12-Aug-06 11:04 
Questionbitmap being dragged does not appear as the actual size Pin
Ista12-Aug-06 9:45
Ista12-Aug-06 9:45 

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.