Parameter does not fill
<p>My problem is that</p>

<p>A listview calls for a method that takes (Roof roopPart) as parameter
roofpart contains of property RoofId</p>

<p>My listview and object datasource looks like this</p>

<pre><code> &lt;asp:ObjectDataSource ID="RoofPartObjectDataSource"
 SelectMethod="GetRoofPartsByRoofId" TypeName="Service"
        runat="server" DataObjectTypeName="RoofPart" InsertMethod="SaveRoofPart"
 UpdateMethod="SaveRoofPart"
        DeleteMethod="DeleteRoofPart" OnInserting="RoofPartObjectDataSource_Inserting"
 OnUpdating="RoofPartObjectDataSource_Updating"
        OnDeleted="RoofPartObjectDataSource_Deleted"
 OnInserted="RoofPartObjectDataSource_Inserted"
        OnSelected="RoofPartObjectDataSource_Selected"
 OnUpdated="RoofPartObjectDataSource_Updated"&gt;
    &lt;SelectParameters&gt;
        &lt;asp:QueryStringParameter Name="RoofId" QueryStringField="id" Type="int32" /&gt;
    &lt;/SelectParameters&gt;
    &lt;/asp:ObjectDataSource&gt;

 &lt;asp:ListView ID="ListView2" runat="server" DataSourceID="RoofPartObjectDataSource"
 InsertItemPosition="None"
        DataKeyNames="RoofId, RoofPartId"&gt;
</code></pre>

<p>But the listview has to fill the object roofPart, wich is used as a parameter to the method. I don't know how.</p>
