SlideShare a Scribd company logo
  Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br />        If Not IsPostBack Then<br />            Try<br />                Dim sRequest As String = quot;
quot;
, i As Integer, sFormKey As String, sFormValue As String, sScreenName As String = quot;
quot;
<br />                'retrieve form variables<br />                If Request.Form.Keys.Count > 0 Then<br />                    For i = 0 To Request.Form.Keys.Count - 1<br />                        Dim tblRow As New TableRow<br />                        Dim tblCell0 As New TableCell<br />                        Dim tblCell1 As New TableCell<br />                        Dim tblCell2 As New TableCell<br />                        Dim tblCell3 As New TableCell<br />                        tblCell0.Text = (i + 1).ToString<br />                        sFormKey = Request.Form.Keys(i).ToString<br />                        tblCell1.Text = sFormKey<br />                        sFormValue = Request.Form.Item(i).ToString<br />                        tblCell2.Text = quot;
:quot;
<br />                        tblCell3.Text = sFormValue<br />                        sRequest += sFormKey & quot;
:=quot;
 & sFormValue & quot;
<BR/>quot;
<br />                        tblRow.Cells.Add(tblCell0)<br />                        tblRow.Cells.Add(tblCell1)<br />                        tblRow.Cells.Add(tblCell2)<br />                        tblRow.Cells.Add(tblCell3)<br />                        Table1.Rows.Add(tblRow)<br />                        'set insert params<br />                        Select Case sFormKey<br />                            Case quot;
siteIdquot;
<br />                                SDSNasa.InsertParameters(quot;
siteIdquot;
).DefaultValue = sFormValue<br />                            Case quot;
adultprivoidquot;
<br />                                SDSNasa.InsertParameters(quot;
adultprivoidquot;
).DefaultValue = sFormValue<br />                            Case quot;
childprivoidquot;
<br />                                SDSNasa.InsertParameters(quot;
childprivoidquot;
).DefaultValue = sFormValue<br />                            Case quot;
dateofbirthquot;
<br />                                SDSNasa.InsertParameters(quot;
dateofbirthquot;
).DefaultValue = sFormValue<br />                            Case quot;
defaultRolequot;
<br />                                SDSNasa.InsertParameters(quot;
defaultRolequot;
).DefaultValue = sFormValue<br />                            Case quot;
genderquot;
<br />                                If Not IsNumeric(sFormValue) Then<br />                                    SDSNasa.InsertParameters(quot;
genderquot;
).DefaultValue = IIf(sFormValue = quot;
Mquot;
, 1, 2)<br />                                Else<br />                                    SDSNasa.InsertParameters(quot;
genderquot;
).DefaultValue = sFormValue<br />                                End If<br />                            Case quot;
givennamequot;
<br />                                SDSNasa.InsertParameters(quot;
givennamequot;
).DefaultValue = sFormValue<br />                            Case quot;
isActivequot;
<br />                                SDSNasa.InsertParameters(quot;
isActivequot;
).DefaultValue = CBool(sFormValue)<br />                            Case quot;
mailquot;
<br />                                SDSNasa.InsertParameters(quot;
mailquot;
).DefaultValue = sFormValue<br />                            Case quot;
screennamequot;
<br />                                sScreenName = sFormValue<br />                                SDSNasa.InsertParameters(quot;
screennamequot;
).DefaultValue = sFormValue<br />                            Case quot;
snquot;
<br />                                SDSNasa.InsertParameters(quot;
snquot;
).DefaultValue = sFormValue<br />                            Case quot;
gradelevelquot;
<br />                                SDSNasa.InsertParameters(quot;
GradeLevelquot;
).DefaultValue = sFormValue<br />                            Case quot;
screennameotherquot;
<br />                                SDSNasa.InsertParameters(quot;
ScreenNameOtherquot;
).DefaultValue = sFormValue<br />                            Case quot;
videltitlequot;
<br />                                SDSNasa.InsertParameters(quot;
VideoTitlequot;
).DefaultValue = sFormValue<br />                            Case quot;
videodescriptionquot;
<br />                                SDSNasa.InsertParameters(quot;
VideoDescriptionquot;
).DefaultValue = sFormValue<br />                            Case Else<br />                                lblNoMatch.Text += quot;
<BR/>quot;
 & (i + 1).ToString & quot;
: quot;
 & sFormKey<br />                                lblNoMatch.Visible = True<br />                        End Select<br />                    Next<br />                    'lblStatus.Text = sRequest<br />                Else<br />                    lblStatus.Text = quot;
No Form Post Data received!quot;
<br />                    lblStatus.ForeColor = Drawing.Color.Red<br />                End If<br />                Dim Loop1 As Integer<br />                Dim SaveFileName As String, SaveFilePath As String, EncodedFileName As String, fileUniqueName As String<br />                fileUniqueName = sScreenName & quot;
_quot;
 & Now.ToFileTime<br />                If Request.Files.Count > 0 Then<br />                    Dim MyFileCollection As HttpFileCollection = Request.Files<br />                    For Loop1 = 0 To MyFileCollection.Count - 1<br />                        Dim tblRow As New TableRow<br />                        Dim tblCell0 As New TableCell<br />                        Dim tblCell1 As New TableCell<br />                        Dim tblCell2 As New TableCell<br />                        Dim tblCell3 As New TableCell<br />                        Dim myfileInfo As New FileInfo(MyFileCollection(Loop1).FileName)<br />                        tblCell0.Text = Table1.Rows.Count + 1<br />                        ' Create a new file name.<br />                        SaveFileName = quot;
/userdata/video_in/quot;
 & fileUniqueName & myfileInfo.Extension<br />                        EncodedFileName = quot;
/userdata/video_out/quot;
 & fileUniqueName & quot;
.flvquot;
<br />                        SaveFilePath = MapPath(SaveFileName)<br />                        'TempFileName = quot;
C:empFilesile_quot;
 & CStr(Loop1)<br />                        tblCell1.Text = quot;
Uploaded File Detailsquot;
<br />                        tblCell2.Text = quot;
:quot;
<br />                        tblCell3.Text = MyFileCollection(Loop1).FileName & quot;
|quot;
 & MyFileCollection(Loop1).ContentType & quot;
|quot;
 & MyFileCollection(Loop1).ContentLength.ToString<br />                        tblRow.Cells.Add(tblCell0)<br />                        tblRow.Cells.Add(tblCell1)<br />                        tblRow.Cells.Add(tblCell2)<br />                        tblRow.Cells.Add(tblCell3)<br />                        Table1.Rows.Add(tblRow)<br />                        SDSNasa.InsertParameters(quot;
FileOriginalNamequot;
).DefaultValue = MyFileCollection(Loop1).FileName<br />                        SDSNasa.InsertParameters(quot;
FileSavedPathquot;
).DefaultValue = SaveFileName<br />                        SDSNasa.InsertParameters(quot;
FileEncodedPathquot;
).DefaultValue = EncodedFileName<br />                        SDSNasa.InsertParameters(quot;
FileContentTypequot;
).DefaultValue = MyFileCollection(Loop1).ContentType<br />                        SDSNasa.InsertParameters(quot;
FileContentLengthquot;
).DefaultValue = MyFileCollection(Loop1).ContentLength<br />                        'Save the file.<br />                        MyFileCollection(Loop1).SaveAs(SaveFilePath)<br />                    Next Loop1<br />                    'SDSNasa.Insert()<br />                    lblStatus.Text = quot;
Form data saved successfullyquot;
<br />                    lblStatus.ForeColor = Drawing.Color.Green<br />                End If<br />            Catch ex As Exception<br />                lblStatus.Text = ex.Message<br />                lblStatus.ForeColor = Drawing.Color.Red<br />            End Try<br />        End If<br />    End Sub<br />
Video upload process_code
Video upload process_code

More Related Content

What's hot

Java/Scala Lab: Slava Schmidt - Introduction to Reactive Streams
Java/Scala Lab: Slava Schmidt - Introduction to Reactive StreamsJava/Scala Lab: Slava Schmidt - Introduction to Reactive Streams
Java/Scala Lab: Slava Schmidt - Introduction to Reactive Streams
GeeksLab Odessa
 
php file uploading
php file uploadingphp file uploading
php file uploading
Purushottam Kumar
 
Perl
PerlPerl
One Database To Rule 'em All
One Database To Rule 'em AllOne Database To Rule 'em All
One Database To Rule 'em All
Stefanie Janine Stölting
 
Spray Json and MongoDB Queries: Insights and Simple Tricks.
Spray Json and MongoDB Queries: Insights and Simple Tricks.Spray Json and MongoDB Queries: Insights and Simple Tricks.
Spray Json and MongoDB Queries: Insights and Simple Tricks.
Andrii Lashchenko
 
NoSQL The SQL Way
NoSQL The SQL WayNoSQL The SQL Way
NoSQL The SQL Way
Stefanie Janine Stölting
 
Working Effectively with Legacy Javascript code in Opal
Working Effectively with Legacy Javascript code in OpalWorking Effectively with Legacy Javascript code in Opal
Working Effectively with Legacy Javascript code in Opal
Forrest Chang
 
Asp.net create delete directory folder in c# vb.net
Asp.net   create delete directory folder in c# vb.netAsp.net   create delete directory folder in c# vb.net
Asp.net create delete directory folder in c# vb.netrelekarsushant
 
Using Change Streams to Keep Up with Your Data
Using Change Streams to Keep Up with Your DataUsing Change Streams to Keep Up with Your Data
Using Change Streams to Keep Up with Your Data
MongoDB
 
PHP file
PHP  filePHP  file
PHP file
tumetr1
 

What's hot (10)

Java/Scala Lab: Slava Schmidt - Introduction to Reactive Streams
Java/Scala Lab: Slava Schmidt - Introduction to Reactive StreamsJava/Scala Lab: Slava Schmidt - Introduction to Reactive Streams
Java/Scala Lab: Slava Schmidt - Introduction to Reactive Streams
 
php file uploading
php file uploadingphp file uploading
php file uploading
 
Perl
PerlPerl
Perl
 
One Database To Rule 'em All
One Database To Rule 'em AllOne Database To Rule 'em All
One Database To Rule 'em All
 
Spray Json and MongoDB Queries: Insights and Simple Tricks.
Spray Json and MongoDB Queries: Insights and Simple Tricks.Spray Json and MongoDB Queries: Insights and Simple Tricks.
Spray Json and MongoDB Queries: Insights and Simple Tricks.
 
NoSQL The SQL Way
NoSQL The SQL WayNoSQL The SQL Way
NoSQL The SQL Way
 
Working Effectively with Legacy Javascript code in Opal
Working Effectively with Legacy Javascript code in OpalWorking Effectively with Legacy Javascript code in Opal
Working Effectively with Legacy Javascript code in Opal
 
Asp.net create delete directory folder in c# vb.net
Asp.net   create delete directory folder in c# vb.netAsp.net   create delete directory folder in c# vb.net
Asp.net create delete directory folder in c# vb.net
 
Using Change Streams to Keep Up with Your Data
Using Change Streams to Keep Up with Your DataUsing Change Streams to Keep Up with Your Data
Using Change Streams to Keep Up with Your Data
 
PHP file
PHP  filePHP  file
PHP file
 

Viewers also liked

Somos mutantes
Somos mutantes Somos mutantes
Somos mutantes
senderosdelmago
 
Sexua eta maitasuna antzinaroko grezian
Sexua eta maitasuna antzinaroko grezianSexua eta maitasuna antzinaroko grezian
Sexua eta maitasuna antzinaroko grezian
UPV/EHU
 
Someone like you
Someone like youSomeone like you
Someone like youkeltere
 
La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"
La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"
La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"
Markus Ronjam
 
Trabajo realizado por luz mery
Trabajo realizado por luz meryTrabajo realizado por luz mery
Trabajo realizado por luz mery
luzmerycu
 
MINUTES OF REGULAR BOARD OF EDUCATION MEETING
MINUTES OF REGULAR BOARD OF EDUCATION MEETINGMINUTES OF REGULAR BOARD OF EDUCATION MEETING
MINUTES OF REGULAR BOARD OF EDUCATION MEETINGbutest
 

Viewers also liked (9)

R E C R U I T F I T
R E C R U I T  F I TR E C R U I T  F I T
R E C R U I T F I T
 
Somos mutantes
Somos mutantes Somos mutantes
Somos mutantes
 
Sexua eta maitasuna antzinaroko grezian
Sexua eta maitasuna antzinaroko grezianSexua eta maitasuna antzinaroko grezian
Sexua eta maitasuna antzinaroko grezian
 
Tarea Especifica – 2ºParte
Tarea Especifica – 2ºParteTarea Especifica – 2ºParte
Tarea Especifica – 2ºParte
 
Someone like you
Someone like youSomeone like you
Someone like you
 
El aguila
El aguila El aguila
El aguila
 
La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"
La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"
La Intervencion de los EEUU en el Peru, en "Hildebrandt en sus Trece"
 
Trabajo realizado por luz mery
Trabajo realizado por luz meryTrabajo realizado por luz mery
Trabajo realizado por luz mery
 
MINUTES OF REGULAR BOARD OF EDUCATION MEETING
MINUTES OF REGULAR BOARD OF EDUCATION MEETINGMINUTES OF REGULAR BOARD OF EDUCATION MEETING
MINUTES OF REGULAR BOARD OF EDUCATION MEETING
 

Similar to Video upload process_code

Better Data Management using TaffyDB
Better Data Management using TaffyDBBetter Data Management using TaffyDB
Better Data Management using TaffyDB
typicaljoe
 
Advanced Perl Techniques
Advanced Perl TechniquesAdvanced Perl Techniques
Advanced Perl Techniques
Dave Cross
 
Ods Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A TutorialOds Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A Tutorial
simienc
 
Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...
Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...
Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...Andrea Telatin
 
Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...
Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...
Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...
Andrea Telatin
 
Advanced Perl Techniques
Advanced Perl TechniquesAdvanced Perl Techniques
Advanced Perl Techniques
Dave Cross
 
Introduction to Perl - Day 2
Introduction to Perl - Day 2Introduction to Perl - Day 2
Introduction to Perl - Day 2Dave Cross
 
Testing Javascript with Jasmine
Testing Javascript with JasmineTesting Javascript with Jasmine
Testing Javascript with Jasmine
Tim Tyrrell
 
Oscon 2010 Specs talk
Oscon 2010 Specs talkOscon 2010 Specs talk
Oscon 2010 Specs talk
Eric Torreborre
 
Scala, XML and GAE
Scala, XML and GAEScala, XML and GAE
Scala, XML and GAE
markryall
 
Perl6 Regexen: Reduce the line noise in your code.
Perl6 Regexen: Reduce the line noise in your code.Perl6 Regexen: Reduce the line noise in your code.
Perl6 Regexen: Reduce the line noise in your code.
Workhorse Computing
 
Building and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning CBuilding and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning C
David Wheeler
 
JQuery Presentation
JQuery PresentationJQuery Presentation
JQuery Presentation
Sony Jain
 
Json
JsonJson
Using Regular Expressions and Staying Sane
Using Regular Expressions and Staying SaneUsing Regular Expressions and Staying Sane
Using Regular Expressions and Staying Sane
Carl Brown
 
Dat402
Dat402Dat402
Dat402
ssa2010
 

Similar to Video upload process_code (20)

Better Data Management using TaffyDB
Better Data Management using TaffyDBBetter Data Management using TaffyDB
Better Data Management using TaffyDB
 
Advanced Perl Techniques
Advanced Perl TechniquesAdvanced Perl Techniques
Advanced Perl Techniques
 
Ods Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A TutorialOds Markup And Tagsets: A Tutorial
Ods Markup And Tagsets: A Tutorial
 
Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...
Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...
Bioinformatica: Leggere file con Perl, e introduzione alle espressioni regola...
 
2310 b 12
2310 b 122310 b 12
2310 b 12
 
Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...
Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...
Bioinformatica: Esercizi su Perl, espressioni regolari e altre amenità (BMR G...
 
Advanced Perl Techniques
Advanced Perl TechniquesAdvanced Perl Techniques
Advanced Perl Techniques
 
Introduction to Perl - Day 2
Introduction to Perl - Day 2Introduction to Perl - Day 2
Introduction to Perl - Day 2
 
Testing Javascript with Jasmine
Testing Javascript with JasmineTesting Javascript with Jasmine
Testing Javascript with Jasmine
 
Oscon 2010 Specs talk
Oscon 2010 Specs talkOscon 2010 Specs talk
Oscon 2010 Specs talk
 
Scala, XML and GAE
Scala, XML and GAEScala, XML and GAE
Scala, XML and GAE
 
Perl6 Regexen: Reduce the line noise in your code.
Perl6 Regexen: Reduce the line noise in your code.Perl6 Regexen: Reduce the line noise in your code.
Perl6 Regexen: Reduce the line noise in your code.
 
Drupal7 dbtng
Drupal7  dbtngDrupal7  dbtng
Drupal7 dbtng
 
Building and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning CBuilding and Distributing PostgreSQL Extensions Without Learning C
Building and Distributing PostgreSQL Extensions Without Learning C
 
JQuery Presentation
JQuery PresentationJQuery Presentation
JQuery Presentation
 
Php Sq Lite
Php Sq LitePhp Sq Lite
Php Sq Lite
 
Json
JsonJson
Json
 
Javascript2839
Javascript2839Javascript2839
Javascript2839
 
Using Regular Expressions and Staying Sane
Using Regular Expressions and Staying SaneUsing Regular Expressions and Staying Sane
Using Regular Expressions and Staying Sane
 
Dat402
Dat402Dat402
Dat402
 

Video upload process_code

  • 1. Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load<br /> If Not IsPostBack Then<br /> Try<br /> Dim sRequest As String = quot; quot; , i As Integer, sFormKey As String, sFormValue As String, sScreenName As String = quot; quot; <br /> 'retrieve form variables<br /> If Request.Form.Keys.Count > 0 Then<br /> For i = 0 To Request.Form.Keys.Count - 1<br /> Dim tblRow As New TableRow<br /> Dim tblCell0 As New TableCell<br /> Dim tblCell1 As New TableCell<br /> Dim tblCell2 As New TableCell<br /> Dim tblCell3 As New TableCell<br /> tblCell0.Text = (i + 1).ToString<br /> sFormKey = Request.Form.Keys(i).ToString<br /> tblCell1.Text = sFormKey<br /> sFormValue = Request.Form.Item(i).ToString<br /> tblCell2.Text = quot; :quot; <br /> tblCell3.Text = sFormValue<br /> sRequest += sFormKey & quot; :=quot; & sFormValue & quot; <BR/>quot; <br /> tblRow.Cells.Add(tblCell0)<br /> tblRow.Cells.Add(tblCell1)<br /> tblRow.Cells.Add(tblCell2)<br /> tblRow.Cells.Add(tblCell3)<br /> Table1.Rows.Add(tblRow)<br /> 'set insert params<br /> Select Case sFormKey<br /> Case quot; siteIdquot; <br /> SDSNasa.InsertParameters(quot; siteIdquot; ).DefaultValue = sFormValue<br /> Case quot; adultprivoidquot; <br /> SDSNasa.InsertParameters(quot; adultprivoidquot; ).DefaultValue = sFormValue<br /> Case quot; childprivoidquot; <br /> SDSNasa.InsertParameters(quot; childprivoidquot; ).DefaultValue = sFormValue<br /> Case quot; dateofbirthquot; <br /> SDSNasa.InsertParameters(quot; dateofbirthquot; ).DefaultValue = sFormValue<br /> Case quot; defaultRolequot; <br /> SDSNasa.InsertParameters(quot; defaultRolequot; ).DefaultValue = sFormValue<br /> Case quot; genderquot; <br /> If Not IsNumeric(sFormValue) Then<br /> SDSNasa.InsertParameters(quot; genderquot; ).DefaultValue = IIf(sFormValue = quot; Mquot; , 1, 2)<br /> Else<br /> SDSNasa.InsertParameters(quot; genderquot; ).DefaultValue = sFormValue<br /> End If<br /> Case quot; givennamequot; <br /> SDSNasa.InsertParameters(quot; givennamequot; ).DefaultValue = sFormValue<br /> Case quot; isActivequot; <br /> SDSNasa.InsertParameters(quot; isActivequot; ).DefaultValue = CBool(sFormValue)<br /> Case quot; mailquot; <br /> SDSNasa.InsertParameters(quot; mailquot; ).DefaultValue = sFormValue<br /> Case quot; screennamequot; <br /> sScreenName = sFormValue<br /> SDSNasa.InsertParameters(quot; screennamequot; ).DefaultValue = sFormValue<br /> Case quot; snquot; <br /> SDSNasa.InsertParameters(quot; snquot; ).DefaultValue = sFormValue<br /> Case quot; gradelevelquot; <br /> SDSNasa.InsertParameters(quot; GradeLevelquot; ).DefaultValue = sFormValue<br /> Case quot; screennameotherquot; <br /> SDSNasa.InsertParameters(quot; ScreenNameOtherquot; ).DefaultValue = sFormValue<br /> Case quot; videltitlequot; <br /> SDSNasa.InsertParameters(quot; VideoTitlequot; ).DefaultValue = sFormValue<br /> Case quot; videodescriptionquot; <br /> SDSNasa.InsertParameters(quot; VideoDescriptionquot; ).DefaultValue = sFormValue<br /> Case Else<br /> lblNoMatch.Text += quot; <BR/>quot; & (i + 1).ToString & quot; : quot; & sFormKey<br /> lblNoMatch.Visible = True<br /> End Select<br /> Next<br /> 'lblStatus.Text = sRequest<br /> Else<br /> lblStatus.Text = quot; No Form Post Data received!quot; <br /> lblStatus.ForeColor = Drawing.Color.Red<br /> End If<br /> Dim Loop1 As Integer<br /> Dim SaveFileName As String, SaveFilePath As String, EncodedFileName As String, fileUniqueName As String<br /> fileUniqueName = sScreenName & quot; _quot; & Now.ToFileTime<br /> If Request.Files.Count > 0 Then<br /> Dim MyFileCollection As HttpFileCollection = Request.Files<br /> For Loop1 = 0 To MyFileCollection.Count - 1<br /> Dim tblRow As New TableRow<br /> Dim tblCell0 As New TableCell<br /> Dim tblCell1 As New TableCell<br /> Dim tblCell2 As New TableCell<br /> Dim tblCell3 As New TableCell<br /> Dim myfileInfo As New FileInfo(MyFileCollection(Loop1).FileName)<br /> tblCell0.Text = Table1.Rows.Count + 1<br /> ' Create a new file name.<br /> SaveFileName = quot; /userdata/video_in/quot; & fileUniqueName & myfileInfo.Extension<br /> EncodedFileName = quot; /userdata/video_out/quot; & fileUniqueName & quot; .flvquot; <br /> SaveFilePath = MapPath(SaveFileName)<br /> 'TempFileName = quot; C:empFilesile_quot; & CStr(Loop1)<br /> tblCell1.Text = quot; Uploaded File Detailsquot; <br /> tblCell2.Text = quot; :quot; <br /> tblCell3.Text = MyFileCollection(Loop1).FileName & quot; |quot; & MyFileCollection(Loop1).ContentType & quot; |quot; & MyFileCollection(Loop1).ContentLength.ToString<br /> tblRow.Cells.Add(tblCell0)<br /> tblRow.Cells.Add(tblCell1)<br /> tblRow.Cells.Add(tblCell2)<br /> tblRow.Cells.Add(tblCell3)<br /> Table1.Rows.Add(tblRow)<br /> SDSNasa.InsertParameters(quot; FileOriginalNamequot; ).DefaultValue = MyFileCollection(Loop1).FileName<br /> SDSNasa.InsertParameters(quot; FileSavedPathquot; ).DefaultValue = SaveFileName<br /> SDSNasa.InsertParameters(quot; FileEncodedPathquot; ).DefaultValue = EncodedFileName<br /> SDSNasa.InsertParameters(quot; FileContentTypequot; ).DefaultValue = MyFileCollection(Loop1).ContentType<br /> SDSNasa.InsertParameters(quot; FileContentLengthquot; ).DefaultValue = MyFileCollection(Loop1).ContentLength<br /> 'Save the file.<br /> MyFileCollection(Loop1).SaveAs(SaveFilePath)<br /> Next Loop1<br /> 'SDSNasa.Insert()<br /> lblStatus.Text = quot; Form data saved successfullyquot; <br /> lblStatus.ForeColor = Drawing.Color.Green<br /> End If<br /> Catch ex As Exception<br /> lblStatus.Text = ex.Message<br /> lblStatus.ForeColor = Drawing.Color.Red<br /> End Try<br /> End If<br /> End Sub<br />