visual 2005 水晶报表 找不到类型或命名空间名称“CrystalReport”(是否缺少 using 指令或程序集引用?)
using System;using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;
using CrystalDecisions.CrystalReports.Engine;
using CrystalDecisions.Shared;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Button1_Click(object sender, EventArgs e)
{
DataSet ds = new DataSet();
SqlCommand loadCommand = new SqlCommand();
loadCommand.Connection = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["xulian031219ConnectionString"].ConnectionString);
loadCommand.CommandText = "select * from eds_color ";
//loadCommand.Parameters["@针型"].Value = needleType;
SqlDataAdapter da = new SqlDataAdapter(loadCommand);
da.Fill(ds);
CrystalReport orp = new CrystalReport();
orp.SetDataSource(ds);
CrystalReportViewer1.ReportSource = orp;
}
}
要做一个水晶报表
老是提示:找不到类型或命名空间名称“CrystalReport”(是否缺少 using 指令或程序集引用
这个问题 郁闷2个多礼拜了,希望哪位大哥 能帮我看下,谢谢了 --------------------编程问答-------------------- 我顶上去 --------------------编程问答-------------------- 这个问题解决没啊? --------------------编程问答-------------------- en......你装水晶报表没? --------------------编程问答-------------------- 你DLL加了么? --------------------编程问答-------------------- 怎么解决啊 ???????????
补充:.NET技术 , ASP.NET