Adding controls row wise

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • xpertbyshishir
    New Member
    • Apr 2007
    • 7

    Adding controls row wise

    I am working on a Asp.Net project where i want to add controls with each row that i add to the design . i'l explain with an example..

    suppose i have student name as my main fieldname, whose information needs to be displayed or updated.When i retreive a user name, i want that controls corresponding to it should also be added, like checkbox to be added, if he's a science student, radio button to show how his marks should be displayed(total , subject wise etc)


    Student name isScienceStuden t Male/Female EditAge Marks
    1. John (checkbox) (radiobutton) (textbox) (radiobutton)
    2. Kim (checkbox) (radiobutton) (textbox) (radiobutton)


    How should i go about this. Student name is retreived from database.i know dynamically adding controls is an options. if anyone can provide with simple code in VB?
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    Kindly post what you have tried so far.

    Comment

    • xpertbyshishir
      New Member
      • Apr 2007
      • 7

      #3
      Originally posted by debasisdas
      Kindly post what you have tried so far.
      Actually i am new to this asp.net . so i havent tried any code yet because i am not clear with my approach. if anyone can just give an idea of how to go about it, that would be great...

      Comment

      Working...