How To Generate Random Questions And Send Through Webservices? [closed] - sql

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
I want to generate a set of random questions and store in an array. Then I want to transfer the data through web services by converting the array into JSON... I'm not sure where to begin. Can somebody please point me in the right direction?

Peddy, You can go with following steps :
Get a database ready at first with a large set of Questions in a
table in your database.
Create a stored procedure to get a set of
random questions from that table.
Now you can go with Asp.Net to
create a web service.
Use json.Net methods to convert your data
fetched from DB in json format.
Send this jSon object using your web
service.
I think stratagy will work :)

Related

update a table on my website [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Hey all and thank you in advance for any help, I have my website I'm building as a hobby I have an java app I wrote sitting on my comp, it updates certain tables and the the end result is a table shown to users, now I update the tables manually using phpmyadmin.
The question is how do I set a connection to import tables into my website DB?
I googled it before I asked, haven't found related stuff....
There are many ways to do what you want (dozens in fact). One way, that I personally use is through PHP and the $mysqli class.
Read more on mysqli here
You will need to setup a database conection, and from here you would use this connection to query your database by building SQL queries and using the $mysqli class to send them to the database.

web Service With Objective-c [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
In My App I Wanna retrieve All Stores Near To The Curent Location in Egypt .
i used Google Places API But It Doesn't Give Me What I Need And It Has Only 20 Store .
any One Can Help Me With Web Service free Or Data Bas I Can Access .
Thanks In Advance
If that data does not exist in any form other than Google Places API you may be out of luck. I would recommend this site to search for APIs. http://www.programmableweb.com/apis
If programmableweb.com doesn't help I would recommend seeking out a company that perhaps creates business directories for Egypt. Assuming they are willing to work with you, you may end up needing to build the API all on your own.

Dynamic code generation and execution without writing code to database [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 10 years ago.
Is it possible to generate ABAP code and execute it in memory without writing code to DB?
Yes. Use Google. Use Google. Use Google. Use Google. Use Google. (I have to write at least 30 characters although I really don't have anything else to say besides that wanting to generate code dynamically is usually a sign you're on the wrong track.)

iPad application with remote database [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 11 years ago.
How can we implement iPad application that retrieve or store data from remote data source(Mysql). Are there any classes associate to achieve our requirement
If you are retrieving a remote database, then I would recommend creating a wrapper for your DB using a server-side language like PHP to serve the request from your application, just like it serves an AJAX client request.
In your iOS, you have to create a NSURL instance and request your PHP application for data. Now, for returning the data you can use your own format or standards like JSON or XML. There are numerous public JSON/XML parsers available for iOS!
How do you want to handle the delay of using a radio connection? You might want to consider using a json connection and a server application instead

How to save code samples/snippet in SQL Server? [closed]

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.
Closed 9 years ago.
Is it possible to save code samples/snippets in SQL Server 2005?
Actually I want to maintain the font style and all of code, provided by user on website same as in stackoverflow we can provide code samples along with question.
Which data type should I use and what html control should i use to receive value from user?
I don't want to create a separate file to save code samples.
Thanks in advance
If you're using SQL Server Management Studio, you can use one of the often overlooked features : the Template Explorer:
As you can see from my screenshot, you can tap into a vast array of pre-defined scripts and templates, and you can create your own folders and templates, too - and use them (also share them in your team).