string Storedata = "Insert Into STUDENT_DETAILS (UNIQUEID, GRNO, FULLNAME, DOB, DOBINWORDS, STD, DIV, BIRTHPLACE, CASTRELIGION, MONO, STUDENTADDRESS, GENDER, MEDIUM, STUDENTPIC) Values ('"+STUDENT_ID.Text+"','"+GRNO.Text+"','"+fullname.Text+"','"+dateofbirth.Text+"','"+DOBINWORDSTXT.Text+"','"+std.Text+"','"+division.Text+"','"+birthplace.Text+"','"+castreligion.Text+"','"+mono.Text+"','"+studentaddress.Text+"','"+Gender+"','"+Medium+"',@IMG)";
i am getting error while save record.
error is :- conversion failed when converting date and/or time from character string


Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 12, 2020, 8:57 PM EDT
Jignesh KumarRank #91 · 22.9K reputationPosted Apr 12, 2020, 7:42 PM EDT
Amit MohantyRank #112 · 20K reputationPosted Apr 12, 2020, 7:43 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 12, 2020, 7:44 PM EDT
Bhavesh VankarRank #1,147 · 1.6K reputationPosted Apr 12, 2020, 7:47 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 12, 2020, 7:48 PM EDT
Bhavesh VankarRank #1,147 · 1.6K reputationPosted Apr 12, 2020, 7:51 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 12, 2020, 7:53 PM EDT
Bhavesh VankarRank #1,147 · 1.6K reputationPosted Apr 12, 2020, 7:58 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 12, 2020, 8:03 PM EDT
Bhavesh VankarRank #1,147 · 1.6K reputationPosted Apr 12, 2020, 8:12 PM EDT
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Apr 12, 2020, 8:20 PM EDT
Lalit HolkarRank #9,026 · 212 reputationPosted May 11, 2020, 6:51 AM EDT