Hi,
I have grid that uses OpenAccessLinqDataSource with automatic insert, update and delete. I'm trying to implement insert but with following scenario.
Data table (as class) has 4 properties. ID, IdFirm, Number and Activity. I have set invisible property for ID and IdFirm colum. For ID is clear why I hide it. As for IdFirm I dont wont to display it because it must be connected to some othe class on page and user MUST NOT enter that information.
How to implement automatic insert and intersept that call to add IdFirm property to object and then save it database.
I use command item (AddNewRecordButton)
Marko
I have grid that uses OpenAccessLinqDataSource with automatic insert, update and delete. I'm trying to implement insert but with following scenario.
Data table (as class) has 4 properties. ID, IdFirm, Number and Activity. I have set invisible property for ID and IdFirm colum. For ID is clear why I hide it. As for IdFirm I dont wont to display it because it must be connected to some othe class on page and user MUST NOT enter that information.
How to implement automatic insert and intersept that call to add IdFirm property to object and then save it database.
I use command item (AddNewRecordButton)
Marko