Ramco Ramco

Ramco Ramco

  • 439
  • 3.4k
  • 538.4k

Message not getting displayed.

Dec 11 2024 5:47 AM

Hi

  I have below code but it is not going in Load function

using Sap.Data.Hana;

namespace Atulaya
{
    public partial class Form1 : Form
    {
        HanaConnection conn;
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            conn = new HanaConnection(System.Configuration.ConfigurationManager.ConnectionStrings["Hana"].ConnectionString);
            conn.Open();
            Console.WriteLine("Connected");
        }

    }
}

Thanks


Answers (2)