ASP.NET Web Forms

DataSource Code

When a SqlDataSource is configured to produce select, update, delete and insert queries the code generated is in xml format

Xml Code1

You can see that the queries are there in SQL and have parameters in a similar way to the Stored Procedures you have used in Visual Basic. The parameters themselves are also defined in xml code as shown below.

Xml Code2

Unfortunately the code contains one mistake that needs correcting in order to get the Insert query to work. Can you spot it? For some reason this mistake does not occur when using a SQL Server database.