Click here to Skip to main content
15,895,833 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,Can anybody help me i need set value of paricular celll
im not getting how to bind..i used following method..
it creates a empty cell my requirment is populate it with some value

C#
column = new DataGridTextColumn();
                    column.Header = Header[i];
                    column.Binding = new Binding(dgCols[i]);
                    dgCourseInfo.Columns.Add(column);
                    if (i + 1 == Header.Count)
                    {
                        column = new DataGridTextColumn();
                        column.Header = Header[i];
                        column.Binding = new Binding();
                        dgCourseInfo.Columns.Add(column);

                    }
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900