Click here to Skip to main content
15,886,077 members
Home / Discussions / C#
   

C#

 
GeneralRe: Ambiguous constructor signatures? Pin
Keith Barrow22-Oct-09 5:09
professionalKeith Barrow22-Oct-09 5:09 
GeneralRe: Ambiguous constructor signatures? Pin
Clive D. Pottinger22-Oct-09 7:34
Clive D. Pottinger22-Oct-09 7:34 
GeneralRe: Ambiguous constructor signatures? Pin
Keith Barrow22-Oct-09 11:46
professionalKeith Barrow22-Oct-09 11:46 
GeneralRe: Ambiguous constructor signatures? Pin
Clive D. Pottinger23-Oct-09 6:31
Clive D. Pottinger23-Oct-09 6:31 
Questionproxy server Pin
Zeyad Jalil22-Oct-09 3:28
professionalZeyad Jalil22-Oct-09 3:28 
QuestionReading grayscale values into Bitmap Pin
econner22-Oct-09 2:33
econner22-Oct-09 2:33 
AnswerRe: Reading grayscale values into Bitmap Pin
stancrm22-Oct-09 2:52
stancrm22-Oct-09 2:52 
QuestionFilter Gridview that are bound to an XML file Pin
Ronni Marker22-Oct-09 2:19
Ronni Marker22-Oct-09 2:19 
Hi everyone.

I am currently playing around with XML files and gridview, and wondered if there were any easy way to filter data, so only rows with specific content are shown.

I have the following.

DataTable dt = new DataTable("Subscribers");
dt.Columns.Add("ID");
dt.Columns.Add("Email");
dt.Columns.Add("signup");
dt.Columns.Add("recent");
dt.Columns.Add("Amount");
dt.Columns.Add("Status");
dt.ReadXml(Application.StartupPath + @"\subscribers.xml");
dataGridView1.DataSource = dt;
dataGridView1.Refresh();


and would like to filter it so rows who fx. only have the value 0 in the columns "Status" would be shown.

Initially hoped that I could use dt.Select("Status == 0") but that didnt work.

so any supercoders out there? yes, yes i did try to google my issue, but didnt find any solution to my small challenge here...

other alternative that I will go back to my good old SQL Server, skip XML files and just use what I am used to - but that would be too easy...
AnswerRe: Filter Gridview that are bound to an XML file Pin
stancrm22-Oct-09 2:30
stancrm22-Oct-09 2:30 
GeneralRe: Filter Gridview that are bound to an XML file Pin
Ronni Marker22-Oct-09 2:33
Ronni Marker22-Oct-09 2:33 
GeneralRe: Filter Gridview that are bound to an XML file Pin
stancrm22-Oct-09 2:39
stancrm22-Oct-09 2:39 
GeneralRe: Filter Gridview that are bound to an XML file Pin
Ronni Marker22-Oct-09 2:58
Ronni Marker22-Oct-09 2:58 
GeneralRe: Filter Gridview that are bound to an XML file Pin
Henry Minute22-Oct-09 5:59
Henry Minute22-Oct-09 5:59 
GeneralRe: Filter Gridview that are bound to an XML file Pin
Ronni Marker22-Oct-09 6:15
Ronni Marker22-Oct-09 6:15 
Questionconvert .xls file into image file or word image file Pin
Member 438836022-Oct-09 1:24
Member 438836022-Oct-09 1:24 
AnswerRe: convert .xls file into image file or word image file Pin
Ashfield22-Oct-09 1:30
Ashfield22-Oct-09 1:30 
AnswerRe: convert .xls file into image file or word image file Pin
Wes Aday22-Oct-09 4:06
professionalWes Aday22-Oct-09 4:06 
AnswerRe: convert .xls file into image file or word image file Pin
benjymous22-Oct-09 5:03
benjymous22-Oct-09 5:03 
Questionhaving problem in opening Ms Office files into webBrowser Pin
muhammad_umair22-Oct-09 1:08
muhammad_umair22-Oct-09 1:08 
AnswerRe: having problem in opening Ms Office files into webBrowser Pin
Richard MacCutchan22-Oct-09 1:50
mveRichard MacCutchan22-Oct-09 1:50 
QuestionUsing lock statement inside overloaded methods Pin
Nuno Pacheco22-Oct-09 0:19
Nuno Pacheco22-Oct-09 0:19 
AnswerRe: Using lock statement inside overloaded methods Pin
Covean22-Oct-09 1:12
Covean22-Oct-09 1:12 
GeneralRe: Using lock statement inside overloaded methods Pin
Nuno Pacheco22-Oct-09 1:23
Nuno Pacheco22-Oct-09 1:23 
GeneralRe: Using lock statement inside overloaded methods Pin
Covean22-Oct-09 1:48
Covean22-Oct-09 1:48 
GeneralRe: Using lock statement inside overloaded methods Pin
Nuno Pacheco22-Oct-09 2:36
Nuno Pacheco22-Oct-09 2:36 

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.