Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900