Click here to Skip to main content
15,925,781 members
Home / Discussions / ASP.NET
   

ASP.NET

 
Questionget files and folders from ftp Pin
ptvce2-Aug-09 19:23
ptvce2-Aug-09 19:23 
AnswerRe: get files and folders from ftp Pin
Christian Graus2-Aug-09 19:38
protectorChristian Graus2-Aug-09 19:38 
AnswerRe: get files and folders from ftp Pin
ptvce2-Aug-09 19:39
ptvce2-Aug-09 19:39 
GeneralRe: get files and folders from ftp Pin
Christian Graus2-Aug-09 19:42
protectorChristian Graus2-Aug-09 19:42 
AnswerRe: get files and folders from ftp Pin
dan!sh 2-Aug-09 19:56
professional dan!sh 2-Aug-09 19:56 
QuestionI found an Exception Message" System.outofmemory"exception was thrown" Pin
Saif-ur-Rehman Tanoli2-Aug-09 19:00
Saif-ur-Rehman Tanoli2-Aug-09 19:00 
AnswerRe: I found an Exception Message" System.outofmemory"exception was thrown" Pin
Abhijit Jana2-Aug-09 19:19
professionalAbhijit Jana2-Aug-09 19:19 
GeneralRe: I found an Exception Message" System.outofmemory"exception was thrown" Pin
Saif-ur-Rehman Tanoli2-Aug-09 20:39
Saif-ur-Rehman Tanoli2-Aug-09 20:39 
AnswerRe: I found an Exception Message" System.outofmemory"exception was thrown" Pin
Abhishek Sur2-Aug-09 22:58
professionalAbhishek Sur2-Aug-09 22:58 
QuestionDropdownlist event Pin
mrkeivan2-Aug-09 11:21
mrkeivan2-Aug-09 11:21 
AnswerRe: Dropdownlist event Pin
Abhijit Jana2-Aug-09 11:31
professionalAbhijit Jana2-Aug-09 11:31 
QuestionSession Pin
Ersan Ercek2-Aug-09 4:27
Ersan Ercek2-Aug-09 4:27 
AnswerRe: Session Pin
Not Active2-Aug-09 5:22
mentorNot Active2-Aug-09 5:22 
AnswerRe: Session Pin
Abhijit Jana2-Aug-09 6:09
professionalAbhijit Jana2-Aug-09 6:09 
AnswerRe: Session Pin
Vimalsoft(Pty) Ltd2-Aug-09 21:35
professionalVimalsoft(Pty) Ltd2-Aug-09 21:35 
QuestionViewState Pin
Ersan Ercek2-Aug-09 3:57
Ersan Ercek2-Aug-09 3:57 
AnswerRe: ViewState Pin
Abhijit Jana2-Aug-09 4:23
professionalAbhijit Jana2-Aug-09 4:23 
QuestionHelp with multiview control and AJAX Pin
Spoks_ST2-Aug-09 2:20
Spoks_ST2-Aug-09 2:20 
AnswerRe: Help with multiview control and AJAX Pin
Spoks_ST2-Aug-09 6:11
Spoks_ST2-Aug-09 6:11 
QuestionCompiler Error Message: BC30367 Pin
Bannoota2-Aug-09 2:07
Bannoota2-Aug-09 2:07 
AnswerRe: Compiler Error Message: BC30367 Pin
Manas Bhardwaj2-Aug-09 2:19
professionalManas Bhardwaj2-Aug-09 2:19 
AnswerRe: Compiler Error Message: BC30367 Pin
Bannoota2-Aug-09 3:01
Bannoota2-Aug-09 3:01 
QuestionAdding an extra column to GridView which is bounded to a sql data source Pin
ilker_ege2-Aug-09 1:32
ilker_ege2-Aug-09 1:32 
AnswerRe: Adding an extra column to GridView which is bounded to a sql data source Pin
Manas Bhardwaj2-Aug-09 2:23
professionalManas Bhardwaj2-Aug-09 2:23 
GeneralRe: Adding an extra column to GridView which is bounded to a sql data source Pin
ilker_ege3-Aug-09 5:21
ilker_ege3-Aug-09 5:21 
Thank you for your response. But instead of the ways you offered, i tried a different solution.

I added an ImageFied to my DataGridView and also i put the flags of countries in a folder under my website.

For the SqlDataSource Select Command, i added another parameter to select statement; like, "SELECT NATION_CODE, '~/images/Flags/'+ NATION_CODE +'.GIF' AS FLAG ... FROM ....... ". So the query returns the nation codes and the folder path for the images.

I select the ImageField and typed 'FLAG' for the DataImageUrlField property, so it follows the result of sql query.

By this way, i did not store the images as binary data on my tables. This was important for me, cos the data on the table was changing so frequently. Also i did not loop the gridview for the second time, so page loads quicker. My start point was finding nation code somewhere in codebehind, but the final solution seems much more better.

Anyway, thank you for your answer, that makes me think how i can use DB, so i got the solution.. Smile | :)

there are 10 types of people in the world, those who understand binary numbers and those who dont..

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.