Thread ID: |
Created: |
Updated: |
Platform: |
Replies: |
19818 | Oct 5,2004 04:38 AM UTC | Oct 5,2004 06:03 AM UTC | WinForms | 2 |
![]() |
Tags: GridControl |
theFilterBar.WireGrid(this.gridDataBoundGrid1); //change the dateformats int col = this.gridDataBoundGrid1.Binder.NameToColIndex("BirthDate"); if(col > -1) { DataTable dt = (DataTable) this.gridDataBoundGrid1[1, col].DataSource; for(int i = 2; i < dt.Rows.Count; ++i) dt.Rows[i][0] = DateTime.Parse((string) dt.Rows[i][0]).ToString("ddd dd/MM/yyyy"); }
This post will be permanently deleted. Are you sure you want to continue?
Sorry, An error occured while processing your request. Please try again later.
This page will automatically be redirected to the sign-in page in 10 seconds.