I have a page where a dropdown and gridview control show up and work as expected. However, I just added another gridview control, and in code-behind, it is getting data to bind to 2nd gridview but when I run the page, nothing shows up in 2nd grid view.
Then I tried to place literal text in place of gridview and it shows up. I placed a label control, assigned the text to label control in code behind and nothing shows up. I assign literal text to the label and it shows up....I'm guessing it's the text in
code behind that's causing problem in rendering text on the page.
foreach (var str in commentsList)
{
questions.Add(new Question() { Title = "MandatoryComments", Answer = str.MandatoryComments.ToString() });
if (str.Mandatory ...
Go to the complete details ...