dataGridView1.Columns[16].DataPropertyName = "Tumble";
dataGridView1.Columns[17].DataPropertyName = "Shearing";
dataGridView1.Columns[18].DataPropertyName = "Raising";
dataGridView1.Columns[19].DataPropertyName = "Stenter";
private void displaydata()
{
dt3 = new DataTable();
SqlDataAdapter da3= new SqlDataAdapter("selectJob_No,Customer,PO_No,O_No,Fabric,Blend,Colour,GSM,F_Width,Order_Qty,Split_Qty,Dye_Qty,Knitting,Heat_Set,Dyeing,Dryer,Tumble,Shearing,Raising,Stenter from Finishing_Production WHERE V_No='" + textBox1.Text + "' GROUP BY Job_No,Customer,PO_No,O_No,Fabric,Blend,Colour,GSM,F_Width,Order_Qty,Split_Qty,Dye_Qty,Knitting,Heat_Set,Dyeing,Dryer,Tumble,Shearing,Raising,Stenter", con1);
da3.Fill(dt3);
dataGridView1.DataSource = dt3;
}