Guys, I've got hopefully a quick question here. I'm a reasonable vb.net coder but recently I have had to convert to C# for a job. Although I understand OO princeables its been awhile since I've coded in any C like language and I'm getting myself tied in knots 
In one of my VB.Net apps, I have a Module called dbAccess which has various procedures in it I can call from any page. So if I was on a search.aspx.vb page I could type dbAccess. (which will then pop up a menu to allow me to choose one of the procedures from the module) and I would choose for example dbAccess.MyProcedure(string, int) etc.
How do I do something similar in C#? Do I need to use classes??? All I want to do is just share a commonly used set of fucntions across pages, just don't know the C# ay of doing this
A point in the right direction would be very helpful!
- Jay
code@jay-hayman.co.uk
In one of my VB.Net apps, I have a Module called dbAccess which has various procedures in it I can call from any page. So if I was on a search.aspx.vb page I could type dbAccess. (which will then pop up a menu to allow me to choose one of the procedures from the module) and I would choose for example dbAccess.MyProcedure(string, int) etc.
How do I do something similar in C#? Do I need to use classes??? All I want to do is just share a commonly used set of fucntions across pages, just don't know the C# ay of doing this
- Jay
code@jay-hayman.co.uk