Download the code here [ http://www.dotnetzone.gr/cs/forums/3422/PostAttachment.aspx ] Based on the MSDN article 310350 (How to update parent-child data with an Identity column from a Windows Forms application by using a Web service in Visual Basic .NET,