Hi I have an objectDataSource and i am trying to pass an object as parameter in its Inserting event. For some reason the "Inserting" is not getting fired up before Insert is called.
It is not getting into
ObjectDataSource1_Inserting(object sender, ObjectDataSourceMethodEventArgs e)
Event block for some reason. Any idea ?
Here is the ObjectDataSource and the code where its Insert method is been called.
here is the object i need to pass
public class FeedItem
{
string feedItemTitle;
string feedItemLink;
public string FeedItemTitle
{
get { return feedItemTitle; }
}
public string FeeDItemLink
{
get { return feedItemLink; }
}
public FeedItem(string _feedItemTitle, string _feedItemLink)
{
feedItemTitle = _feedItemTitle;
feedItemLink = _feedItemLink;
}
}
Thanks