请问在Visual stdio 2005 中如何进行ADO.net数据库编程?多谢!

来源:百度知道 编辑:UC知道 时间:2024/05/24 13:23:23
请问在Visual stdio 2005 中如何进行ADO.net数据库编程?多谢!

using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;
using System.Data;

using System.Data.Common;
using System.Data.SqlClient;
using System.Data.SqlTypes;
using System.IO;
using System.Text;

namespace 导入图像
{
/// <summary>
/// Form1 的摘要说明。
/// </summary>
public class thrustFil : System.Windows.Forms.Form
{
private System.Windows.Forms.Button button2;
private System.Windows.Forms.Label label1;
private System.Windows.Forms.Label label2;
private System.Windows.Forms.Button btnOK;
private System.Windows.Forms.TextBox txtFileName;
private System.Windows.Forms.TextBox txtDirName;
private System.Windows.Forms.TextBox txtSource;
private System.Windows.Forms.Label label3;
private System.Windows.Forms.TextBox txtTab;
private System.Windows.Forms.La