Yes, First of that you have to know that A void method by default is Private. An you can not access a Private method from Another class So you have to declare as Public Like: Public void YourMethodName() { //Input your data }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)