Click to See Complete Forum and Search --> : New to .Net world
khalik_ash
Jan 8th, 2003, 01:42 AM
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.
Redth
Jan 8th, 2003, 09:53 PM
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..
khalik_ash
Jan 9th, 2003, 12:10 AM
Originally posted by Redth
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..
sure why not :D but i will be paid if i complete it... i am not doing it for some one i want to do it for my own...
above i gave a example for better understanding that it...:rolleyes:
i do belive in sharing;)
khalik_ash
Jan 10th, 2003, 02:43 AM
i know money matter.....
is it that only that matters... i belive in sharing.. any one else
Lord_Rat
Jan 10th, 2003, 10:32 AM
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'.
khalik_ash
Jan 11th, 2003, 01:29 AM
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 :rolleyes:
bontyboy
Jan 16th, 2003, 02:39 PM
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....
khalik_ash
Jan 16th, 2003, 11:07 PM
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...:D
bontyboy
Jan 17th, 2003, 09:35 AM
let me see if I can put something together that will make sense.
khalik_ash
Jan 18th, 2003, 12:34 AM
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
bontyboy
Jan 20th, 2003, 12:16 PM
sorry...I just got hit with a project that needs to be done asap.
tgoodmannz
Apr 10th, 2003, 11:35 PM
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 ..
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
khalik_ash
Apr 11th, 2003, 02:34 AM
well thanks a lot tgoodmannz that shd help me .:D
venerable bede
Apr 11th, 2003, 08:47 AM
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.
;)
fungi
Apr 11th, 2003, 09:19 AM
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
:eek:
venerable bede
Apr 11th, 2003, 09:22 AM
Most likely :)
tgoodmannz
Apr 30th, 2003, 12:21 AM
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:
Protected Overrides Sub CreateChildControls()
This will recreate the controls with the same text values that the user has entered.
Hope this Helps,
Tim
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.