How to call .net statically

how does asp.net call internally? is this a static calling method? ask for similar code

.
    public static string Getdata(string sql)
    {
        string connString = ConfigurationManager.ConnectionStrings["QHSE_ANConnectionString"].ToString();
        SqlConnection conn = new SqlConnection(connString);
        DataTable dt = new DataTable();
        DataTable dtCount = new DataTable();
        SqlDataAdapter adapter = new SqlDataAdapter(sql, conn);
        adapter.Fill(dt);
        //   json 

        return dt;

    }



    public void weldData()
    {
       
        string str = "sql*from sdaf";

        Getdata(str);


    }
CPP
Mar.13,2021

Yes, the public static method of a class can be called statically

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1eb1c71-2382.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1eb1c71-2382.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?