Click here to Skip to main content
14,367,300 members
Rate this:
Please Sign up or sign in to vote.
See more:
Hi Geeks,

I am trying to assign an Interger Value to RunTimePropertyInfo type which has used Reflection.

i.e. dr["ColumnName"]= -1 ;

exception - Type or value has mismatch with columntype couldnot store <-1>int the Column.Expected type is RunTimePropertyInfo.

Plese help me in this.

Many Thanks.
Kornfeld Eliyahu Peter 29-Jan-14 15:26pm
It seems that -1 has the wrong type...
Can you show more of your code so we can see the error in context?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100