473,386 Members | 1,828 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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 isScienceStudent 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?
Mar 14 '08 #1
2 1180
debasisdas
8,127 Expert 4TB
Kindly post what you have tried so far.
Mar 14 '08 #2
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...
Mar 14 '08 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: DKode | last post by:
Just curious, What is the proper way to add event handlers for web controls in a ascx/aspx page in csharp? The way I've been doing it up until this point is adding the += eventhandler in the...
2
by: MikeY | last post by:
Hi everyone, I have built a user control "keyboard" and I am trying to figure a way to add this control at run-time. I have also tried creating a Inherited user control, which I am able to add...
3
by: Bart Van Hemelen | last post by:
I'm working on a project where the user of a site will receive custom content, depending on a set of parameters. The content will all be contained in UserControls (.ascx), that will be used as...
4
by: Steve B. | last post by:
Hi As we ship some controls with one of our application that targets web designers, we want to add items in the toolbox of the two products. With VS 2005, it is quite easy, but what about this...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.