Course Solutions Uncategorized (Solved) : Following Code Form Part Larger Code Add Customers Details Windows Form C Problem Custome Q32161573 . . . .

(Solved) : Following Code Form Part Larger Code Add Customers Details Windows Form C Problem Custome Q32161573 . . . .

 

I have the following code that form part of a larger code to adda customers details to a Windows Form (C#).

| Customers customer = new Customers (GlobalVariables.selectedCustomerID, lbCategoryID. Items [cbCategory.SelectedIndex].ToString), txtFirstName. Text, txtLastName.Text, cbGender.Text, txtAddress.Text, txtSuburb.Text, cbState.Text, int.Parse(txtPostcode.Text).ToString()), dtpBirthdate;

The problem that I am having is that the Customer Class has theBirthdate as DateTime and I am not sure how I set the parametersfor the dtpBirthdate to String. The error when hovering over theCustomer Class (above) state:

There is no argument given that corresponds to the requiredformal parameter “birthdate” of Customers.Customers (int, int,string, string, string, string, string, string,

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post