1
Reply

DataGrid problem

woj-mar

woj-mar

Jan 26 2005 9:01 AM
2.3k
How i can refresh data to datagrid. Iam use Insert funcition to sql server but datagrid doesnt refresh when i close apllication, and run it again, then datagrid is fill correct with new data. I use realtions and i need to use DataViewMenager This is a sample of code: DataSet ds=fnGetDataSet(); DataViewMenager dvm=fnGetViewMenager(); CurrencyMenager cmWindykacja=(CurrencyManager)this.BindingContext[dvm,"table"]; this.dataGrid.DataSource=dvm; this.dataGrid.DataMember="table.SecondTableRelation";

Answers (1)