2025-03-28 09:49:56 +08:00

36 lines
889 B
C#

//using iAnywhere.Data.SQLAnywhere;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
namespace AutoUpdateEx
{
public partial class TestForm : Form
{
public TestForm()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
//测试连接 Dsn=webdata;uid=user;pwd=password
//SAConnection conn = new SAConnection();
//SAConnection conn = new SAConnection("Dsn=hydb;uid=dba;pwd=dba");
//conn.Open();
//DataTable dt = new DataTable("Results");
//SADataAdapter da = new SADataAdapter("SELECT * FROM Employees", conn);
//da.Fill(dt);
//conn.Close();
}
}
}