Click here to Skip to main content
14,302,860 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hello Developers.I Developed one asp.net WebApplication with sql server database 2012.
and also android application.tell me how to connect both applications use sql server database. plz reply kindly.

What I have tried:

I tried to search on internet but not found proper answer for my question.
Posted
Comments
Kornfeld Eliyahu Peter 20-Feb-16 13:44pm
   
Probably you didn't found answers, because you ask the wrong question...There is a difference between two, connected, applications - directly, and between two applications using the same data from the same database...
As you already have an ASP.NET application backed SQL, you should ask how to connect Android application to SQL - that question will give you thousands of answers on Google...
Abhiram G J 21-Feb-16 11:22am
   
no sir .i mean have developed an asp.net web application using SQL server 2012..i want to develop an android application and connect it with my asp.net web app..my task is to send and retrieve data by both the android app and asp.net app from the same database...how is it possible..please guid me
Kornfeld Eliyahu Peter 21-Feb-16 12:33pm
   
So Google for 'how to connect android application to ms sql'...
Member 10398773 24-Feb-16 2:07am
   
Hi,android application and asp.net are different platforms but their is a workaround to ensure that both applications use same data.If you are familiar with creating APIs,create a REST API in asp.net and expose your methods to your android application.You can create all the functions based on your application logic and consume the API in android .Your REST api will be definitely using SQL SERVER database for the data exchange between your app and sql db

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100