Need to remove a column being displayed in the datagrid.
Posted on 2008-06-25
If you look at the image attached with the added in new list datagrid
I would first like to remove the GRADE_CODE_DTL_ID
and then rename GRADE_NAME to Grade Name
and then rename STRGHT_PRICE_AMT to Straight Price Amount
System.Data.DataSet DataSetDelete = new System.Data.DataSet();
System.Data.DataSet DataSetChange = new System.Data.DataSet();
System.Data.DataSet DataSetAdded = new System.Data.DataSet();
string Status = null;
InitialPriceReporting.InitialPriceReportingServiceWS.InitialPriceReportingService WS = new InitialPriceReporting.InitialPriceReportingServiceWS.InitialPriceReportingService();
DataSetAdded = WS.ComparePriceListAdded(previousID, dr["PRICE_LIST_HDR_ID"].ToString(), ref Status);
AddedDataGridView.DataSource = DataSetAdded.Tables;
I call a webservice to return a dataset called DataSetAdded. How can I modify the names added in the datasetadded.