Dear All
I have this piece of code:-
Dim r As RepeaterItem
Dim bln As Integer
For Each r In rptEvManage.Items
Dim strFileName As String = CType(r.FindControl("uplEventFile"), HtmlInputFile).PostedFile.FileName
Next
And it is giving me an error on Dim strFileName. The error is :-
Object reference not set to an instance of an object
Can you please help?
Thanks
Johann
I have this piece of code:-
Dim r As RepeaterItem
Dim bln As Integer
For Each r In rptEvManage.Items
Dim strFileName As String = CType(r.FindControl("uplEventFile"), HtmlInputFile).PostedFile.FileName
Next
And it is giving me an error on Dim strFileName. The error is :-
Object reference not set to an instance of an object
Can you please help?
Thanks
Johann