DataGridTableStyle Problem
I try to use DataGridTableStyle, but I get the compile error message:
CS0246: The type or namespace name 'DataGridTableStyle' could not be found (are you missing a using directive or an assembly reference?)
I try to check through Microsoft MSDN site, it mentions that the require namespace is System.Windows.Forms, so I have included it at the delaration directive such as this:
<%@ Import Namespace = "System.Windows.Forms" %>
and it does not work.
Later, I try again this:
<%@ Import Namespace = "System.Windows.Forms.DataGridTableStyle" %>
but, still there is the compilation error.
Can anyone help me on this?
|