You are viewing our Forum Archives. To view or take place in current topics click here.
C# Database Access
Posted:

C# Database AccessPosted:

Nineteh
  • New Member
Status: Offline
Joined: Sep 22, 20158Year Member
Posts: 13
Reputation Power: 0
Status: Offline
Joined: Sep 22, 20158Year Member
Posts: 13
Reputation Power: 0
Greetings TTG,

I am making a staff application for my website and want to know how I can connect to my database that my website uses.

Is there a way I can do this? And if so, How can I target a column to get the information?

Thank-you in advance!
#2. Posted:
speed
  • Summer 2023
Status: Offline
Joined: Jun 11, 200914Year Member
Posts: 9,897
Reputation Power: 3160
Motto: "I'l no I grew up to fast speed I no u will be little famous" - Famous_Energy
Motto: "I'l no I grew up to fast speed I no u will be little famous" - Famous_Energy
Status: Offline
Joined: Jun 11, 200914Year Member
Posts: 9,897
Reputation Power: 3160
Motto: "I'l no I grew up to fast speed I no u will be little famous" - Famous_Energy
Just to clarify, by "staff application" I'm assuming you're meaning a winform built in c#, right?

If so, you never want to connect the client straight to the db.

You should be handling all of the db interactions server-side, probably using php unless you prefer something else.

Make a web request from your program to your server using the data you need to complete the query, then return the necessary data to the client.
Jump to:
You are viewing our Forum Archives. To view or take place in current topics click here.