Interview Questions

If we write any code for dataGrid methods, what is the access specifier used for that methods in the code behind file and why and how? Give an example.

.NET Database ,COM interop,and .NET deployment questions and answers


(Continued from previous question...)

If we write any code for dataGrid methods, what is the access specifier used for that methods in the code behind file and why and how? Give an example.

We use Friends Modifer for the dataGrid methods. Friend WithEvents DataGrid1 As System.Windows.Forms.DataGrid

(Continued on next question...)

Other Interview Questions