|
using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
namespace HurWpf_TestApp1.DbSources
{
public class DbColumnSource
{
public static DbSource CommonDbSource;
public string TableName { get; set; }
public string ColumnName { get; set; }
public bool ColumnVisible { get; set; }
public DbColumnSource() {}
public DbColumnSource(string tableName, string columnName) : this()
{
TableName = tableName;
ColumnName = columnName;
ColumnVisible = true;
}
public DataTable Column
{
get
{
return CommonDbSource.GetColumn(TableName, ColumnName);
}
}
}
}
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
A Physics PhD with an engineering background who also earned an MBA. I am a long-time programmer who was confined to coding for academic purposes. Since 2004, I have been extending my coding skills into wider areas, like desktop interface development with data binding, automation of office applications, and development of physics simulations targeting social phenomena.