Navd Posted November 7, 2003 Posted November 7, 2003 (edited) Crystal Reports in vb.net using our own Data Structure !.. hi, I am working on an application in VB.NET, which recieves packet of data (name,email,postal address )through sockests. I have made a class, which contains the above fields. Wheneve I get a new packet I create an instance of the class and store it in the hashtable. My application is required to print the recieved data at the end of the day. How can I assign the hashtable as a datasource to the crystal report. Although I can do the job, by storing the packets in database, but I don't want to do it that way. Does crystal reports in VB.NET give this facility? Thanx in advance Best Regards Edited November 7, 2003 by Navd Quote
BenH Posted November 7, 2003 Posted November 7, 2003 You wouldn't necessarily have to use a database as such. Before generating the report, you could just run your hashtable through a procedure that generates and returns an in-memory dataset or datatable. You could pass the dataset to crystal reports. Quote
Navd Posted November 8, 2003 Author Posted November 8, 2003 Thanx for reply.. but i want to know if i use a dataset generated from hashtable using a porcedure. How can i bound that dataset's table's fields with crystal report's fields ... Quote
Administrators PlausiblyDamp Posted November 8, 2003 Administrators Posted November 8, 2003 If you create a strongly typed dataset within visual studio then you can use that as a datasource for crystal reports. All the binding can then be done at design time. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Navd Posted November 10, 2003 Author Posted November 10, 2003 Thak you sooo... much. I solved the problem. bye.. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.