Server IP : 103.118.17.23 / Your IP : 216.73.216.169 Web Server : Microsoft-IIS/10.0 System : Windows NT RESELLERPLESK22 10.0 build 20348 (Windows Server 2016) AMD64 User : IWAM_plesk(default) ( 0) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : E:/Inetpub/vhosts/mesa.org.in/httpdocs/App_Code/ |
Upload File : |
using System; using System.Collections.Generic; using System.Web; using System.Configuration; using System.Data.SqlClient; public class cnn { //public static string strcn = @"Data Source=.\MSSQLSERVER2012;User Id=actresswall;Pwd=weKl86~0;Database=actress_"; public static string strcn = ConfigurationManager.ConnectionStrings["mesaConnectionString"].ConnectionString; public SqlConnection cn = new SqlConnection(strcn); public SqlCommand cmd = new SqlCommand(); public SqlDataAdapter da = new SqlDataAdapter(); public SqlCommandBuilder cbd = new SqlCommandBuilder(); }