Thursday, February 3, 2011

Lesson 3

There has been a question about lesson 3.  I did jump the gun somewhat by asking you to use the table control.  It is pretty easy.  Just drag and drop the control on your form like you did the button is lesson 1.  Here is an example of using a Table control:


Table1.BorderColor = Color.AliceBlue;
        Table1.BorderWidth = 2;

        for (var i = 0; i < 10; i++)
        {
            var row = new TableRow();
            Table1.Rows.Add(row);
            for (var j = 0; j < 5; j++)
            {
                var cell = new TableCell();
                cell.BorderColor = Color.Blue;
                cell.BorderWidth = 2;
                cell.Text = i + "," + j;
                row.Cells.Add(cell);
            }
        }
    }

I'll also cover this Monday in our online session.  You will be be getting details in the next day or so, but block out 7:00 PM if you can.  It will be recorded as well.

Keep the questions coming,

Terry

16 comments:

  1. It seems there is an extra right curly bracket or maybe a missing left curly bracket.

    ReplyDelete
  2. Yep, sorry, cut and pasted a little too much.

    T

    ReplyDelete
  3. Is this an interactive online session? In other words will we have time to 'raise our hand' for questions?

    ReplyDelete
  4. I know I'll learn all about this on Monday but in the meantime...

    Are you looking for us to enter a bunch of HTML to satisfy the part of the assignment for the Literal control?

    Also, is this the literal control?


    Also, I've seen it in two ways; Self-closing and not. Is there a preference or best practice in this case?

    ReplyDelete
  5. Terry,
    Is it possible to get the lesson webpages font a little bigger? I tried to print the lesson but the font is so small that it is hard to read. Actually if the text is black, it might be okay. Thanks!
    Carmen

    ReplyDelete
  6. Try this color scheme. It might be better for you. Let me know.

    T

    ReplyDelete
  7. It prints better but Lessons 1 & 2 on the Course Outline on the webpage doesn't show. I think the font color blends in with the background color but it does show faintly went printed. Thank you for making the change.

    ReplyDelete
  8. Is there a way to view the lesson archive through CCC confer? I tried searching the archives but was unable to find it.

    ReplyDelete
  9. Noah - Terry didn't hit the record button so it wasn't recorded.
    Carmen

    ReplyDelete
  10. How and where do I turn in my assignments?

    ReplyDelete
  11. Email the .cs and .aspx files to me.

    T

    ReplyDelete
  12. Terry Please put your email on the class website.

    Thanks
    Mike

    ReplyDelete
  13. Do we have to write our codes in C#, or we can use VB?

    ReplyDelete
  14. I really need it in C#. I email the example I did during lecture. I think it will be pretty straight forward.

    ReplyDelete
  15. I have not receive any information on how to log into the conference this week

    Mike

    ReplyDelete
  16. Sorry Mike. I sent it out last week. I send them with the SRJC system so you can always see them in you student portal. That is gotten to at http://www.santarosa.edu.

    Terry

    ReplyDelete