Hi guys, I have an aspx webpage with 9 fileupload controls called (fupBlogImg1,fupBlogImg2,.........fupBlogImg9 ). I want to get their values with a for at the code after the button (cmdAlbumCreate) is clicked.
Here is the code but fupBlogImg is null (I dont know why)
for (int n = 1; n < 10; n++)
{
string StrBlogImg = "fupBlogImg" + n;
FileUpload fupBlogImg = (FileUpload)FindControl(StrBlogImg);
Here is the code but fupBlogImg is null (I dont know why)
for (int n = 1; n < 10; n++)
{
string StrBlogImg = "fupBlogImg" + n;
FileUpload fupBlogImg = (FileUpload)FindControl(StrBlogImg);













