Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
2
Reply
How can i Datagridview column format
Feroz Khan
Jun 30 2016 10:01 AM
270
Reply
Hi All,
I want try to set format of datagridview column through below code
but its showing error {"Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index"}
InitializeComponent();
this.dataGridView1.Columns[8].DefaultCellStyle.Format = "0.0";
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
Search Query with multiple fields Winforms
Parse, Parsing Terms