Click here to Skip to main content
15,890,579 members
Home / Discussions / C#
   

C#

 
GeneralRe: Cannot get value because it is DBNull Pin
Anonymous19-Aug-05 0:39
Anonymous19-Aug-05 0:39 
GeneralRe: Cannot get value because it is DBNull Pin
Guffa19-Aug-05 0:51
Guffa19-Aug-05 0:51 
GeneralRe: Cannot get value because it is DBNull Pin
Anonymous19-Aug-05 1:31
Anonymous19-Aug-05 1:31 
GeneralRe: Cannot get value because it is DBNull Pin
Azerax19-Aug-05 0:50
Azerax19-Aug-05 0:50 
GeneralRe: Cannot get value because it is DBNull Pin
Anonymous19-Aug-05 1:21
Anonymous19-Aug-05 1:21 
GeneralRe: Cannot get value because it is DBNull Pin
Azerax19-Aug-05 2:37
Azerax19-Aug-05 2:37 
GeneralRe: Cannot get value because it is DBNull Pin
Azerax19-Aug-05 2:41
Azerax19-Aug-05 2:41 
GeneralBoxing/unboxing objects Pin
JorisFromHolland18-Aug-05 22:08
JorisFromHolland18-Aug-05 22:08 
Hello,

i've got an issue with objects. I have some code which
looks something like this:

public void X(object o) {
Y.getName(o);
}

public class Y {
public static string getName(Relation r) {

}

public static string getName(object o) {

}
}


when in method X i get a Relation object and I use the overloaded static method
in class Y it always uses the overload that accepts the base-object type. Maybe this
is because the object I get in method X kind of 'wraps' the Relation object in a 'base' -object. Does anyone know how I can manage to get this to work ?

Thanks

with kind regards
Joris
GeneralRe: Boxing/unboxing objects Pin
Guffa18-Aug-05 22:16
Guffa18-Aug-05 22:16 
GeneralRe: Boxing/unboxing objects Pin
Matt Gerrans18-Aug-05 22:29
Matt Gerrans18-Aug-05 22:29 
GeneralComparing strings Pin
binglin18-Aug-05 22:06
binglin18-Aug-05 22:06 
GeneralRe: Comparing strings Pin
Gavin Jeffrey18-Aug-05 22:13
Gavin Jeffrey18-Aug-05 22:13 
GeneralRe: Comparing strings Pin
Mohamad Al Husseiny18-Aug-05 22:21
Mohamad Al Husseiny18-Aug-05 22:21 
GeneralRe: Comparing strings Pin
Guffa18-Aug-05 22:38
Guffa18-Aug-05 22:38 
GeneralRe: Comparing strings Pin
Mohamad Al Husseiny18-Aug-05 22:51
Mohamad Al Husseiny18-Aug-05 22:51 
GeneralWebservice Pin
WDI18-Aug-05 20:44
WDI18-Aug-05 20:44 
GeneralRe: Webservice Pin
Guffa18-Aug-05 21:49
Guffa18-Aug-05 21:49 
GeneralRe: Webservice Pin
WDI19-Aug-05 18:22
WDI19-Aug-05 18:22 
GeneralRe: Webservice Pin
Guffa20-Aug-05 13:19
Guffa20-Aug-05 13:19 
GeneralSystem.Net query Pin
softty18-Aug-05 20:41
softty18-Aug-05 20:41 
GeneralRe: System.Net query Pin
Mohamad Al Husseiny18-Aug-05 21:58
Mohamad Al Husseiny18-Aug-05 21:58 
GeneralThe object is currently in use elsewhere Pin
sgatto15918-Aug-05 19:26
sgatto15918-Aug-05 19:26 
GeneralLoading multiple image files Pin
Os Sutrisno18-Aug-05 19:23
Os Sutrisno18-Aug-05 19:23 
GeneralRe: Loading multiple image files Pin
therealmccoy18-Aug-05 21:11
therealmccoy18-Aug-05 21:11 
GeneralRe: Loading multiple image files Pin
Os Sutrisno18-Aug-05 21:20
Os Sutrisno18-Aug-05 21:20 

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.