Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to use if and for loop while filling data #71

Open
Yes-IT opened this issue Jun 27, 2021 · 0 comments
Open

How to use if and for loop while filling data #71

Yes-IT opened this issue Jun 27, 2021 · 0 comments

Comments

@Yes-IT
Copy link

Yes-IT commented Jun 27, 2021

  1. I am trying to bind a template where I need to put conditions before putting some values ? I am not getting how to do this ?
  2. I need to populate data in table control based on for loop so how we can use for loop while assigning values in fieldContent inside Table.

var valuesToFill = new Content(
//new ChartContent("Chart"),

               // Add field.
               new FieldContent("LessonName", lessonname),
             new FieldContent("Source", Source),
                 new FieldContent("AuthorName", Author)
                 // Add image in header.
                 //new ImageContent("Logo", System.IO.File.ReadAllBytes(LogoPath))
                 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant