ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.

advertisement

AddThis Social Bookmark Button
Article:
  ASP.NET Data Controls Part 3: DataList
Subject:   face some problem
Date:   2003-05-22 00:53:13
From:   anonymous2
i did almost same with the code taught over here
but, i found some error...
i cant solve it
is there anyone can help out?
the error shown is:
[InvalidCastException: Specified cast is not valid.]
project.main.ItemUpdate(Object objSource, DataListCommandEventArgs objArgs)
System.Web.UI.WebControls.DataList.OnUpdateCommand(DataListCommandEventArgs e)
System.Web.UI.WebControls.DataList.OnBubbleEvent(Object source, EventArgs e)
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
System.Web.UI.WebControls.DataListItem.OnBubbleEvent(Object source, EventArgs e)
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args)
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e)
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
System.Web.UI.Page.ProcessRequestMain()


pls reply if can...
thanks...