本文介绍了如何调试此错误?无法将参数值从String转换为DateTime的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
private void cmdTrainingSubmit_Click(object sender, EventArgs e)
{
SEAFDECDatSetTableAdapters.NewVisitorTableAdapter NewVisitorInsertAdapter = new
SEAFDECDatSetTableAdapters.NewVisitorTableAdapter();
NewVisitorInsertAdapter.NewVisitorInsertQuery
(
txtNewVisitorID.Text,
txtNewVDate.Text,
txtTrCourse.Text,
txtInlusiveDate.Text,
txtTrSurname.Text,
txtTrFirstname.Text,
txtTrMidname.Text,
txtTrBdate.Text,
txtTrAge.Text,
txtTrBplace.Text,
txtTrGender.Text,
txtTrCivStatus.Text,
txtTrNationality.Text,
txtTrReligion.Text,
txtTrHomeAddress.Text,
txtTrContactNo.Text,
txtTrFaxNo.Text,
txtTrEadd.Text,
txtEducAttainment.Text,
TxtTrLastSchool.Text,
txtOccupation.Text,
txtPosition.Text,
txtNoYears.Text,
txtEmployer.Text,
txtSchool.Text,
txtAddress.Text,
txtTrOccTelNo.Text,
txtDegree.Text,
txtCollegeCourse.Text,
txtGrade.Text,
txtTrFaxNo.Text,
txtTrEadd.Text,
txtTrExperience.Text,
txtTrSponsorAgency.Text,
txtTrNameEmergency.Text
);
}
推荐答案
这篇关于如何调试此错误?无法将参数值从String转换为DateTime的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!