Questo errore si verifica quando l'associazione dati un ripetitore: SQL Server non gestisce confronto tra ntext tipi di testo, XML o di dati ImmagineSQL Server non gestisce confronto tra NText, testo, XML, o tipi di dati di immagine
protected void Page_Load(object sender, EventArgs e)
{
topicid = Convert.ToInt32(Request.QueryString["topic".ToString()]);
if (!IsPostBack)
{
MusicForumDataContext db = new MusicForumDataContext();
var query = from p in db.posts
where p.categoryid == NAME
select p;
rptposts.DataSource = query;
rptposts.DataBind(); <---- ERROR
}
}