|
-
Jan 8th, 2003, 02:42 AM
#1
Thread Starter
Fanatic Member
New to .Net world
hi
correct me if i am wrong.
i am planing to develop app which has a feedback for my customer and i want to do it in asp.net (web based) . my customer are of wide varity using diff products. now my feed back data (Q and Ans) are in database and need to generate the form dynamic based on few params.
the whole layout the controls should be dynamic
is this possible and can any one help me out it doing it.
-
Jan 8th, 2003, 10:53 PM
#2
Fanatic Member
yes, this is quite possible...
and well, if you're being paid to do this, you may want to consider sub-contracting it out to someone... hehe..
-
Jan 9th, 2003, 01:10 AM
#3
Thread Starter
Fanatic Member
-
Jan 10th, 2003, 03:43 AM
#4
Thread Starter
Fanatic Member
i know money matter.....
is it that only that matters... i belive in sharing.. any one else
-
Jan 10th, 2003, 11:32 AM
#5
Your question is too broad.
Allow me to compare it to a different arena:
Cattle.
I am planning to build a stable which has a health monitor for my cows and I want to do it in cherry oak. My cows are of a wide variety eating different feed each. My concerned health items (heart beat, temperature, etc) are on a clip board and I need to generate the daily reports based on few params.
The whole layout of the stables should be dynamic.
Is this possible and can any one help me out it doing it?
Sure it's possible. Why not try and then, when you get stuck, ask questions.
If you don't know ASP.NET, then you need tutorials so that you can learn. If that's the case, do a SEARCH for 'tutorials'.
Need to re-register ASP.NET?
C:\WINNT\Microsoft.NET\Framework\v#VERSIONNUMBER#\aspnet_regiis -i
(Edit #VERSIONNUMBER# as needed - do a DIR if you don't know)
-
Jan 11th, 2003, 02:29 AM
#6
Thread Starter
Fanatic Member
Originally posted by Lord_Rat
Your question is too broad.
Allow me to compare it to a different arena:
Cattle.
I am planning to build a stable which has a health monitor for my cows and I want to do it in cherry oak. My cows are of a wide variety eating different feed each. My concerned health items (heart beat, temperature, etc) are on a clip board and I need to generate the daily reports based on few params.
The whole layout of the stables should be dynamic.
Is this possible and can any one help me out it doing it?
Sure it's possible. Why not try and then, when you get stuck, ask questions.
If you don't know ASP.NET, then you need tutorials so that you can learn. If that's the case, do a SEARCH for 'tutorials'.
ok i got the mesage... it was veery loud...
i felt if i can give the concept that will help and peole can come out with suggestion or a diff one...
ok this time a simple one.....
i know we dont have control arrays in .net but it is possible..
what i want is the controls geting loaded dymanic and the positions...
i hope i have it right now
-
Jan 16th, 2003, 03:39 PM
#7
Lively Member
you can either create controls based on your parameters and load them onto a user control that has a table in it to insert the controls in then you can load the user conrol into a .aspx form for display to the user.
just a suggestion....
-
Jan 17th, 2003, 12:07 AM
#8
Thread Starter
Fanatic Member
Originally posted by bontyboy
you can either create controls based on your parameters and load them onto a user control that has a table in it to insert the controls in then you can load the user conrol into a .aspx form for display to the user.
just a suggestion....
thanks bontyboy ... frankly speaking it was greek to me... as my thread say new to .net can u give a bit of code to help me...
trying to learn by my self...
-
Jan 17th, 2003, 10:35 AM
#9
Lively Member
let me see if I can put something together that will make sense.
-
Jan 18th, 2003, 01:34 AM
#10
Thread Starter
Fanatic Member
Originally posted by bontyboy
let me see if I can put something together that will make sense.
waiting ......... can it be done as vb6 dynamic control adding and placing
-
Jan 20th, 2003, 01:16 PM
#11
Lively Member
sorry...I just got hit with a project that needs to be done asap.
-
Apr 10th, 2003, 11:35 PM
#12
Lively Member
Sorry to drdege up an Old post .. I just found it via searching and thought I'd add some code for future reference ..
This code adds controls dynaically to a table on a form ..
Code:
Dim i As Integer
'Put user code to initialize the page here
For i = 1 To 5
Dim myCombo As New System.Web.UI.WebControls.DropDownList()
Dim x As New System.Web.UI.WebControls.TableRow()
x.Cells.Add(New System.Web.UI.WebControls.TableCell())
x.Cells.Add(New System.Web.UI.WebControls.TableCell())
Table1.Rows.Add(x)
myCombo.Visible = True
myCombo.Items.Add(i)
' Add to the collection
Table1.Rows(i - 1).Cells(0).Text = "Text here:"
Table1.Rows(i - 1).Cells(1).Controls.Add(myCombo)
Next
Cheers,
Tim
-
Apr 11th, 2003, 02:34 AM
#13
Thread Starter
Fanatic Member
well thanks a lot tgoodmannz that shd help me .
-
Apr 11th, 2003, 08:47 AM
#14
Fanatic Member
Originally posted by Lord_Rat
Your question is too broad.
Allow me to compare it to a different arena:
Cattle.
I am planning to build a stable which has a health monitor for my cows and I want to do it in cherry oak. My cows are of a wide variety eating different feed each. My concerned health items (heart beat, temperature, etc) are on a clip board and I need to generate the daily reports based on few params.
The whole layout of the stables should be dynamic.
Is this possible and can any one help me out it doing it?
Sure it's possible. Why not try and then, when you get stuck, ask questions.
If you don't know ASP.NET, then you need tutorials so that you can learn. If that's the case, do a SEARCH for 'tutorials'.
Why didnt you just say.
I wrote a piece of software a few years ago which tracked the health an welfare of a herd of Aberdeen Angus here in England.
Unfortunatly they all had BSE and where killed so I never got a chance to test it properly.
-
Apr 11th, 2003, 09:19 AM
#15
Hyperactive Member
Maybe they all got sick because the software wasn't working properly
and the early warning system didn't kick in
Is it possible that outbreak of Mad Cow Disease can be traced back to dodgy
logic in venerable bede code!
Like mooo
-
Apr 11th, 2003, 09:22 AM
#16
Fanatic Member
Most likely
-
Apr 30th, 2003, 12:21 AM
#17
Lively Member
more info
Further to my previous Post
If you want to read values back that have been entered in the Controls, you should create the controls in the form's overriding Sub:
Code:
Protected Overrides Sub CreateChildControls()
This will recreate the controls with the same text values that the user has entered.
Hope this Helps,
Tim
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|