I'm trying to add rows to the grid but I get an error saying.
Unable to add row: Unable to add a new row. Underlying DataSource does not support adding new rows
can someone tell me what I need to do, to make it work?
Well, clearly your data source doesn't support adding rows. What kind of data source are you using? It sounds like you are probably using an Array or something limited like that. You will need to use a more robust data source, like an UltraDataSource or a DataTable if you want to support adding.
Hello Mr.Mike Saltzman
I m using ultragrid in winndows application (C#.net 2010).
i bind datasource using SQLHelper. And Default option both.
i want to allow user to add,edit or delete operation on ultragrid. to affect Sql Table.
when i do any of them(add, edit,delete)in ultragrid does not affect on table.
plz tell me how can i do this.
I am working with entity model (Dot Net 4) as datasource. For Infragistics.Win.UltraWinGrid.UltraGrid I use a Master table and the table has 1 child table and that child table has also another child table. I can see the existing data in the grid. Master data (Band[0]) can enter in the grid but when I tried to enter new row in child table then the error “Unable to add a new row. Underlying dataSource does not support adding new rows” showe.
Please, Someone help to come out from this issue.
Hi,
I'm not familiar with SQLHelper. What is the DataSource of your grid?
Modifying the data in the grid will only modify the local data source. The grid does not have any interaction with the back end. So when you say editing the grid doesn't affect the table, are you talking about the data source or the actual back end (the database)?