using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.Data.Odbc; using System.IO; namespace WindowsApplication1 { public partial class Form1 : Form { public Form1() { InitializeComponent(); } OdbcDataAdapter da; DataSet ds; int i = 0; int j; OdbcConnection conn; int last; private void Form1_Load( object sender, EventArgs e) { conn = new OdbcConnection ( "dsn=t1" ); conn.Open(); da = new OdbcDataAdapter ( "select * from emp" , conn); OdbcCommandBuilder builder = new OdbcCommandBuilder (da); ds = new DataSet (); da.Fill(ds, "emp" ); dataGridView1.DataSource = ds.Tabl
Post all my problems that i face in development time.that help you
Comments
Post a Comment