Add a new row in the Devexpress Grid

Posts   
 
    
Austinn
User
Posts: 38
Joined: 25-Aug-2008
# Posted on: 14-Aug-2010 18:11:05   

Hello, I have an entity called ItemPriceListEntity which have ItemNo,ItemName,UnitPrice columns. I am trying to add a new empty row in the DevExpressGrid(winForms) for a user to enter new values.

I dont know I am am right or wrong but I am doing is creating an empty collection of ItemPriceListEntity and binding it to the datagrid datasource property. but its not working.

Is there any experience person ....

Regards Austinn

Austinn
User
Posts: 38
Joined: 25-Aug-2008
# Posted on: 14-Aug-2010 21:02:12   

Thanks everybody I have done that.

  1. Created a collection Object.
  2. Added an empty entity object into that collection.
  3. binded the grid to the collection.

Able to see the row.

Regards Austinn

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39903
Joined: 17-Aug-2003
# Posted on: 15-Aug-2010 13:19:12   

So this is solved now?

(also, please next time, specify more info about what you're trying to do (e.g. code snippets) and version info about the llblgen pro version, .net version etc.)

Frans Bouma | Lead developer LLBLGen Pro