|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Adding empty rows to DataGridView that is bount to DataTableHi,
I have a datagrid on Winform that is bound to a datatable. In essence, what I would like to do is that when a user inputs a number into a textbox control for example 5 then 5 empty rows will appear in the datagrid. any ideas? Im fairly new to vb.net and Ive been reading that manipulating a bound datagrid is not possible so idea is to add the empty rows to the datatable. Is this true? Thanks in advance! Hi,
Yes add empty rows to the datatable. The datagridviews rownumber property can be used to set the number of row shown when the datagridview is unbound. Ken ----------------------- <lgalumb***@gmail.com> wrote in message Show quoteHide quote news:1157983700.675190.235990@i3g2000cwc.googlegroups.com... > Hi, > > I have a datagrid on Winform that is bound to a datatable. In essence, > what I would like to do is that when a user inputs a number into a > textbox control for example 5 then 5 empty rows will appear in the > datagrid. > > any ideas? > > Im fairly new to vb.net and Ive been reading that manipulating a bound > datagrid is not possible so idea is to add the empty rows to the > datatable. Is this true? > > Thanks in advance! >
About IDisposable.Dispose()
Inherited Forms in VB.NET class code does not show 'inherits from...' Configuration in published program java developer wants to learn VB.NET Mnemonics for Buttons with symbols on Mail merge from word using sql server express and vb.net 2005 Referencing an Enum with Embedded Spaces Display compiled HTML help file in VB.NET app Licensing with Plimus Treeview (Eric Moreau) |
|||||||||||||||||||||||