How to assign a variable value to datetimepicker in c#

Siraj SYED 1 Reputation point
2022-07-31T21:39:12.837+00:00

i have a MS SQL table which has 28th field as car_transaction date it is saved as yyyy-MM-DD , i want to assign the value from this field to a variable called "mcompdate" , and after assigning, in the second form i want to take the value of mcompdate in the second form2 to datetimepicker cddate , please advise as i have tried all the given solution in the net and my source code is confusing i am not sharing the source code , i just need a portion of this solution

Thanks in advance
Siraj SYED

Developer technologies C#
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.