or
Hello,
I have a scenario like I need to give my customers the ability to create ad- hoc report based on their customer ID. And I realized using Telerik report designer , we can’t integrate the report designer to my website for creating ad hoc reports to my customers. So I thought of installing the report designer in customer machine. My concern is do we restrict the customers to see/access the database based on their ID. So each customer can create report only based on their id.
Waiting for an early reply.
Santhy
<?
xml
version
=
"1.0"
encoding
=
"utf-8"
?>
<
configuration
>
<
configSections
>
<
section
name
=
"Telerik.Reporting"
type
=
"Telerik.Reporting.Configuration.ReportingConfigurationSection, Telerik.Reporting"
allowLocation
=
"true"
allowDefinition
=
"Everywhere"
/>
</
configSections
>
<
startup
>
<
supportedRuntime
version
=
"v4.0"
sku
=
".NETFramework,Version=v4.5"
/>
</
startup
>
<
runtime
>
<
assemblyBinding
xmlns
=
"urn:schemas-microsoft-com:asm.v1"
>
<
dependentAssembly
>
<
assemblyIdentity
name
=
"Microsoft.Practices.ServiceLocation"
publicKeyToken
=
"31bf3856ad364e35"
culture
=
"neutral"
/>
<
bindingRedirect
oldVersion
=
"0.0.0.0-1.2.0.0"
newVersion
=
"1.2.0.0"
/>
</
dependentAssembly
>
</
assemblyBinding
>
</
runtime
>
<
Telerik.Reporting
>
<
AssemblyReferences
>
<
add
name
=
"ReportsDO"
version
=
"1.0.0.0"
culture
=
"neutral"
publicKeyToken
=
"null"
/>
</
AssemblyReferences
>
</
Telerik.Reporting
>
</
configuration
>
Die Schemainformationen fĂĽr das Attribut 'culture' konnten nicht gefunden werden.
Die Schemainformationen fĂĽr das Attribut 'name' konnten nicht gefunden werden.
Die Schemainformationen fĂĽr das Attribut 'publicKeyToken' konnten nicht gefunden werden.
Die Schemainformationen fĂĽr das Attribut 'version' konnten nicht gefunden werden.
Die Schemainformationen fĂĽr das Element 'add' konnten nicht gefunden werden.
Die Schemainformationen fĂĽr das Element 'AssemblyReferences' konnten nicht gefunden werden.
Die Schemainformationen fĂĽr das Element 'Telerik.Reporting' konnten nicht gefunden werden.
public rptTimeSheet(string sheetID)
{
string comStr = "SELECT * FROM vwTimeSheetReport WHERE TimeSheetID = " + sheetID;
SqlConnection sqlConnection1 = new SqlConnection();
SqlCommand sqlSelectCommand1 = new SqlCommand();
SqlDataAdapter sqlDataAdapter1 = new SqlDataAdapter();
sqlConnection1.ConnectionString = "XXXX";
sqlSelectCommand1.CommandText = comStr;
sqlSelectCommand1.Connection = sqlConnection1;
sqlDataAdapter1.SelectCommand = sqlSelectCommand1;
this.DataSource = sqlDataAdapter1;
InitializeComponent();
}