G 
		
								
				
				
			
		Guest
Hi
I'm trying to put the database column's value in a
variable, but when I do this I get this exception
Specified cast is not valid.
The column accept varchar values. My code is:
string reg = odrCrear.GetString("Name").ToString().Trim();
What is wrong???
Regards
				
			I'm trying to put the database column's value in a
variable, but when I do this I get this exception
Specified cast is not valid.
The column accept varchar values. My code is:
string reg = odrCrear.GetString("Name").ToString().Trim();
What is wrong???
Regards