Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am planning to design a website which displays the live scores of matches(NBA, AFL) etc. I would like to get scores, store them in my database and then display in my website. How can I accomplish this. Thanks in advance.
Thanks,
Sandeep.
Well first you need to decide how you're going to get the data. Is there a webservice that you can query? A document/webpage you can parse to get the information? Are you going to write a speech recognition device to interpret results from the radio or will you type it in by hand.
Then you need to get your database up and running, and whatever is reading your data (maybe it could be a windows service) can write the data into the database. Something like SQLExpress is quite good to try out.
Once you've got that you'll need to decide on your technology, ASP.NET or Silverlight are some good examples. You'll want to create some controls and then databind to the results from your database, which you could obtain using SQL expressions.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I'm currently learning WPF with the goal of making a simple app for a friend. This app will make use of a database and the PC were it will run won't be connected to the internet.
I know how to make a simple database using the server management studio, and how to connect to it in my code. But so far, all tutorials/docs I've seen only talk about making use of a database in my pc, but in the case when I finish said app, how I go about setting all of this up in his (or any other)?
The end goal is for the app to be 'plug and play' and that the database files can be easily backed up.
I don't expected a step by step process! Just some direction for where to look for would be more than enough... thank you.
Use an SQLite DB, can be part of the App
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am trying to make an economy bot for discord using C#. I am confused about how I am going to do it. I might have to use databases but in that case how do I make it so it makes a new line for every user that has used the command. Any help would be nice, thanks.
You need to use a database. If this is your first time using databases, I highly recommened SQLite. You should also see video tutorials such as this one.
Once you have familiarised yourself with a SQLite databases then you will be able to answer your own question extremely easily. It is not difficult and requires some very simple logic. Attempt it yourself first and if you are still stuck reply to this answer.
Consider viewing this W3Schools resource when you are comfortable with the basics.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
We have a c# application wich is used by user to do stuff ;-)
What I want is to add at the startpage of the application some news or information like "hey, there is a new update for the application" or "did you know this feature..." Basically I want something similar like the startpage in Visual Studio.
The news should remain when there is no internet connection and update when there are new entires.
What's the best way to do this?
Thanks
Let your application read some data from file located in the server (XML is good idea), Also you must save the current version of your app in some file (or some where).
So after comparing between the two values you can decide what to show in your news bar.
To show some news you can just read it from another XML file in the server, Then organized it like you want.
here is good ways to read XML from server Read an XML file from http address
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm building a C# application and would like to sell it for an audience. I would like to upload a database file into a website I own and give serial numbers to be verified first with this database file, once the database store the given serial and the first registered PC then it blocks this serial for other users.
Can anybody guide me on how to make such step during installation time? how I can connect to a remote database on a website to read and write?
Thank you for your time, really appreciate it.
If i understand you, this is what your looking for.
Using that you should be able to check a serial against the database.
One way to block the serials for repeated use is to couple a boolean "used" with a serial on each row. Then you can check both if the serial is found in the database, and if the boolean value is false.
Make sure to keep the input safe to prevent SQL injection.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm making an app using Unity3D, and I want to add some sort of virtual currency to my game. Although, I cannot figure out how to implement a virtual currency so that a user can still play without internet. I want the data to be hosted on my own database. The problem with that comes when my user does not have internet. How could I safely store a user's virtual currency when they go offline? I have looked a lot and could not find anything.
You could save datas on the device with SQlite database and then sync with the main server when it goes online.
Main server can be handled with Firebase or Google Games Services or other services.
You should add triggers to validate the amount to prevent hacking because datas stored on the device are not 100% safe.