468,133 Members | 1,586 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,133 developers. It's quick & easy.

Resolution to two agravations with datagridview -Eureka!

1- Inability to easily reset datagridview combobox selection to null
Solution - add a contextmenustrip to the column in which you have the
combobox on the datagridview. show to user, something like Remove selection.
In the onclick event
Me.Datagridview1.CurrentRow.Cells.Item("YourColumn Name").Value =

2- You can use same technique for ordinary comboxes, instead of row in
datagridview set value of the combobox bound item itself,

3- I think the same can be applied to datetimepicker controls that are a
pain to reset to null as well as any other where MS didn't finish the job.
Will test further.

Hope this helps some of you.

Best regards to all,


Jan 13 '06 #1
0 1158

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

reply views Thread by DraguVaso | last post: by
10 posts views Thread by Henok Girma | last post: by
7 posts views Thread by Mitchell S. Honnert | last post: by
7 posts views Thread by =?Utf-8?B?TG9zdEluTUQ=?= | last post: by
reply views Thread by jeastman - Hotmail | last post: by
3 posts views Thread by Andrus | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.