用于C#的SQLHelper工具类
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;
namespace WinForm
{
class SQLHelper
{
String connectString = @"server=DESKTOP-KKQL0A6;database=test;integrated security=true";
public DataTable selectTable(String sqlText)
{
SqlConnection conn = new SqlConnection(connectString);
SqlCommand cmd = new SqlCommand();
tr