Dim ds as new DataSet dim bs as new BindingSourse Dim dt As New DataTable("Test") Dim dob As New DataColumn("dob", System.Type.GetType("System.DateTime"))' I try to do it, but it seem this code does't work dt.Columns.Add(dob) ds.Tables.Add(dt) bs.DataSource = ds.Tables("Test") Textbox1.DataBindings.Add("Value", bs, "dob")
System.Type.GetType("System.DateTime")
typeof(System.DateTime)
string.Empty
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)