I did not make a tags! Just want a help on "DataGridView" like was described. By removing crucial part of title you can't make it better!
–
user973238Jan 14 '13 at 23:39

1

i just want to clarify what we trying to say, try to see your previous post and if notice that you have one tag and your title has a DataGridView mentioned so it's important to tag the DataGridView than to makes us our title because by our tags it will categorized our post. i hope you understand :)
–
spajceJan 14 '13 at 23:50

That way I get new columns?? Designtime+Runtime ones together.
–
user973238Jan 14 '13 at 23:23

Thats ok if you are seeing twice the number of columns, simply dont add them at RunTime (since you have specified them at design time). Otherwise look at the Form1.Designer.vb code to see how the Design Time Columns are created and re-use that code and create the columns at RunTime.
–
Jeremy ThompsonJan 14 '13 at 23:32

I didnt make runtime columns, something is. Binding source or what? I can't remove that if I would like to stay binded.
–
user973238Jan 14 '13 at 23:41

Hmm, I don't know. After giving DatapropertyName I get error "0" is not correct for boolean value. Then I recheck that my column in database is really boolean. It is (TRUE/FALSE). Then I set FalseValue "0" and TrueValue "1" and then get switched textboxes like in database is TRUE or FALSE. Then I have to give DataPropertyName to all other (text columns) in order to get data in grid. Then set other properties for each column. To be sincerely, I would much like to get all of this at runtime because of many similar existing code. But your solution work's. Thank's a lot.
–
user973238Jan 15 '13 at 1:25

Thanks, but again with same results. Fact is that I don't ADD any column in my question. Just format it to avoid very slow autoformatting (AutoResizing). From that point of view my datagridview is binded and manually formated. If I completely remove my formatting still have 0/1 in those column. At some way I have to tell column(1) that there should be checkboxes. I achieve this with znbinded grid very easy by adding appropriate columns at runtime.
–
user973238Jan 14 '13 at 23:52