Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1010421
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T09:04:48+00:00 2026-05-16T09:04:48+00:00

I am new to the .Net world, and was wanting to create a class

  • 0

I am new to the .Net world, and was wanting to create a class so I can learn OOP.

I have a .sln file, with multiple projects in that file. I want to create a class that will accept 3 parameters, a “stored proc name”, “UserID” and “PageName”. The stored proc will log the id of the person who launches a particular page, the page name and the DateTime (which is in the stored proc). This is for internal monitoring of sensitive HR data.

This proc will be called by the multiple projects within my .sln

Can someone advise me how to create the class, or point me to any resources? Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T09:04:49+00:00Added an answer on May 16, 2026 at 9:04 am

    A class wouldn’t accept parameters. A method within a class would accept parameters.

    What you’re describing is just a method call that takes the parameters and executes a stored procedure on a SQL server. You can find the documentation on doing that just about anywhere. Such as here: http://www.csharp-station.com/Tutorials/AdoDotNet/Lesson07.aspx

    For a basic introduction to Object Oriented Programming, from a .NET perspective, this is as good a place to start as any (and better than many. It teaches in plain English, explaining technical jargon in a clear, understandable manner.). Since you say you’re new to .NET and want to learn OOP, I’m not sure if that means “new to programming” or “I’ve done procedural programming only in the past”. Either way, the MSDN Beginner Learning Center has good information regardless of your skill level.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am new to the world of VB.NET and have been tasked to put
I'm new to Visual C++, .NET, and the Windows world of programming (coming from
I am researching a new ASP.Net project that we would like to host in
I have a .NET 4 C# service that is using the TPL libraries for
I'm fairly new to real world MVC / .NET development (i've been studying MVC
I am new to ASP.Net MVC and ASP.Net web api. I have worked on
I have an ASP.NET MVC web application that makes REST style web service calls
FYI - I am a mainframer that moved to the .NET world a couple
I'm new to asp.net mvc world. Are there any cms system based on asp.net
I have a new VB.Net WPF application. The MainWindow.xaml contains nothing more than a

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.