DataGridView Add/Edit/Delete

A

Andy O'Neill

Kali said:
Hi Andy. Line...

Dim cboReg As New DataGridBoundComboColumn

doesn't seem to work in VStudio 2008. VStudio doesn't understand
DataGridBoundComboColumn. Any ideas?

Rather than just simply copying code you need to learn to look stuff up on
msdn mate.
Or intellisense or object browser for that matter.

The datagridview will be different from a datagrid and maybe you found one
aspect where it differs.
But that column type doesn't come out of thin air.
Find the stuff on msdn about datagridview and drill down into it.
There'll be a something combo something column there somewhere.
Probably some examples using it that might be interesting.

There were reasons why I used to define the table template in code.
I can't reliably recall them all and they may not still be valid 2 or 3
versions of dotnet later.
Maybe the binder thing obviates use of dataadapters, I don't know.
I would have to go learn stuff I don't intend using in order to explain it
to you.

So long and happy learning.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top