DatagridView Dynamically adding a new row

H

hangar18

First...
All apologies to Tom. Tom, I think it was out of sheer desperation that
I emailed you personally. No offence meant and point taken.

Anyways heres the problem

Scenario is this :
I have three columns in the grid ( each having a combo box). On change
of
one combo, I am populating the values of the other ( take the scenario
of
Country,City,State). Ex:
http://www.webswapp.com/codesamples/aspnet20/dependentlists/gridview.aspx

Now the issue here is that I also have to dynamically add a row for
user to
select values.
Solutions found:
One solution talks about using the the ObjectDataSource and mapping it
with
methods in your class.
http://www.gridviewguy.com/ArticleDetails.aspx?articleID=139
Problem:
The problem here is that the class updates the DB on click of ADD. But
this
is a problem since the grid that I have is a child table grid (we are
using
a wizard control and the record can only be created at the click of
Finish).

Any clues..?

Thanks in advance
Soni
 

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

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top