since ‎25-05-2015
‎10-12-2019
aylal899431
Level 1
Re: Unable to connect to a remote database through ASP. NET ( ASPHostPortal.com Hosting )
Avatar

aylal899431

aylal899431
- Adobe Experience Cloud
ahaa ok I'll try and I hope it works 🙂

Views

95

Likes

0

Replies

0
Unable to connect to a remote database through ASP. NET ( ASPHostPortal.com Hosting )
Avatar

aylal899431

aylal899431
- Adobe Experience Cloud
I have a ASP.NET website and an hosting account on asphostportal.com. I created a SQL Server Database with Direct Access and updated the connection string with the one provided by asphostportal There are no errors, but I see no data being stored in the database on a form submit. Code to insert a row is as follows: public int run_sql(string msg){ SqlConnection conn = new SqlConnection(); SqlCommand cmd = new SqlCommand(); SqlDataAdapter da = new SqlDataAdapter(); DataSet ds = new DataSet(); conn....

Views

298

Likes

0

Replies

2