hello,
am doing an application (c#.net)wherein i need to add the Fileupload control one below the other on the
click of the Attach more files button; just as we have in the E-Mails. How can the control
get added to the form ? can ne1 help me out ?

cya
Rohan

hello,
am doing an application (c#.net)wherein i need to add the Fileupload control one below the other on the
click of the Attach more files button; just as we have in the E-Mails. How can the control
get added to the form ? can ne1 help me out ?

cya
Rohan

hi
you have to create a control dynamically to your form.i think you are working on web,if yes,follow these:

FileUpload f;
f = new FileUpload();
form1.Controls.Add(f);

yes, it is a web application. in ur code, form1 is the name of the form ? if yes, how can i find whts the name of the form i am working on ??? i knw its silly q..but am a new bieee

cya
rohan

hi
you have to create a control dynamically to your form.i think you are working on web,if yes,follow these:

FileUpload f;
f = new FileUpload();
form1.Controls.Add(f);

You are in wrong forum. You should post it in ASP.NET forum.