HiruSoft Software Solutions

Our software development services help our clients leverage the power of software for automating business processes and simplifying tasks.

Monday, July 9, 2012

Lessons : C# with SQL Server

Retrieve data to dataGridview SqlDataAdapter da = new SqlDataAdapter(" sql quary", con);             DataTable dt = new DataTable();             da.Fill(dt);             dataGridView1.DataSource = dt; Retrieve data to combo box SqlDataAdapter da = new SqlDataAdapter(" sql quary ", con);             con.Open();             DataTable dt = new DataTable();          ...