Author: Fliz | Posted on: 11/14/2009 5:44:04 AM | Views : 367

I am trying to allow the inserting of data into my database but it keeps telling me the server tag is not well formed. refering to the bold line, my sql tag, but I have tried many things and I cannot see what is wrong.
 
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConflictDetection="CompareAllValues" ConnectionString="<%$ ConnectionStrings:DVDConnectString %>"InsertCommand="INSERT INTO [Customers] (]CustomerID], [CustomerTitle], [CustomerFName], [CustomerSName], [CustomerAddress1], [CustomerAddress2], [CustomerAddress3], [CustomerPostcode], [CustomerCounty], [CustomerPhoneNo], [CustomerMobile], [CustomerEmail]) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)" ProviderName="<%$ ConnectionStrings:classydbConnectionString.ProviderName %>" SelectCommand="SELECT [CustomerID], [CustomerTitle], [CustomerFName], [CustomerSName], [CustomerAddress1], [CustomerAddress2], [Customer ...

Go to the complete details ...