如何在ASP.NET C#中使用sql进行报告 [英] how to do reporting with sql in asp.net c#

查看:82
本文介绍了如何在ASP.NET C#中使用sql进行报告的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请告诉我们如何在asp.net c#中使用sql数据库进行报告
我已经完成了数据集报表的输出.

我的代码是:

Please some one tell that how to do reporting with sql database in asp.net c#
I have done reporting with dataset it is giving output.

My code is:

DataSet1 ds = new DataSet1();
            DataTable t = ds.Tables.Add("Items");
            t.Columns.Add("COMP_NO", Type.GetType("System.Int32"));
            t.Columns.Add("STATUS", Type.GetType("System.String"));

            DataRow r;
            int i = 0;
            for (i = 0; i <= 9; i++)
            {
                r = t.NewRow();
                r["COMP_NO"] = i;
                //r["STATUS"] = "Item" + i;

                r["STATUS"] = i;
                t.Rows.Add(r);



但是我需要使用sql数据库进行报告,但是我不知道如何.
请有人告诉如何使用sql数据库进行报告.



But I need a reporting with sql database, but I don''t know how.
Please someone tell that how to do reporting with sql database.

推荐答案

阅读这些内容:

http://msdn.microsoft.com/en-us/library/ms170246%28v = sql.90%29.aspx [ ^ ]

http://www.simple-talk .com/sql/reporting-services/beginning-sql-server-2005-reporting-services-part-1/ [
Read these :

http://msdn.microsoft.com/en-us/library/ms170246%28v=sql.90%29.aspx[^]

http://alexduggleby.com/2008/07/18/sql-server-reporting-services-2008-tutorial-in-5-minutes-or-how-to-send-my-boss-a-report-from-a-view-quickly/[^]

http://www.simple-talk.com/sql/reporting-services/beginning-sql-server-2005-reporting-services-part-1/[^]


这篇关于如何在ASP.NET C#中使用sql进行报告的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆