Xster
Member
- Joined
- May 15, 2007
- Messages
- 11
- Programming Experience
- 1-3
Hi,
I've used vs2005's data tools to generate a xsd file which loads data from an SQL server to datatables which are bound to some scheduling component controls. I'm using this designer tool because I don't know how to bind controls to tables to reflect changes.
But the problem is the auto generated table adapters have all their insert, select and delete commands in a design.vb file which resets all the time and need some changes to work with my sql tables. I tried some hack to add functions since the design.vb declares the class as partial but I can't override the default behavior to add something in the SQL when a row is added in the data table. Can I customize the auto generated table adapter?
I've used vs2005's data tools to generate a xsd file which loads data from an SQL server to datatables which are bound to some scheduling component controls. I'm using this designer tool because I don't know how to bind controls to tables to reflect changes.
But the problem is the auto generated table adapters have all their insert, select and delete commands in a design.vb file which resets all the time and need some changes to work with my sql tables. I tried some hack to add functions since the design.vb declares the class as partial but I can't override the default behavior to add something in the SQL when a row is added in the data table. Can I customize the auto generated table adapter?