Reporting
-
Say i have the following
public class CollageClass
{
public List<Student> Students{ get; set; }public string Name { get; set; } public string RoomNumber{ get; set; }
}
public class Student
{
public string Name { get; set; }
public int Age{ get; set; }
public int BestGrade{ get; set; }
}nice and simple, now i want to create a report, to display the CollageClass info at the top of the page and the students info under. How is the best/easyest way to do this? i was going to make a crystal report, but i cant just give it my instance of CollageClass. If i used crystal, i was thinking of making a strongly typed dataset to match the contents of the class, populate that and then bind the report to it, is this the correct way to do this? (just seems like a lot of work as my class is much bigger than the above example) i dont normally make many reports, so this is kinda a bit new to me Regards Mark
-
Say i have the following
public class CollageClass
{
public List<Student> Students{ get; set; }public string Name { get; set; } public string RoomNumber{ get; set; }
}
public class Student
{
public string Name { get; set; }
public int Age{ get; set; }
public int BestGrade{ get; set; }
}nice and simple, now i want to create a report, to display the CollageClass info at the top of the page and the students info under. How is the best/easyest way to do this? i was going to make a crystal report, but i cant just give it my instance of CollageClass. If i used crystal, i was thinking of making a strongly typed dataset to match the contents of the class, populate that and then bind the report to it, is this the correct way to do this? (just seems like a lot of work as my class is much bigger than the above example) i dont normally make many reports, so this is kinda a bit new to me Regards Mark
That is the way I do it. It may sound like a lot of work but crystal is quirky unless you do things there way.
Need software developed? Offering C# development all over the United States, ERL GLOBAL, Inc is the only call you will have to make.
Happiness in intelligent people is the rarest thing I know. -- Ernest Hemingway
Most of this sig is for Google, not ego. -
Say i have the following
public class CollageClass
{
public List<Student> Students{ get; set; }public string Name { get; set; } public string RoomNumber{ get; set; }
}
public class Student
{
public string Name { get; set; }
public int Age{ get; set; }
public int BestGrade{ get; set; }
}nice and simple, now i want to create a report, to display the CollageClass info at the top of the page and the students info under. How is the best/easyest way to do this? i was going to make a crystal report, but i cant just give it my instance of CollageClass. If i used crystal, i was thinking of making a strongly typed dataset to match the contents of the class, populate that and then bind the report to it, is this the correct way to do this? (just seems like a lot of work as my class is much bigger than the above example) i dont normally make many reports, so this is kinda a bit new to me Regards Mark
Hi mark, i don´t know if that works for you, my coding different
static string _image_path;
public static string Image_Path
{
get { return _image_path; }
set { _image_path = value; }
}but, were is the database? :doh:
nelsonpaixao@yahoo.com.br trying to help & get help