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

C#

 
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 
GeneralRe: Boxing/unboxing objects Pin
Guffa18-Aug-05 22:16
Guffa18-Aug-05 22:16 
What method is used is decided at compile time, not run time. Therefore each method call always calls the same method, regardless of the data you use.

You have to type the object to a Relation to use the method that accepts a Relation. Check if the object is a relation:

if (o is Relation) {<br />
  Y.getName((Relation)o);<br />
} else {<br />
  Y.getName(o);<br />
}


---
b { font-weight: normal; }

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 
GeneralRe: Loading multiple image files Pin
Rizwan Bashir18-Aug-05 21:48
Rizwan Bashir18-Aug-05 21:48 

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.