private void BindTitle() { BPStoryTypes bp = new BPStoryTypes(); DSStories = bp.SelectStoryTypeByID(SubTypeID); if (DSStories.tbl_StoryTypes.Count > 0) { BEStories.tbl_StoryTypesRow typeRow = DSStories.tbl_StoryTypes[0]; lblTitle.Text = "Browse " + typeRow.StoryTypeName + " Pages"; btnAdd.Text = "Add New"; } }
private void GetSubTypeName() { BPStoryTypes bp = new BPStoryTypes(); BEStories dsStoryTypes = bp.SelectStoryTypeByID(SubTypeID); if (dsStoryTypes.tbl_StoryTypes.Count > 0) { BEStories.tbl_StoryTypesRow type = dsStoryTypes.tbl_StoryTypes[0]; SubTypeName = type.StoryTypeName; } }