Results 1 to 17 of 17

Thread: New to .Net world

  1. #1

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724

    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.

  2. #2
    Fanatic Member Redth's Avatar
    Join Date
    May 2001
    Location
    Ontario, Canada
    Posts
    551
    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..

  3. #3

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724
    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 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...


    i do belive in sharing

  4. #4

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724
    i know money matter.....
    is it that only that matters... i belive in sharing.. any one else

  5. #5
    C# Aficionado Lord_Rat's Avatar
    Join Date
    Sep 2001
    Location
    Cave
    Posts
    2,497
    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)

  6. #6

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724
    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

  7. #7
    Lively Member
    Join Date
    Jan 2000
    Location
    treehouse
    Posts
    106
    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....

  8. #8

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724
    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...

  9. #9
    Lively Member
    Join Date
    Jan 2000
    Location
    treehouse
    Posts
    106
    let me see if I can put something together that will make sense.

  10. #10

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724
    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

  11. #11
    Lively Member
    Join Date
    Jan 2000
    Location
    treehouse
    Posts
    106
    sorry...I just got hit with a project that needs to be done asap.

  12. #12
    Lively Member tgoodmannz's Avatar
    Join Date
    Sep 2000
    Location
    Mid On at the Pavillion End
    Posts
    102
    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

  13. #13

    Thread Starter
    Fanatic Member khalik_ash's Avatar
    Join Date
    Aug 2002
    Location
    Singapore
    Posts
    724
    well thanks a lot tgoodmannz that shd help me .

  14. #14
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    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.


    Parksie

  15. #15
    Hyperactive Member
    Join Date
    Jan 2003
    Location
    Cape Cod, US
    Posts
    292
    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


  16. #16
    Fanatic Member venerable bede's Avatar
    Join Date
    Sep 2002
    Location
    The mystic land of Geordies
    Posts
    1,018
    Most likely

    Parksie

  17. #17
    Lively Member tgoodmannz's Avatar
    Join Date
    Sep 2000
    Location
    Mid On at the Pavillion End
    Posts
    102

    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
  •  



Click Here to Expand Forum to Full Width