0

I want set MaxValue to DataGridViewIntInputColumn , After an hour of research. I could not find a solution , I can edit it from the (collection) of data gridview :

Edit Columns

but I want Edit it Programmatically please HELP !

TaW
  • 53,122
  • 8
  • 69
  • 111
Anouar khaldi
  • 772
  • 6
  • 15
  • What are you targetting: Winforms, WPF, ASP..? __Always__ tag your question correctly! - Also: I can't find anything on either `DataGridViewIntInputColumn` or on `DatagridviewIntegerInputColumn`. Can you explain what you are talking about (and/or correct the typos?) – TaW Jul 13 '17 at 22:44
  • The usual approach would be to set a test value in the designer and then have a look at the resulting code in the designer.cs file.. – TaW Jul 13 '17 at 22:51
  • You must do that like Column3.MaxValue = ... in your code. – DotNet Developer Jul 14 '17 at 03:25
  • @TaW i mean integer , because int = number integer , and I'm targeting Winforms + DotNetBar , in collection of `dataGridViewX` you can find `DataGridViewIntegerInputColumn` , just I could not set Max/Min value !! – Anouar khaldi Jul 14 '17 at 10:29
  • You ought to have tagged that !! I have added the tags for you. Did you try the trick I mentioned? – TaW Jul 14 '17 at 10:32

0 Answers0