Click here to Skip to main content
15,914,905 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: help paypal variables Pin
michael_jhons4-Jan-08 20:52
michael_jhons4-Jan-08 20:52 
QuestionWeb Page listener for POST message problem Pin
Roman Muntyanu4-Jan-08 2:46
Roman Muntyanu4-Jan-08 2:46 
Generalupload File size limit Pin
helelark1234-Jan-08 2:36
helelark1234-Jan-08 2:36 
GeneralRe: upload File size limit Pin
Michael Sync4-Jan-08 4:06
Michael Sync4-Jan-08 4:06 
GeneralRe: upload File size limit Pin
helelark1234-Jan-08 4:40
helelark1234-Jan-08 4:40 
GeneralRe: upload File size limit Pin
LloydA1114-Jan-08 14:50
LloydA1114-Jan-08 14:50 
GeneralRe: upload File size limit Pin
helelark1234-Jan-08 21:28
helelark1234-Jan-08 21:28 
GeneralRe: upload File size limit Pin
LloydA1114-Jan-08 23:46
LloydA1114-Jan-08 23:46 
Hi,

Im sorry but I tried to use it the way I had suggested but I didnt realise that the FileName property of the component was readonly, I tried:


Partial Class _Default
Inherits System.Web.UI.Page

Dim TempVar As String
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
FileUpload1.FileName = (FileUpload1.PostedFile.ToString)
End Sub

Protected Sub Button1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button1.Click
TempVar = FileUpload1.PostedFile.FileName.ToString
End Sub
End Class


But then it complained and said: "Property 'FileName' is 'Readonly'."
Well, I tried but couldnt figure out how to do it, sorry.

Lloyd A.

Lloyd J. Atkinson

"Logic will get you from A to B, but imagination will take you everywhere" -ALbert Einstein

GeneralRe: upload File size limit Pin
helelark1235-Jan-08 0:19
helelark1235-Jan-08 0:19 
AnswerRe: upload File size limit Pin
Guffa4-Jan-08 8:29
Guffa4-Jan-08 8:29 
GeneralRe: upload File size limit Pin
helelark1234-Jan-08 21:25
helelark1234-Jan-08 21:25 
GeneralRe: upload File size limit Pin
Jon Sagara4-Jan-08 17:06
Jon Sagara4-Jan-08 17:06 
Generalerror in script manager tag Pin
Pankaj Garg4-Jan-08 2:07
Pankaj Garg4-Jan-08 2:07 
GeneralServlets alternative in asp.net Pin
chanzeb4-Jan-08 1:20
chanzeb4-Jan-08 1:20 
GeneralDouble post -> Please ignore Pin
N a v a n e e t h4-Jan-08 1:24
N a v a n e e t h4-Jan-08 1:24 
GeneralRe: Servlets alternative in asp.net Pin
Paul Conrad4-Jan-08 15:23
professionalPaul Conrad4-Jan-08 15:23 
GeneralDisplaying images in the DataGrid Pin
.NET- India 4-Jan-08 1:18
.NET- India 4-Jan-08 1:18 
GeneralRe: Displaying images in the DataGrid Pin
Declan Bright4-Jan-08 1:38
Declan Bright4-Jan-08 1:38 
QuestionHow to create Grid View Skin Pin
wasimsharp4-Jan-08 1:16
wasimsharp4-Jan-08 1:16 
QuestionVideo Conferencing and Live Chatting Pin
Raghvendra Kumar Roy4-Jan-08 0:51
Raghvendra Kumar Roy4-Jan-08 0:51 
GeneralPop Up window not working Pin
Shajeel3-Jan-08 23:30
Shajeel3-Jan-08 23:30 
Generalcompare datagrid cell value with datatable values....., Pin
Member 38798813-Jan-08 23:17
Member 38798813-Jan-08 23:17 
GeneralRe: compare datagrid cell value with datatable values....., Pin
Declan Bright4-Jan-08 0:12
Declan Bright4-Jan-08 0:12 
GeneralRe: compare datagrid cell value with datatable values....., Pin
Member 38798814-Jan-08 0:32
Member 38798814-Jan-08 0:32 
GeneralRe: compare datagrid cell value with datatable values....., Pin
Declan Bright4-Jan-08 0:59
Declan Bright4-Jan-08 0:59 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.