How to display error message in GridView? RRS feed

  • Question

  • User-1166428634 posted

    Hi All,

              I have following tables :

    AllSections : SectionId(PK), SectionName

    AllDept      : DeptId(PK), DeptName

    PaperList   : PaperId (PK), SectionId(FK), DeptId(FK), Date etc....

    Here, User may select either Section or Dept. If user selects Section then Dept will have NULL value and if user selects Dept then SectionId will have NULL value.

    I want to display the PaperId, SectionName DeptName Date on GridView

    My requirement is If SectionId or DeptId has null then is it possible to display "NO DATA SELECTED" message on that column?

    Tuesday, July 2, 2013 2:44 AM


All replies