| |||||||||||
DataColumn Constructor ( String, Type, String )System.Data Namespace DataColumn Class Initializes a new instance of the DataColumn class using the specified name, data type, and expression. [ VB ] Overloads Public Sub New ( _ ByVal columnName As String, _ ByVal dataType As Type, _ ByVal expr As String _ ) [ C# ] public DataColumn ( string columnName, Type dataType, string expr ); [ C++ ] public: DataColumn ( String* columnName, Type* dataType, String* expr ); [ JScript ] public function DataColumn ( columnName : String, dataType : Type, expr : String ); Parameters
Exceptions
ExampleThe following example initializes a computed column.
See AlsoDataColumn Members DataColumn Constructor Overload List DefaultValue ColumnName Caption DataTable DataType Expression |
| ||||||||||
Check out related books at Amazon
© 2000-2008 Rey Nuñez All rights reserved.
If you have any question, comment or suggestion
about this site, please send us a note
You can help support aspxtreme