Click here to Skip to main content
15,923,087 members
Home / Discussions / C#
   

C#

 
GeneralRe: How to set node value in XMLDocument Pin
AndrusM14-Feb-07 9:23
AndrusM14-Feb-07 9:23 
GeneralRe: How to set node value in XMLDocument Pin
Stefan Troschuetz14-Feb-07 9:59
Stefan Troschuetz14-Feb-07 9:59 
GeneralRe: How to set node value in XMLDocument Pin
AndrusM14-Feb-07 10:23
AndrusM14-Feb-07 10:23 
GeneralRe: How to set node value in XMLDocument Pin
Stefan Troschuetz14-Feb-07 21:13
Stefan Troschuetz14-Feb-07 21:13 
GeneralRe: How to set node value in XMLDocument Pin
AndrusM15-Feb-07 6:43
AndrusM15-Feb-07 6:43 
GeneralRe: How to set node value in XMLDocument Pin
Stefan Troschuetz15-Feb-07 7:32
Stefan Troschuetz15-Feb-07 7:32 
GeneralRe: How to set node value in XMLDocument Pin
AndrusM15-Feb-07 8:13
AndrusM15-Feb-07 8:13 
QuestionConvert DataReader to Entity list Pin
AndrusM12-Feb-07 12:49
AndrusM12-Feb-07 12:49 
I need to convert datareader to stongly typed entity list.
The following procedure returns error.
How to fix this ?

List<xEntity> CreateEntityList<xEntity>(IDataReader dataReader) {

List<xEntity> list = new List<xEntity>();
while (dataReader.Read()) {
	object[] o;
	dataReader.GetValues(o);
	// the following line causes errors:
	//Error	1	The best overloaded method match for 
	// 'System.Collections.Generic.List<xEntity>.Add(xEntity)' has 
	//some invalid arguments	
	//Error	2	Argument '1': cannot convert from 'object[]' to 'xEntity'
	list.Add(o);
	}
dataReader.Close();
return list;
}



Andrus

QuestionCrystal Report WebService Report to DataSet Pin
dbambirck12-Feb-07 12:36
dbambirck12-Feb-07 12:36 
QuestionCopy value from that table adapter to data grid cell, how? Pin
TrooperIronMan12-Feb-07 12:33
TrooperIronMan12-Feb-07 12:33 
AnswerRe: Copy value from that table adapter to data grid cell, how? Pin
TrooperIronMan12-Feb-07 14:19
TrooperIronMan12-Feb-07 14:19 
GeneralRe: Copy value from that table adapter to data grid cell, how? Pin
TrooperIronMan14-Feb-07 1:38
TrooperIronMan14-Feb-07 1:38 
QuestionHow can I have a Panel in my WindowForm? Pin
Khoramdin12-Feb-07 12:05
Khoramdin12-Feb-07 12:05 
AnswerRe: How can I have a Panel in my WindowForm? Pin
Ed.Poore12-Feb-07 12:23
Ed.Poore12-Feb-07 12:23 
QuestionOrphan Processes Pin
convivial.developer12-Feb-07 11:40
convivial.developer12-Feb-07 11:40 
Questionkeyboard handling for short-cuts using "Switch" Pin
Khoramdin12-Feb-07 10:03
Khoramdin12-Feb-07 10:03 
AnswerRe: keyboard handling for short-cuts using &quot;Switch&quot; Pin
Stefan Troschuetz12-Feb-07 10:37
Stefan Troschuetz12-Feb-07 10:37 
Questionhey, how can i retrive a letter from a controll under the cursor?? Pin
NZSmartie12-Feb-07 9:53
NZSmartie12-Feb-07 9:53 
AnswerRe: hey, how can i retrive a letter from a controll under the cursor?? Pin
Christian Graus12-Feb-07 10:34
protectorChristian Graus12-Feb-07 10:34 
GeneralRe: hey, how can i retrive a letter from a controll under the cursor?? Pin
NZSmartie12-Feb-07 10:39
NZSmartie12-Feb-07 10:39 
QuestionConvert Arraylist to Byte[] and back again Pin
DeepToot12-Feb-07 9:50
DeepToot12-Feb-07 9:50 
AnswerRe: Convert Arraylist to Byte[] and back again Pin
Pete O'Hanlon12-Feb-07 10:17
mvePete O'Hanlon12-Feb-07 10:17 
GeneralRe: Convert Arraylist to Byte[] and back again Pin
DeepToot12-Feb-07 10:25
DeepToot12-Feb-07 10:25 
GeneralRe: Convert Arraylist to Byte[] and back again Pin
Pete O'Hanlon12-Feb-07 10:27
mvePete O'Hanlon12-Feb-07 10:27 
QuestionHow to read the IDE Pin
electriac12-Feb-07 9:39
electriac12-Feb-07 9:39 

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.