Anburaj Marikkani
New member
- Joined
- Jul 29, 2020
- Messages
- 2
- Programming Experience
- 3-5
Hi,
I have a class(MyClass) it is inherited from DataTable class.
Class MyClass : DataTable {
}
And I bind this class to my grid. In our source, there is a condition which checks
grid.Datasource.GetType.Name=="DataTable"
But in my case, the Datasource type name has MyClass then how can I achieve without modifying the condition
I have a class(MyClass) it is inherited from DataTable class.
Class MyClass : DataTable {
}
And I bind this class to my grid. In our source, there is a condition which checks
grid.Datasource.GetType.Name=="DataTable"
But in my case, the Datasource type name has MyClass then how can I achieve without modifying the condition