private void OpenRecord() { dtNLTypeList = objLeaveMgr.SelectLeaveTakenMatrix(); grLeave.DataSource = dtNLTypeList; grLeave.DataBind(); }