Click here to Skip to main content
15,910,009 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to paging datagrid? Pin
Stefan Troschuetz9-May-06 0:03
Stefan Troschuetz9-May-06 0:03 
QuestionHow to paging datagrid? Pin
Robert Wang19838-May-06 23:53
Robert Wang19838-May-06 23:53 
QuestionReturning AD values in C# Pin
lee.jones8-May-06 23:48
lee.jones8-May-06 23:48 
QuestionInstallation path needed Pin
Willem_Le_Roux8-May-06 23:38
Willem_Le_Roux8-May-06 23:38 
Questionhow to display selected items of a listbox into a datagrid at runtime Pin
narendrakumarp8-May-06 23:26
narendrakumarp8-May-06 23:26 
AnswerRe: how to display selected items of a listbox into a datagrid at runtime Pin
goyal manish8-May-06 23:59
goyal manish8-May-06 23:59 
GeneralRe: how to display selected items of a listbox into a datagrid at runtime Pin
nivasinfotech9-May-06 0:06
nivasinfotech9-May-06 0:06 
Questionthe exception can not be handled.... Pin
m.rastgar8-May-06 23:14
m.rastgar8-May-06 23:14 
QuestionImages in Richtextbox Pin
_mubashir8-May-06 22:59
_mubashir8-May-06 22:59 
Questionqueer error message Pin
occcy8-May-06 22:26
occcy8-May-06 22:26 
AnswerRe: queer error message Pin
delftred26-May-09 19:05
professionaldelftred26-May-09 19:05 
GeneralRe: queer error message Pin
occcy26-May-09 20:35
occcy26-May-09 20:35 
QuestionFill dataset Pin
Rmokkenstorm8-May-06 22:11
Rmokkenstorm8-May-06 22:11 
Questionhow to define an array? Pin
susan200620068-May-06 21:56
susan200620068-May-06 21:56 
AnswerRe: how to define an array? Pin
sathish s8-May-06 22:04
sathish s8-May-06 22:04 
AnswerRe: how to define an array? Pin
Shajeel8-May-06 22:08
Shajeel8-May-06 22:08 
QuestionConverting DataTable into an array of Bytes Pin
Mohamed El Gohary8-May-06 21:53
Mohamed El Gohary8-May-06 21:53 
QuestionSQL Query String Pin
cshivaprasad8-May-06 21:29
cshivaprasad8-May-06 21:29 
AnswerRe: SQL Query String Pin
J4amieC8-May-06 21:58
J4amieC8-May-06 21:58 
GeneralRe: SQL Query String Pin
cshivaprasad9-May-06 0:36
cshivaprasad9-May-06 0:36 
QuestionReflection and Overloaded Methods Problem ! Pin
User 20930738-May-06 21:18
User 20930738-May-06 21:18 
Dear Friands,
I have two overloaded methods with the following signatures in 'MyClass' that is a class library in a dll file and I want to invoke a method from this dll at runtime by reflection:

public class MyClass()
{
  public int MyMethod(ref int intParam)
   {
     intParam += 100;
     return Math.Sin(intParam);
   }

  public int MyMethod(int intParam)
   {
     intParam += 100;
     return Math.Sin(intParam);
   }
}


When I use typeof(MyClass).GetMethod("MyMethod"); ,System.Reflection.AmbiguousMatchException is throw !!

If I use
typeof(MyClass).GetMethod("MyMethod",new Type [] {typeof(int)});
The second overloaded method with the value parameter invokes.
How can I force the CLR to run the first method and pass the parameter to it by reference ?

Regards,
Xironix


[ _ Always there is another way _ ]
QuestionUpdating the status Pin
Rizwan Rathore8-May-06 21:04
Rizwan Rathore8-May-06 21:04 
AnswerRe: Updating the status Pin
sathish s8-May-06 21:16
sathish s8-May-06 21:16 
GeneralRe: Updating the status Pin
Rizwan Rathore8-May-06 21:22
Rizwan Rathore8-May-06 21:22 
AnswerRe: Updating the status Pin
sathish s8-May-06 21:42
sathish s8-May-06 21:42 

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.