Adnan
asked on
How to add value to a datagridview column....
hi
i have one grid with 2 datasets, the grid displays rows from 2 datasets, and i want my new column in my grid to add text to all rows added from dataset2.....
how can i only add a text to rows added from dataset2...? and not ALL rows displayed in the grid....?!
i have one grid with 2 datasets, the grid displays rows from 2 datasets, and i want my new column in my grid to add text to all rows added from dataset2.....
how can i only add a text to rows added from dataset2...? and not ALL rows displayed in the grid....?!
private void Reset()
{
gridImports.AutoGenerateColumns = false;
DataSet myDsFilesToUndo = AmEngine.Instance.GetUnreconciledImpFiles(myOperator);
DataSet importedReconsiledfiles = AmEngine.Instance.GetReconciledImpFiles(myOperator);
int test = myDsFilesToUndo.Tables[0].Rows.Count;
int test1 = importedReconsiledfiles.Tables[0].Rows.Count;
myDsFilesToUndo.Merge(importedReconsiledfiles);
gridImports.Columns[0].Name = "Reconsiled";
gridImports.DataSource = myDsFilesToUndo.Tables[0];
}
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER