VC#中使用水晶报表

acerjm3 2003-12-14 09:17:50
在VC#中如何把我查询的数据结果填充到水晶报表中?望各位大虾不惜指教!!!
...全文
54 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
yifan99 2003-12-15
  • 打赏
  • 举报
回复
DataSet1 dd=new DataSet1();
string str="select* from t_emp where ID<='"+textBox1.Text.Trim()+"'";
SqlDataAdapter ss=new SqlDataAdapter(str,this.sqlConnection1);
Cry cc=new Cry();//
Form3 ff=new Form3();
this.sqlConnection1.Open();
ss.SelectCommand.ExecuteNonQuery();
this.sqlConnection1.Close();
ss.Fill(dd,"t_emp");
cc.SetDataSource(dd);
ff.crystalReportViewer1.ReportSource=cc;
ff.ShowDialog();
lanbaibai 2003-12-15
  • 打赏
  • 举报
回复
http://www.430000.net/ShowArticle.asp?ArticleID=50&ArticlePage=1
brightheroes 2003-12-15
  • 打赏
  • 举报
回复
or
brightheroes(闭关)
http://expert.csdn.net/Expert/topic/2553/2553798.xml?temp=.8432886
brightheroes 2003-12-15
  • 打赏
  • 举报
回复
see
Marguess (留侯)
http://expert.csdn.net/Expert/topic/2560/2560181.xml?temp=.437649
brightheroes 2003-12-15
  • 打赏
  • 举报
回复
就是一个DataSet
wkyjob 2003-12-15
  • 打赏
  • 举报
回复
up

110,534

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧