Hi. I really hope someone likes a challenge. I apologise in advance as to the length of this, I hope it becomes apparent
as to why. I hope my explanation is not too garbled.
I really need some help as I am struggling to solve some errors but more importantly to understand 'the why's' etc.
Here's my scenario
I am creating a DetailsView using behindcode, VB. The function which creates that is called GetCategories() (see below) and it works
creating the details view fine.
The Delete function works fine, removing records from the connecting table without problem (it would be fine wouldn't it!)
My Problem lies with the insert and the Edit functions and there is also a lot of confusion on my part as to what is happening.
First of all the original example was written in c# - without the edit part, being purely insert and delete. After the insert the
detailsview would not return to readonly, but it did once I included a call back to Public Sub GetCategories(), however I can't write in c#
as I just can't get on with it. So, I converted the code to VB which is more familar to me, or so I thought.
Here my real problems start.
In c#, data was inserted on the items_updating function, data was input into the table and the connection c
View Complete Post