this is part of my code
//Instantiate the object we have to deal with string Name = txtName.Text; string Description = txtDecription.Text; string Topic = txtTopic.Text; string Sponsor = txtSponsor.Text; string Location = txtLocation.Text; System.DateTime StartDate; StartDate= DateTime.Parse(txtStartDate.Text); System.DateTime EndDate = DateTime.Parse(txtEndDate.Text); string URL = txtURL.Text;
try
{
intResult = pBAL.Insert(Name,Description, Topic,Sponsor, Location,StartDate,EndDate,URL);
}
error:Argumnet 6 and 7 .cannot convert from System .DateTime to 'string Need some help