Click here to Skip to main content
14,328,470 members
   

ASP.NET

 
QuestionDebugging a Web API Project in Visual Studio 2017 Pin
Dominick Marciano26-Nov-18 5:13
professionalDominick Marciano26-Nov-18 5:13 
AnswerRe: Debugging a Web API Project in Visual Studio 2017 Pin
maryam.saboor4-Dec-18 23:36
professionalmaryam.saboor4-Dec-18 23:36 
QuestionHow to write Edit Item template in asp.net with sql command Pin
Member 1362771923-Nov-18 22:19
memberMember 1362771923-Nov-18 22:19 
QuestionList is losing it's contents ? Pin
caffrey_123-Nov-18 2:37
membercaffrey_123-Nov-18 2:37 
AnswerRe: List is losing it's contents ? Pin
Richard MacCutchan23-Nov-18 2:46
protectorRichard MacCutchan23-Nov-18 2:46 
GeneralRe: List is losing it's contents ? Pin
caffrey_123-Nov-18 3:01
membercaffrey_123-Nov-18 3:01 
AnswerRe: List is losing it's contents ? Pin
Richard Deeming23-Nov-18 3:32
mveRichard Deeming23-Nov-18 3:32 
GeneralRe: List is losing it's contents ? Pin
caffrey_123-Nov-18 4:05
membercaffrey_123-Nov-18 4:05 
Thanks, the file upload works this was some example code - I usually get the path with

Dim path As String = Server.MapPath("~/Uploads/")


and upload with

FileUpload1.PostedFile.SaveAs(path & _
                         finalfilename)


Saves the files fine, I'm just trying to loop through if there is more than one uploaded file and insert them into a database for retrieval later.

What's odd is I just threw together a test with this and it works like I thought it should

Dim mylist As New List(Of String)



Protected Sub Button3_Click(sender As Object, e As EventArgs) Handles Button3.Click
    mylist.Add("button3 clicked")

    Dim i As Integer
    For i = 0 To mylist.Count - 1
        Label4.Text = Label4.Text + (mylist.Item(i)) + "<br>"
    Next i

End Sub

Protected Sub Button4_Click(sender As Object, e As EventArgs) Handles Button4.Click
    mylist.Add("button4 clicked")

    Dim i As Integer
    For i = 0 To mylist.Count - 1
        Label4.Text = Label4.Text + (mylist.Item(i)) + "<br>"
    Next i

End Sub

GeneralRe: List is losing it's contents ? Pin
Richard Deeming23-Nov-18 4:13
mveRichard Deeming23-Nov-18 4:13 
GeneralRe: List is losing it's contents ? Pin
caffrey_123-Nov-18 4:45
membercaffrey_123-Nov-18 4:45 
QuestionRDLC Report is not showing Column Headers in all the pages Pin
simpledeveloper20-Nov-18 14:30
membersimpledeveloper20-Nov-18 14:30 
AnswerRe: RDLC Report is not showing Column Headers in all the pages Pin
Richard Deeming21-Nov-18 8:07
mveRichard Deeming21-Nov-18 8:07 
QuestionCSV and WordPress Pin
Davstr19-Nov-18 13:23
memberDavstr19-Nov-18 13:23 
AnswerRe: CSV and WordPress Pin
Mycroft Holmes20-Nov-18 11:16
memberMycroft Holmes20-Nov-18 11:16 
QuestionKilling a remote application browser session from a new browser session. Pin
holdorf18-Nov-18 4:22
memberholdorf18-Nov-18 4:22 
AnswerRe: Killing a remote application browser session from a new browser session. Pin
Richard Deeming19-Nov-18 3:00
mveRichard Deeming19-Nov-18 3:00 
QuestionoData request to REST server Pin
RVMRVM17-Nov-18 8:48
memberRVMRVM17-Nov-18 8:48 
QuestionRe: oData request to REST server Pin
Richard MacCutchan17-Nov-18 21:09
protectorRichard MacCutchan17-Nov-18 21:09 
AnswerRe: oData request to REST server Pin
RVMRVM17-Nov-18 23:01
memberRVMRVM17-Nov-18 23:01 
QuestionNeed some suggestion - please Pin
simpledeveloper16-Nov-18 13:14
membersimpledeveloper16-Nov-18 13:14 
QuestionAutomatic update db on regular intervals mvc Pin
Member 1402506315-Nov-18 18:10
memberMember 1402506315-Nov-18 18:10 
AnswerRe: Automatic update db on regular intervals mvc Pin
Member 1405668819-Nov-18 18:18
memberMember 1405668819-Nov-18 18:18 
GeneralRe: Automatic update db on regular intervals mvc Pin
Member 1402506319-Nov-18 18:37
memberMember 1402506319-Nov-18 18:37 
AnswerRe: Automatic update db on regular intervals mvc Pin
Nathan Minier20-Nov-18 1:37
professionalNathan Minier20-Nov-18 1:37 
QuestionI am using ReportViewerForMVC tool for my rdlc reports, I am getting the following exception on server but not locally, am I missing reference or something Pin
simpledeveloper15-Nov-18 6:30
membersimpledeveloper15-Nov-18 6:30 

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.