1st do not create any columns for dgv!
They will be created automatically when binding data.
Then use this code:
dataGridView1.DataSource = new BindingSource(ds.Tables, null);
//ds is a reference of dataSet, while Tables is the 1st dataTable from DataSet.
//if you have more then one dataTable, if you want to bind 2nd table, then do: Tables!
thank's for your help but its not my problem those are my codes please see it if you have time and resolve my problem
con = new SqlConnection(MC.StrCon);
strSql = "Select * from Anb_Tbl_Anbar";
da = new SqlDataAdapter(strSql,con);
this line is my problem ----> dataGrid_Tbl_Anbar.DataBindings.Add("Columns[<1>].clm",ds,"Anb_Tbl_Anbar.Anb_Fld_AnbarCode"); <-------
i can fill the data gird view easily but i want to fill in special columns that i created before please help me