Question : Server tag is not well formed

Hi

What is wrong with this tag

PostBackUrl = "ShowDatabaseObjectsCreateScript.aspx?ID="&"'<%# DataBinder.Eval(Container.DataItem, 'name') %>'"

I am getting an error. Server Tag is not well formed.

Answer : Server tag is not well formed

Is this in your CodeBehind?

The format should be something like:

PostBackUrl = "ShowDatabaseObjectsCreateScript.aspx?ID=" & DataBinder.Eval(Container.DataItem, 'name')

Espavo

Random Solutions  
 
programming4us programming4us