Click here to Skip to main content
15,889,693 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: asp.net Pin
Jagz W24-Sep-13 2:09
professionalJagz W24-Sep-13 2:09 
QuestionImage locking Pin
Dholakiya Ankit19-Sep-13 18:26
Dholakiya Ankit19-Sep-13 18:26 
AnswerRe: Image locking Pin
Bernhard Hiller19-Sep-13 21:35
Bernhard Hiller19-Sep-13 21:35 
GeneralRe: Image locking Pin
Dholakiya Ankit19-Sep-13 22:35
Dholakiya Ankit19-Sep-13 22:35 
AnswerRe: Image locking Pin
David Mujica20-Sep-13 2:20
David Mujica20-Sep-13 2:20 
GeneralRe: Image locking Pin
Dholakiya Ankit20-Sep-13 2:24
Dholakiya Ankit20-Sep-13 2:24 
QuestionDisplay images from server folder Pin
SAM_India19-Sep-13 8:20
SAM_India19-Sep-13 8:20 
AnswerRe: Display images from server folder Pin
jkirkerx19-Sep-13 13:20
professionaljkirkerx19-Sep-13 13:20 
You have to make a path to your folder, and use DirectoryInfo and FileInfo to Get the contents of the folder into the fileinfo object.

Then loop through fileinfo, and run a filter on the extension to pick out the images, plus filter out the other junk in the folder, like thumbs.db.
Dim fb_LibraryPath As String = Nothing
fb_LibraryPath = Context.Server.MapPath("\Product\images\Library\thumbs\")

Dim diFiles As DirectoryInfo = New DirectoryInfo(fb_LibraryPath)
Dim fileInfo() As FileInfo = diFiles.GetFiles("*.*", SearchOption.TopDirectoryOnly)

If fileInfo.Length() > 0 Then
For idx As Integer = 0 To fileInfo.Length() - 1
   Dim fileName As String = fileInfo(idx).Name
   If Not fileName.ToLower = "thumbs.db" Then
     'Create a image element by code and set the src
   End if

next

AnswerRe: Display images from server folder Pin
Pratik Bhuva24-Sep-13 21:21
professionalPratik Bhuva24-Sep-13 21:21 
GeneralRe: Display images from server folder Pin
SAM_India1-Oct-13 14:54
SAM_India1-Oct-13 14:54 
GeneralRe: Display images from server folder Pin
Pratik Bhuva4-Oct-13 23:17
professionalPratik Bhuva4-Oct-13 23:17 
AnswerRe: Display images from server folder Pin
Vishnu Prajapati24-Sep-13 22:38
professionalVishnu Prajapati24-Sep-13 22:38 
QuestionI need a free hosting for asp.net with sql server, is it possible? Pin
Member 1028433219-Sep-13 0:51
Member 1028433219-Sep-13 0:51 
AnswerRe: I need a free hosting for asp.net with sql server, is it possible? Pin
hypermellow19-Sep-13 1:17
professionalhypermellow19-Sep-13 1:17 
AnswerRe: I need a free hosting for asp.net with sql server, is it possible? Pin
David C# Hobbyist.19-Sep-13 7:36
professionalDavid C# Hobbyist.19-Sep-13 7:36 
AnswerRe: I need a free hosting for asp.net with sql server, is it possible? Pin
mastanp22-Sep-13 6:06
mastanp22-Sep-13 6:06 
QuestionOnline Backup in asp .net Pin
Vicky_Aryan18-Sep-13 20:01
Vicky_Aryan18-Sep-13 20:01 
AnswerRe: Online Backup in asp .net Pin
Richard MacCutchan18-Sep-13 21:01
mveRichard MacCutchan18-Sep-13 21:01 
QuestionVS2010 WSAT Error - Unable to connect to SQL Server database Pin
DRAYKKO18-Sep-13 15:10
professionalDRAYKKO18-Sep-13 15:10 
AnswerRe: VS2010 WSAT Error - Unable to connect to SQL Server database Pin
Richard Deeming18-Sep-13 23:43
mveRichard Deeming18-Sep-13 23:43 
GeneralRe: VS2010 WSAT Error - Unable to connect to SQL Server database Pin
DRAYKKO19-Sep-13 1:43
professionalDRAYKKO19-Sep-13 1:43 
GeneralRe: VS2010 WSAT Error - Unable to connect to SQL Server database Pin
DRAYKKO19-Sep-13 5:04
professionalDRAYKKO19-Sep-13 5:04 
GeneralRe: VS2010 WSAT Error - Unable to connect to SQL Server database Pin
Richard Deeming19-Sep-13 6:38
mveRichard Deeming19-Sep-13 6:38 
GeneralRe: VS2010 WSAT Error - Unable to connect to SQL Server database Pin
DRAYKKO77719-Sep-13 11:38
DRAYKKO77719-Sep-13 11:38 
AnswerRe: VS2010 WSAT Error - Unable to connect to SQL Server database Pin
mastanp22-Sep-13 6:24
mastanp22-Sep-13 6:24 

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.