Click here to Skip to main content
15,914,162 members
Home / Discussions / C#
   

C#

 
QuestionC#,How to retrieve the image in sql to image control Pin
Ursrathi20-Sep-07 20:41
Ursrathi20-Sep-07 20:41 
AnswerRe: C#,How to retrieve the image in sql to image control Pin
Giorgi Dalakishvili20-Sep-07 20:51
mentorGiorgi Dalakishvili20-Sep-07 20:51 
QuestionPlease help me how to create a simple RadioButton Column in DataGridView. Pin
pcphuc20-Sep-07 20:28
pcphuc20-Sep-07 20:28 
AnswerRe: Please help me how to create a simple RadioButton Column in DataGridView. Pin
Sathesh Sakthivel20-Sep-07 21:14
Sathesh Sakthivel20-Sep-07 21:14 
GeneralRe: Please help me how to create a simple RadioButton Column in DataGridView. Pin
pcphuc20-Sep-07 21:19
pcphuc20-Sep-07 21:19 
GeneralRe: Please help me how to create a simple RadioButton Column in DataGridView. Pin
Dave Kreskowiak21-Sep-07 5:46
mveDave Kreskowiak21-Sep-07 5:46 
GeneralRe: Please help me how to create a simple RadioButton Column in DataGridView. Pin
rashidpervaiz0821-Sep-07 19:59
rashidpervaiz0821-Sep-07 19:59 
GeneralRe: Please help me how to create a simple RadioButton Column in DataGridView. Pin
pcphuc21-Sep-07 22:17
pcphuc21-Sep-07 22:17 
QuestionCalling Base Class From GrandChild class Pin
N a v a n e e t h20-Sep-07 19:36
N a v a n e e t h20-Sep-07 19:36 
AnswerRe: Calling Base Class From GrandChild class Pin
Christian Graus20-Sep-07 20:40
protectorChristian Graus20-Sep-07 20:40 
GeneralRe: Calling Base Class From GrandChild class Pin
N a v a n e e t h20-Sep-07 21:20
N a v a n e e t h20-Sep-07 21:20 
GeneralRe: Calling Base Class From GrandChild class Pin
Christian Graus20-Sep-07 21:54
protectorChristian Graus20-Sep-07 21:54 
GeneralRe: Calling Base Class From GrandChild class Pin
N a v a n e e t h20-Sep-07 22:33
N a v a n e e t h20-Sep-07 22:33 
AnswerRe: Calling Base Class From GrandChild class Pin
Guffa20-Sep-07 22:58
Guffa20-Sep-07 22:58 
AnswerRe: Calling Base Class From GrandChild class Pin
Guffa20-Sep-07 22:50
Guffa20-Sep-07 22:50 
GeneralRe: Calling Base Class From GrandChild class Pin
N a v a n e e t h20-Sep-07 23:33
N a v a n e e t h20-Sep-07 23:33 
AnswerRe: Calling Base Class From GrandChild class Pin
Martin#20-Sep-07 23:05
Martin#20-Sep-07 23:05 
Hello,

I think, In this case only a trick could work:
class BaseClass
{
	public virtual void SampleFun(bool TakeBase)
	{
                //TakeBase, has no effect in this method
		Console.WriteLine("In base class SampleFun");
	}
}
 
class ChildClass : BaseClass
{
	public override void SampleFun(bool TakeBase)
	{
                if(TakeBase)
                {
                    base.SampleFun(TakeBase)
                }
                else
                {
		    Console.WriteLine("In child class samplefun");
                }
	}
}
 
class GrandChild : ChildClass
{
	public GrandChild()
	{
		Console.WriteLine("Grandchild contructor");
 
		base.SampleFun(true);
                //or
                base.SampleFun(false);
	}
}


Never tested it! (maybe it's like Guffa sayed bevor)

Hope it helps!



All the best,

Martin

GeneralRe: Calling Base Class From GrandChild class Pin
N a v a n e e t h20-Sep-07 23:34
N a v a n e e t h20-Sep-07 23:34 
GeneralRe: Calling Base Class From GrandChild class Pin
Martin#20-Sep-07 23:41
Martin#20-Sep-07 23:41 
GeneralRe: Calling Base Class From GrandChild class Pin
Urs Enzler21-Sep-07 1:21
Urs Enzler21-Sep-07 1:21 
QuestionException Error Pin
ilango gandhi20-Sep-07 19:16
ilango gandhi20-Sep-07 19:16 
AnswerRe: Exception Error Pin
Scott Dorman20-Sep-07 19:22
professionalScott Dorman20-Sep-07 19:22 
AnswerRe: Exception Error Pin
Guffa20-Sep-07 19:27
Guffa20-Sep-07 19:27 
AnswerRe: Exception Error Pin
DaveyM6920-Sep-07 20:45
professionalDaveyM6920-Sep-07 20:45 
QuestionCould not load Assembly Pin
veereshIndia20-Sep-07 18:57
veereshIndia20-Sep-07 18:57 

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.