C
czarvk
Guest
Hello, I am trying to convert datetime column to date format from a data row. But I have been getting "No overload for method ToString takes 1 argument" error.
This is the code. Below is the screenshot. How do I convert the data that is dr[0] to "dd/m/YYYY" format. PLease help. Thanks in advance.
defect.Production_Date = dr[0].ToString("dd/m/YYYY");

svk
Continue reading...
This is the code. Below is the screenshot. How do I convert the data that is dr[0] to "dd/m/YYYY" format. PLease help. Thanks in advance.
defect.Production_Date = dr[0].ToString("dd/m/YYYY");

svk
Continue reading...