That is a very vague question. Stored procedures are not a part of .Net, but
you can call a stored procedure in a database by using the
SqlCommand/OleDBCommand class.
As for how to use classes. You really have to be more specific. An
instance of a class is called by a reference to that instance, whereas static
members of a class is called by using the class name.
ClassA ca = new Class();
ca.InstanceMethod();
ClassA.StaticMethod();
--
Happy Coding!
Morten Wennevik [C# MVP]
"vi*******@gmail.com" wrote:
hi all........
can any body told me,how we use Classes & stored procedure in c#.
thanks in advance