using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace DataInfo
{
public partial class UserControl1: UserControl
{
private OverSystems.DataAccess.SQLAccess sqlaccessy = new OverSystems.DataAccess.SQLAccess(@"Data Source =DATA;
Initial Catalog=databasesname; User ID=username; Password =pw");
public UserControl1()
{
FillDG();
}
public void FillDG(string str)
{
string CommandText = " sql ...";
sqlaccessy.ExecuteNonQuery(CommandText);
}
}
}