Click here to Skip to main content
15,032,967 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: FileUpload + string!! Pin
Farraj2-Apr-10 15:11
MemberFarraj2-Apr-10 15:11 
GeneralRe: FileUpload + string!! Pin
Farraj2-Apr-10 15:15
MemberFarraj2-Apr-10 15:15 
QuestionRe: FileUpload + string!! Pin
Eddy Vluggen2-Apr-10 15:34
professionalEddy Vluggen2-Apr-10 15:34 
AnswerRe: FileUpload + string!! Pin
Farraj3-Apr-10 1:28
MemberFarraj3-Apr-10 1:28 
GeneralRe: FileUpload + string!! Pin
Eddy Vluggen3-Apr-10 13:44
professionalEddy Vluggen3-Apr-10 13:44 
GeneralRe: FileUpload + string!! Pin
Farraj3-Apr-10 14:24
MemberFarraj3-Apr-10 14:24 
GeneralRe: FileUpload + string!! Pin
Farraj6-Apr-10 14:19
MemberFarraj6-Apr-10 14:19 
GeneralRe: FileUpload + string!! Pin
Eddy Vluggen6-Apr-10 15:55
professionalEddy Vluggen6-Apr-10 15:55 
How about pointing the parameter to that label?
<asp:controlParameter Name="about" Type="String" ControlID="txtBoxAbout" PropertyName="text" />

Now, when you click the button, update the label first;
protected void ImageButton1_Click(object sender, ImageClickEventArgs e)
{        
        string imagefolder = "photo";
        string savepath;
        string savefile;
        Label3.Text = "Bla" + System.IO.Path.GetFileName(FileUpload1.PostedFile.FileName);
Does that fix it?
I are Troll Suspicious | :suss:

GeneralRe: FileUpload + string!! Pin
Farraj6-Apr-10 23:43
MemberFarraj6-Apr-10 23:43 
GeneralRe: FileUpload + string!! Pin
Eddy Vluggen7-Apr-10 0:17
professionalEddy Vluggen7-Apr-10 0:17 
GeneralRe: FileUpload + string!! Pin
Farraj7-Apr-10 6:41
MemberFarraj7-Apr-10 6:41 
GeneralRe: FileUpload + string!! Pin
Eddy Vluggen7-Apr-10 7:59
professionalEddy Vluggen7-Apr-10 7:59 
GeneralRe: FileUpload + string!! Pin
Farraj7-Apr-10 8:01
MemberFarraj7-Apr-10 8:01 
QuestionSyntax error in UPDATE statement. ? Pin
Farraj2-Apr-10 3:43
MemberFarraj2-Apr-10 3:43 
AnswerRe: Syntax error in UPDATE statement. ? Pin
Muhammad Gouda2-Apr-10 4:42
MemberMuhammad Gouda2-Apr-10 4:42 
GeneralRe: Syntax error in UPDATE statement. ? Pin
Farraj2-Apr-10 8:42
MemberFarraj2-Apr-10 8:42 
AnswerRe: Syntax error in UPDATE statement. ? Pin
MyDevBank2-Apr-10 9:10
MemberMyDevBank2-Apr-10 9:10 
GeneralRe: Syntax error in UPDATE statement. ? Pin
Farraj2-Apr-10 9:31
MemberFarraj2-Apr-10 9:31 
GeneralRe: Syntax error in UPDATE statement. ? Pin
MyDevBank2-Apr-10 9:52
MemberMyDevBank2-Apr-10 9:52 
GeneralRe: Syntax error in UPDATE statement. ? Pin
Farraj2-Apr-10 10:01
MemberFarraj2-Apr-10 10:01 
GeneralRe: Syntax error in UPDATE statement. ? Pin
MyDevBank2-Apr-10 10:30
MemberMyDevBank2-Apr-10 10:30 
AnswerRe: Syntax error in UPDATE statement. ? Pin
Eddy Vluggen2-Apr-10 10:21
professionalEddy Vluggen2-Apr-10 10:21 
GeneralRe: Syntax error in UPDATE statement. ? Pin
Farraj2-Apr-10 10:38
MemberFarraj2-Apr-10 10:38 
GeneralRe: Syntax error in UPDATE statement. ? Pin
Eddy Vluggen2-Apr-10 10:50
professionalEddy Vluggen2-Apr-10 10:50 
GeneralRe: Syntax error in UPDATE statement. ? Pin
MyDevBank2-Apr-10 11:18
MemberMyDevBank2-Apr-10 11:18 

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.