This is a migrated thread and some comments may be shown as answers.

Use SelectedValue in other classes

0 Answers 36 Views
DateTimePicker
This is a migrated thread and some comments may be shown as answers.
Noah
Top achievements
Rank 1
Noah asked on 30 Oct 2018, 07:14 AM

Hello, i have a problem.

I need to use the Selected Value from the radDateTimePicker in other VB.NET classes.

If I set the Dim as Public Shared i get an error. "Cannot access non-shared Field 'radDateTimePicker' in shared context"

 

How can I use the SelectedValue in the other class?

 

 

No answers yet. Maybe you can help?

Tags
DateTimePicker
Asked by
Noah
Top achievements
Rank 1
Share this question
or