By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
431,943 Members | 1,875 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 431,943 IT Pros & Developers. It's quick & easy.

Adding webcontrols at design time?

P: n/a
Hi there,

I wonder if anybody can help me with this..

I came from a Vb and asp background ... i am wanting to have a page that
pulls property types from a database, at the end of each property would be a
button to increase stock and decrease stock. I don't know how many property
types there is so in the old asp days I would put a For next loop around the
bit that draws the HTML controls..

But with c# and ... I suppose i can do the same but this would cause
a problem with the cs file or would it?

I presume I would still use a for loop to create controls at runtime but
they would be server controls rather than html controls but what about the
code behind file? Or maybe theres even an easier way of doing things?

If anyone is aware of a tutorial or similar I would really appreciate it

Thnaks in advance

Nov 18 '05 #1
Share this Question
Share on Google+
1 Reply

P: n/a

They look really powerful I think they will suffice...

Thanks for the help

"Bin Song, MCP" <an*******> wrote in message
Why not try Datagrid, DataList or DataRepeater?
They make life much easier that ASP era.
Bin Song, MCP

Nov 18 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.