Server Error in '/' Application.

Compilation Error

Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.

Compiler Error Message: CS1501: No overload for method 'Insert' takes 1 arguments

Source Error:


Line 29:         contact.Title = txtTitle.Value.Trim();
Line 30:         contact.Pubdate = DateTime.Now;
Line 31:         BASA.DAL.Portal.ContactUs.Insert(contact);
Line 32:         if (contact.ID > 0)
Line 33:             Response.Redirect("~/Success.aspx");

Source File: c:\inetpub\vhosts\siminkaraj.com\httpdocs\ContactUs.aspx.cs    Line: 31






Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.4700.0