Click here to Skip to main content
15,896,557 members
Home / Discussions / ASP.NET
   

ASP.NET

 
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..

Questionupdate panel problem in layout when using with girdview Pin
billcodes2-Aug-09 0:31
billcodes2-Aug-09 0:31 
QuestionCall method in parent aspx page from user control Pin
Chazzysb2-Aug-09 0:29
Chazzysb2-Aug-09 0:29 
QuestionSearch Form Question (Newbie) Pin
kruegersck1-Aug-09 5:36
kruegersck1-Aug-09 5:36 
AnswerRe: Search Form Question (Newbie) Pin
Abhijit Jana1-Aug-09 5:49
professionalAbhijit Jana1-Aug-09 5:49 
AnswerRe: Search Form Question (Newbie) Pin
Christian Graus1-Aug-09 12:32
protectorChristian Graus1-Aug-09 12:32 
QuestionListView Pin
mmuutthhuu1-Aug-09 1:30
mmuutthhuu1-Aug-09 1:30 
AnswerRe: ListView Pin
Blue_Boy1-Aug-09 1:53
Blue_Boy1-Aug-09 1:53 
AnswerRe: ListView Pin
Arindam Sinha1-Aug-09 2:28
Arindam Sinha1-Aug-09 2:28 
GeneralRe: ListView Pin
Abhijit Jana1-Aug-09 2:43
professionalAbhijit Jana1-Aug-09 2:43 
GeneralRe: ListView [modified] Pin
Arindam Sinha1-Aug-09 4:07
Arindam Sinha1-Aug-09 4:07 
GeneralRe: ListView Pin
Abhijit Jana1-Aug-09 4:14
professionalAbhijit Jana1-Aug-09 4:14 
GeneralRe: ListView Pin
Blue_Boy1-Aug-09 4:40
Blue_Boy1-Aug-09 4:40 
GeneralRe: ListView Pin
Abhijit Jana1-Aug-09 6:31
professionalAbhijit Jana1-Aug-09 6:31 
Questionasp.net pop up screens Pin
LucBite1-Aug-09 0:42
LucBite1-Aug-09 0:42 
AnswerRe: asp.net pop up screens Pin
Abhijit Jana1-Aug-09 0:54
professionalAbhijit Jana1-Aug-09 0:54 
Questioncrystal report taking time to open windows 2008 os Pin
rajkumar.31-Aug-09 0:41
rajkumar.31-Aug-09 0:41 
AnswerRe: crystal report taking time to open windows 2008 os Pin
Abhijit Jana1-Aug-09 0:55
professionalAbhijit Jana1-Aug-09 0:55 

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.