[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 235
  • Last Modified:

Bad performance on datagridview

Hello,
I have datagridview with 200 rows based on tableAdapter
when i change something I need to change date column.
I'm using this code atached below its working but its veryslow.

How can I imporve this performance.
Best Regards
FooKy
grdGrades.Rows(e.RowIndex).Cells("date").Value = Date.Today

Open in new window

0
f_o_o_k_y
Asked:
f_o_o_k_y
1 Solution
 
Jorge PaulinoIT Pro/DeveloperCommented:
Can you show us more code or you only do that ?
0
 
f_o_o_k_yAuthor Commented:
Ok.
I solved it sorry for bothering you.

Problem was that other column had property
AutoSizeMode = AllCells
 :)

Best Regards
FooKy
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now