or
Can we create global objects so that we can reuse the variables in two or more subreports just like PageNumber or PageHeader.
Any help would be appreciated. Thanks
public Report1()
{
/// <summary>
/// Required for telerik Reporting designer support
/// </summary>
InitializeComponent();
SqlConnection connSomsys = new SqlConnection(ConfigurationManager.ConnectionStrings["connSomsys"].ConnectionString);
SqlCommand sqlSelectCommand1;
sqlSelectCommand1 =
new SqlCommand("sprocgetorders", connSomsys);
sqlSelectCommand1.CommandType =
CommandType.StoredProcedure;
SqlDataAdapter adap = new SqlDataAdapter(sqlSelectCommand1);
this.DataSource = adap;
//
// TODO: Add any constructor code after InitializeComponent call
//
}