dv = new DataView(ds.Tables[0]); dv.Sort = "Product_Name"; int index = dv.Find("Product2");
if (index == -1) { MessageBox.Show("Item Not Found"); } else { MessageBox.Show(dv[index]["Product_Name"].ToString() + " " + dv[index]["Product_Price"].ToString());
} } } }
Liked By
Write Answer
Search in a XML file in C#
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy
Join MindStick Community
You have need login or register for voting of answers or question.
Sumit Kesarwani
15-Jun-2013