Print Page | Close Window

DataManager & DataBind in C#

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Report Control
Forum Description: Topics Related to Codejock Report Control
URL: http://forum.codejock.com/forum_posts.asp?TID=15005
Printed Date: 23 November 2024 at 4:51pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: DataManager & DataBind in C#
Posted By: CrausRabi
Subject: DataManager & DataBind in C#
Date Posted: 18 August 2009 at 9:48pm

Hi All,

I'm new user.

I have a problem. How can i use DataManager & DataBind in C#?

//===========================================
           

            axReportControl1.AllowEdit = true; --> axReportControl1 : ReportControl in form
            axReportControl1.DataManager.DataSource = ds; --> ds : DataTable(having 100 rows Data)

            axReportControl1.DataManager.DataBind();
            Record = axReportControl1.DataManager.CreateEmptyRecord();
            if (Record != null)
            {
                headerrecord = axReportControl1.HeaderRecords.Add();
                for (int i = 0; i < Record.ItemCount; i++)
                {
                    headerrecord.AddItem(Record.Value);
                }

                //axReportControl1.DataBindings.
                axReportControl1.ShowHeaderRows = true;
                axReportControl1.HeaderRowsAllowEdit = true;
                axReportControl1.PopulateHeaderRows();

                Record = null;
            }

//============================================

This code is not working. Any ideas?

Regards,
 




Replies:
Posted By: nvierros
Date Posted: 23 October 2009 at 5:50am
Did you get this working? I am having the same trouble.


Posted By: gibrael
Date Posted: 25 April 2012 at 1:27pm
Has anyone been able to do this? Please, any help would be appreciated.

-------------
--
Codejock Xtreme Suite Pro 15.2
VisualStudio 2010
Windows 7



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net