Buy Questpond's video subscriptions on
huge discount
.
Online: 1440
Home
Articles
Interviews
Forums
For Beginners
Popular Questions
ITIL Career Advice
PMP Career Advice
Career Advices
Codes
Videos
ASP.NET
ASP.NET MVC
Android Intel XDK
Sql Server
AngularJS
Bootstrap
Backbone.JS
MongoDB
LESS (CSS)
jQuery
WPF
WWF
SSIS
LightSwitch
Tutorials
News
ASP.NET MVC
|
Be Interview Ready
|
Top Performers
|
DNF MVP
|
Top Posts
|
Winners
|
Subscribe
|
Catalogs
Welcome Guest !
Register
Login
Home
>
Interviews
>
ASP.NET
>
Loading ...
How can you get the extension from a File upload control ?
Posted by
Akiii
on 3/3/2014 | Category:
ASP.NET Interview questions
| Views: 2216 |
Points: 40
Post
|
Interview FAQs
|
Exclusive Questions
|
Interview Home
Answer:
var extension = System.IO.Path.GetExtension(FileUpload1.FileName);
Here, FileUpload1 is the name of the asp.net File upload control.
Asked In:
Some Interviews |
Alert Moderator
Bookmark It
< Previous :
Can multiple catch blocks that correspond to a sin ...
Next > :
How to perform sum of digits from 1 to n in javasc ...
Comments or Responses
Login to post response
More Interview Questions by Akiii
GC.SuppressFinalize Method means "Do not call the Garbage Collect ...
Attributes can be applied to ?
Controls and View State are not fully loaded in the Page_Load event. ...
Page_Init event occurs only when the first time the page is started. ...
What is a JavaScript Escape Characters ?
Give an example of JavaScript Print ?
Write a query to get the list of all employees whose name is "tes ...
Write a query to get the single employee name when there are many empl ...
Latest Interview Questions
How to perform sum of digits from 1 to n in javascript?
How can a user assign a property dynamically in javascript and generat ...
How to display the date and time when the page gets loaded?
How to declare an array?
Explain the concept Data Hiding?
Explain Encapsulation?
How can you define polymorphism?
How can we achieve overloading concept in WCF?
More ...