Click here to Skip to main content
15,915,611 members
Home / Discussions / C#
   

C#

 
GeneralRe: Method parameters Pin
Colin Angus Mackay24-Nov-05 4:15
Colin Angus Mackay24-Nov-05 4:15 
AnswerRe: Method parameters Pin
Colin Angus Mackay24-Nov-05 4:25
Colin Angus Mackay24-Nov-05 4:25 
GeneralRe: Method parameters Pin
Leslie Sanford24-Nov-05 4:46
Leslie Sanford24-Nov-05 4:46 
GeneralRe: Method parameters Pin
Colin Angus Mackay24-Nov-05 4:58
Colin Angus Mackay24-Nov-05 4:58 
GeneralRe: Method parameters Pin
Leslie Sanford24-Nov-05 5:34
Leslie Sanford24-Nov-05 5:34 
GeneralRe: Method parameters Pin
Colin Angus Mackay24-Nov-05 5:44
Colin Angus Mackay24-Nov-05 5:44 
AnswerRe: Method parameters Pin
Colin Angus Mackay24-Nov-05 5:02
Colin Angus Mackay24-Nov-05 5:02 
QuestionData types in reports (rdls) Pin
doph24-Nov-05 1:50
doph24-Nov-05 1:50 
I discovered a great feature of new VS 2005 - to allow use of Classes as datasources for reports.

I created a simple class with a couple of public string fields that source my report and they show quite happily in report viewer. Great functionality.

Now, I am trying to see if I can source an Array-like type to report and get it to show the data. For example say I have a Book class, that will conain name of the Author, number of pages, price and a HashTable (or another suitable) of characteristics: size, page colors and index.

Something like:

public HashTable OtherVals
{
get{

HashTable my = new HashTable();
my.Add("size","10x15");
my.Add("PageColor", "green");
return my;
}
}

How can this be shown on report?

Rewording of this quetsion below...

the .rdls report templates, when a Class is used as its datasource - what sort of data types can it handle?

In other words - strings work great, ints etc... How about ArrayList() or HashTable() or something that will allow me pass a list of 5 items into the report and show them in a list.

Thanks a lot!

Alexander Bolotnov
QuestionConverting decimal to String Pin
Subrahmanyam K24-Nov-05 1:37
Subrahmanyam K24-Nov-05 1:37 
AnswerRe: Converting decimal to String Pin
J4amieC24-Nov-05 2:02
J4amieC24-Nov-05 2:02 
AnswerRe: Converting decimal to String Pin
Craig G Fraser24-Nov-05 2:04
Craig G Fraser24-Nov-05 2:04 
QuestionRegarding Strong name Pin
A.Grover24-Nov-05 1:23
A.Grover24-Nov-05 1:23 
AnswerRe: Regarding Strong name Pin
S. Senthil Kumar24-Nov-05 2:19
S. Senthil Kumar24-Nov-05 2:19 
GeneralRe: Regarding Strong name Pin
A.Grover24-Nov-05 23:14
A.Grover24-Nov-05 23:14 
Questionclient/server communication Pin
batmanAgen24-Nov-05 1:08
batmanAgen24-Nov-05 1:08 
QuestionGenetating XML Pin
Gktony24-Nov-05 0:56
Gktony24-Nov-05 0:56 
AnswerRe: Genetating XML Pin
J4amieC24-Nov-05 1:33
J4amieC24-Nov-05 1:33 
GeneralRe: Genetating XML Pin
Gktony24-Nov-05 3:06
Gktony24-Nov-05 3:06 
GeneralRe: Genetating XML Pin
J4amieC24-Nov-05 4:32
J4amieC24-Nov-05 4:32 
QuestionHow to make a Line Graph Pin
Emyat24-Nov-05 0:24
Emyat24-Nov-05 0:24 
QuestionDesign Issues Pin
Billy Whizz23-Nov-05 23:55
Billy Whizz23-Nov-05 23:55 
QuestionWinWordControl Pin
pramod.21c23-Nov-05 23:49
pramod.21c23-Nov-05 23:49 
QuestionIs there anyone who will help about reading information from RFID kit Pin
Tyler4523-Nov-05 23:46
Tyler4523-Nov-05 23:46 
QuestionDoubt in ListView Control Pin
P. Gnana Prakash23-Nov-05 23:39
P. Gnana Prakash23-Nov-05 23:39 
AnswerRe: Doubt in ListView Control Pin
sreejith ss nair24-Nov-05 5:02
sreejith ss nair24-Nov-05 5:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.