DataBound Grid on row insert

hi I am using databound mode of grid with a property EnableAddNew= True,so it automatically inserts a record when i start entering in the row, and also throws error "column1 does not allow Nulls" any event which happens while automatically inserting a empty row in the grid? i want to trap that error by assigning value to Not null column while inserting itself Regards Rajaraman

1 Reply

PA pal March 12, 2003 08:43 AM UTC

I already asked this question, check out below. Short answer : no, but you can trap it with rowenter event and checking the rowid + the datasource rowcount.

Loader.
Up arrow icon