public void FillLedgerType()
{
DataTable LedgerTypeDT = new DataTable();
DataColumn LedgerType = new DataColumn("LedgerType", typeof(string));
LedgerTypeDT.Columns.Add(LedgerType);
DataColumn LedgerTypeID = new DataColumn("LedgerTypeID", typeof(string));
LedgerTypeDT.Columns.Add(LedgerTypeID);
DataRow row = null;
row = LedgerTypeDT.NewRow();
row["LedgerType"] = "--Select--";
row["LedgerTypeID"] = "0";
LedgerTypeDT.Rows.Add(row);
row["LedgerType"] = "Credit";
row["LedgerTypeID"] = "1";
row["LedgerType"] = "Debit";
row["LedgerTypeID"] = "2";
CmbAccountType.DataSource = LedgerTypeDT;
CmbAccountType.DisplayMember = "LedgerType";
CmbAccountType.ValueMember = "LedgerTypeID";
}