CodeCharge Studio
search Register Login  

Visual Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 Customizing DataGrid in CCS

Print topic Send  topic

Author Message
ralphevertz

Posts: 2
Posted: 04/19/2006, 6:40 AM

Hi,

I'm trying to customize my Grid. I want to add a column with a checkbox. This checkbox is gonna display whether the id of a row is present in an other db. So I can't build a query with two db's or something like that.

Adding the column is no problem, but setting any of the checkboxes to true just to see if it works isn't working. Does anyone have any idea how to get this working. In the .vb file Ifound that I have to add the code within the GetResultSet function.

'After execute Select tail @23-03CFFA48
Dim i as Integer
For i = 0 To dr.Count - 1
Dim item as assPagegroupItem = New assPagegroupItem()
item.pgPagegroupId.SetValue(dr(i)("pgPagegroupId"),"")
item.pgName.SetValue(dr(i)("pgName"),"")
item.pgDescription.SetValue(dr(i)("pgDescription"),"")
--> item.pgCheck.SetValue(1,"")

The last sentence is my problem. It is declared in assPagegroupItem but I get an no instance of object error

Thanks
Ralph
View profile  Send private message
ashok_subbu

Posts: 2
Posted: 05/16/2006, 11:38 PM

You can use <asp:TemplateColumn> to put check box in the datagrid. This will work fine.:-O
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

PHP Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.