Posts Tagged ‘Code’

Binding the Data to the GridView

Thursday, October 25th, 2007

Hey if you are getting this error message:
“A call to Bind was not well formatted”

If you are trying to use something like this:

<%# Bind(”Last Name”) %>

With spaces or symbols in the name, you should use brackets [] around the name to make it work.

Like this:

<%# Bind(”[Last Name]“) %>

I hope this helps.

AJAX Calendar Extender

Monday, October 22nd, 2007

If you are going to use the AJAX Toolkit Calendar Extender you are going to have to place runat=”server” in the head tag. The control evidentally has to place stuff in the tag during the server process.

<head runat="server">

I hope this helps.