Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
my code is
C#
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
Updated 28-Nov-12 22:19pm
v2

You may use the DataTable.Select[^] method.
 
Share this answer
 
You can use DataView concept to filter data in data table.I hope it will solve your problem.
 
Share this answer
 

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900