Hi,
I have the following code and it is giving related to curly braces and stuff.
<#@ template language="C#" debug="True" hostspecific="True" #>
<#@ output extension=".cs" #>
<#@ assembly name="System.Data" #>
<#@ assembly name="System.xml" #>
<#@ import namespace="System.Collections.Generic" #>
<#@ import namespace="System.Data.SqlClient" #>
namespace MyProject.Entities 
{   
    public class     
    {
        <#
        string connectionString = 
            "Server=localhost;Database=GridViewGuy;Trusted_Connection=true"; 
        SqlConnection conn = new SqlConnection(connectionString); 
        conn.Open(); 
        System.Data.DataTable schema = conn.GetSchema("TABLES"); 
        foreach(System.Data.DataRow row in schema.Rows) 
        { 
        #> 
        public class <#= row["TABLE_NAME"].ToString() #>            
        {
        }               
        } 
    }   
}
Can anyone spot the problem?