Click here to Skip to main content
12,953,223 members (80,219 online)
Rate this:
 
Please Sign up or sign in to vote.
See more:
my code is
internal void WebServiceProxyMethod()
        {
            try
            {
                vocher = new Voucher();
                vocher.Credentials = new System.Net.NetworkCredential("MTL101", "MTLXXXX");
                XmlNode xmlnode = vocher.VoucherExport();
 
                XmlReader xmlReader = new XmlNodeReader(xmlnode);
                using (ds = new DataSet())
                {
                    ds.ReadXml(xmlReader);
                    DataTable dt = ds.Tables["TableName"];
                    if (dt != null)
                    {
                        foreach (DataRow dr in dt.Rows)
                        {
 
                        }
                    }
                }
            }

i want filter the databased on this
Posted 28-Nov-12 21:27pm
janadts386
Updated 28-Nov-12 22:19pm
v2
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

You can use DataView concept to filter data in data table.I hope it will solve your problem.
  Permalink  
Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 2

You may use the DataTable.Select[^] method.
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

    Print Answers RSS
Top Experts
Last 24hrsThis month
OriginalGriff 6,429
CHill60 3,490
Maciej Los 3,103
Jochen Arndt 1,975
ppolymorphe 1,920


Advertise | Privacy | Mobile
Web02 | 2.8.170525.1 | Last Updated 29 Nov 2012
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100