Hi!
I have an UltraDatasource set up the way you explained in the tutorial
You override the OnRowEndEdit - Delegate to create an insert/update statement.
Can you tell me a way to achieve this behaviour programmatically?
I'd like to add a row to the Rows-Collection, modify its values and use this defined delegate to Insert this row to the database. I didn't find a way to call s.th. like row.EditComplete()...
Any help/suggestions are welcome.
Kind regards,
- Florian
Hi Florian,
I think all you have to do is call Insert on the Rows collection.
this.ultraDataSource1.Rows.Insert(1);