Click here to Skip to main content
15,901,035 members
Home / Discussions / C#
   

C#

 
GeneralRe: database Pin
Hawks Talon11-Dec-09 7:23
Hawks Talon11-Dec-09 7:23 
QuestionReflection Parameter Problem object[] Pin
dataminers10-Dec-09 22:00
dataminers10-Dec-09 22:00 
AnswerRe: Reflection Parameter Problem object[] Pin
Abhinav S10-Dec-09 22:16
Abhinav S10-Dec-09 22:16 
GeneralRe: Reflection Parameter Problem object[] Pin
dataminers10-Dec-09 22:27
dataminers10-Dec-09 22:27 
GeneralRe: Reflection Parameter Problem object[] [modified] Pin
Abhinav S10-Dec-09 22:32
Abhinav S10-Dec-09 22:32 
GeneralRe: Reflection Parameter Problem object[] Pin
dataminers10-Dec-09 23:00
dataminers10-Dec-09 23:00 
GeneralRe: Reflection Parameter Problem object[] Pin
Abhinav S10-Dec-09 23:58
Abhinav S10-Dec-09 23:58 
GeneralRe: Reflection Parameter Problem object[] Pin
Gideon Engelberth11-Dec-09 4:23
Gideon Engelberth11-Dec-09 4:23 
In that case, you have a few problems. The first is that you are assuming that all parameters are the one character long. The second is that your GetParameters method has no way to know what types you need. You need to get the parameter types from your MethodInfo and pass them into the function. Once you have that, you can use the more general Convert.ChangeType to create the right type of object.

Also, for readability's sake, why are you using param.SetValue(item, index) instead of just param(index) = item?
QuestionSendTcpSynExample.cs Pin
3bood.ghzawi10-Dec-09 21:27
3bood.ghzawi10-Dec-09 21:27 
AnswerRe: SendTcpSynExample.cs Pin
Covean10-Dec-09 23:03
Covean10-Dec-09 23:03 
QuestionSendTcpSynExample.cs Pin
3bood.ghzawi10-Dec-09 21:24
3bood.ghzawi10-Dec-09 21:24 
AnswerRe: SendTcpSynExample.cs Pin
dan!sh 10-Dec-09 22:24
professional dan!sh 10-Dec-09 22:24 
QuestionHow can I embedd MsWord in Iframe on my aspx page using C#.Net Pin
jalajbakshi10-Dec-09 18:15
jalajbakshi10-Dec-09 18:15 
AnswerRe: How can I embedd MsWord in Iframe on my aspx page using C#.Net Pin
ravinder4u10-Dec-09 18:19
ravinder4u10-Dec-09 18:19 
QuestionControl.Invoke must be used to interact with controls created on a seperate thread Pin
benjamin yap10-Dec-09 18:02
benjamin yap10-Dec-09 18:02 
AnswerRe: Control.Invoke must be used to interact with controls created on a seperate thread Pin
vivasaayi10-Dec-09 20:58
vivasaayi10-Dec-09 20:58 
GeneralRe: Control.Invoke must be used to interact with controls created on a seperate thread Pin
benjamin yap10-Dec-09 21:34
benjamin yap10-Dec-09 21:34 
GeneralRe: Control.Invoke must be used to interact with controls created on a seperate thread Pin
vivasaayi11-Dec-09 1:32
vivasaayi11-Dec-09 1:32 
GeneralRe: Control.Invoke must be used to interact with controls created on a seperate thread [modified] Pin
benjamin yap11-Dec-09 4:32
benjamin yap11-Dec-09 4:32 
QuestionGeneric Property Error Pin
Lino Chacko10-Dec-09 16:41
Lino Chacko10-Dec-09 16:41 
AnswerRe: Generic Property Error Pin
Migounette10-Dec-09 22:48
Migounette10-Dec-09 22:48 
QuestionHow to traverse a tree (class containing parent and child properties of the same class) using threads? Pin
Rafferty Uy10-Dec-09 15:42
Rafferty Uy10-Dec-09 15:42 
AnswerRe: How to traverse a tree (class containing parent and child properties of the same class) using threads? Pin
Migounette11-Dec-09 4:41
Migounette11-Dec-09 4:41 
Questionhi Pin
bassam eshteba10-Dec-09 12:43
bassam eshteba10-Dec-09 12:43 
AnswerRe: hi Pin
Sir Dot Net10-Dec-09 13:23
Sir Dot Net10-Dec-09 13:23 

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.