Click here to Skip to main content
15,893,814 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I already try this
XML
<configuration>
  <connectionStrings>
    <add name="ConString" connectionString="Data Source=localhost;Initial Catalog=Inventory;Integrated Security=True;" providerName="System.Data.SqlClient" />
  </connectionStrings> 
    <system.web>
      <compilation debug="true" targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" />
    </system.web>

</configuration>


but not work, any suggestion....
Posted
Updated 20-Aug-14 22:55pm
v2
Comments
[no name] 21-Aug-14 4:55am    
What is the problem you are facing..??how u are calling this..??share the code...
Eerven 21-Aug-14 4:59am    
I try to connect database to android by using ASP.net but I doubt problem in web.config.

1 solution

You can check using web service.
That will be easy for you..

Check the smiler post in CP

Database connection between android and asp.net.[^]
 
Share this answer
 
Comments
Eerven 21-Aug-14 5:30am    
thanks a lot Snehasish_Nandy
[no name] 21-Aug-14 5:46am    
Glad to help..
Please accept the solution if it is helpful..

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