How to AutoIncrement ID if adding new Row in WebGrid

1 reply. Last post: October 18, 2012 11:07 PM by Hans Kristian
Tags :
  • New Discussion
  • New Question
  • New Product Feedback
Kashif ButtMember

Hi


i have created a Webgrid with three Columns:


ID   Place   Name


I setted the ID Column to visible = "false",  IsAutoincrement = "true". Iam working with a Oracle Database. In the Database i added Trigger for the Autoincrement of the ID.

My Problem is that if i try to add a Row in the WebGrid i getting a Error: 


"ID" column does not allow nulls


but if i add a Row directly in the Database it works.


Why does the WebGrid do not an AutoIncrement?





All times are GMT -5. The time now is 2:45 AM.
Previous Next