刷新类型数据集以显示新字段 [英] Refresh types dataset to show new fields

查看:159
本文介绍了刷新类型数据集以显示新字段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用报表(水晶报表)中使用的向导创建了一个数据集.

该数据集通过数据源向导绑定到存储过程.

该向导将在数据集中创建一个数据表和表adatper.

数据表具有存储过程将返回的所有字段以及输入参数(向导将完成所有此创建).


问题:

现在的问题是,如果在SP中添加或修改了一个或多个字段,则无法在我的数据集设计器中或在绑定到该数据集的报表的字段列表中看到它们.

如何刷新我的数据集以显示新更改.

如果需要进一步说明,请告诉我.

我正在使用VS 2008和.NET Framework 3.5.

干杯..

Sakshi

I have a creatred a data set using a wizard which I use in reports(crystal reports).

This data set is bound to a stored procedure through the data source wizard.

The wizard creates a data table and table adatper in the data set.

The data table has all the fields which the stored procedure is returning as well as the input parameters(The wizard does all this creation).


The problem:

The problem is now if one or more fields are added or modified in the SP then I cannot see them in my data set designer or in the fields list in reports which is bound to this data set.

How to refresh my data set to show the new changes.

Please let me know in case I need to elaborate more on this.

I am using VS 2008 and .NET framework 3.5.

Cheers..

Sakshi

推荐答案

我不确定这是您要的内容,但是要在Crystal Reports设计器中刷新数据库,请转到字段浏览器,然后右键单击数据库字段并选择验证数据库.直到更新您的数据集后,它才可能起作用...

希望这会有所帮助.
I''m not sure this is what you''re asking for, but to refresh the database in the Crystal Reports designer you go to the Field Explorer, then right click on Database Fields and select Verify Database. It might not work until your dataset is updated though...

Hope this helps.


这篇关于刷新类型数据集以显示新字段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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