The problem is that your Search method requires parameters and you haven't supplied any when you called it. Your code should look like this:
Category Cat = new Category();DataTable dt = Cat.Search("MyField", "MyValue");
~~Bonnie DeWitt [C# MVP]
http://ift.tt/1bPbIRj
No comments:
Post a Comment