You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user-cs@ibatis.apache.org by Mohammed Mudassir <mm...@gmail.com> on 2005/04/15 07:28:13 UTC

Specified Cast is not valid?

Hello !

Iam using IBATIS and creating very very simple example, facing the
following error:


Exception Details: System.InvalidCastException: Specified cast is not valid.

Source Error: 


Line 31: 		void Load_List()
Line 32: 		{
Line 33: 			DataGrid1.DataSource=Mapper.Instance().QueryForList("Select",null);
Line 34: 			DataGrid1.DataBind();
Line 35: 
 


any ideas why this thing happened?

Take Care,


-- 

Mudassir

San Jose,CA

--------------------------------------------------------------------------------------------------------------------------

Hope is a good thing, maybe the best of things, and no good thing ever dies. 

- The Shawshank Redemption (Movie)