Click here to Skip to main content
15,911,360 members
Home / Discussions / C#
   

C#

 
GeneralRe: GACUTIL ??? Pin
Curtis Schlak.10-Jan-06 5:00
Curtis Schlak.10-Jan-06 5:00 
QuestionGetRectOfTreeNode Pin
kolsky10-Jan-06 3:02
kolsky10-Jan-06 3:02 
AnswerRe: GetRectOfTreeNode Pin
kolsky10-Jan-06 3:05
kolsky10-Jan-06 3:05 
GeneralRe: GetRectOfTreeNode Pin
Ravi Bhavnani10-Jan-06 7:21
professionalRavi Bhavnani10-Jan-06 7:21 
GeneralRe: GetRectOfTreeNode Pin
Ravi Bhavnani10-Jan-06 10:55
professionalRavi Bhavnani10-Jan-06 10:55 
Questionweb service authentication Pin
seee sharp10-Jan-06 2:57
seee sharp10-Jan-06 2:57 
QuestionImporting Outlook Contacts to a specific folder Pin
Starchild200510-Jan-06 2:40
Starchild200510-Jan-06 2:40 
Questionæøå characters Pin
Genbox10-Jan-06 0:50
Genbox10-Jan-06 0:50 
Hi.

I have a problem with the danish characters æøå, when i exstract them from my database and put them into a gridview (with the database as datasource) then the characters is fine.

but if i take the result from the gridview and put it into another gridview with a textbox in its footer, then it's all weird.

this is the code that makes trouble:

TextBox txtFood = GridView1.FooterRow.FindControl("txtFood") as TextBox;
txtFood.Text = GridView2.SelectedRow.Cells[0].Text;

if i print GridView2.SelectedRow.Cells[0].Text as this:
Response.Write(GridView2.SelectedRow.Cells[0].Text);
it returns the correct characters (æøå)
so does the textbox if i print it out like this:

TextBox txtFood = GridView1.FooterRow.FindControl("txtFood") as TextBox;
txtFood.Text = GridView2.SelectedRow.Cells[0].Text;
Respomse.Write(txtFood.Text);

So how can it be weird characters like æ ? is it the ASCII code or something? how do i view the æøå correct in the textbox on my webpage ?
AnswerRe: æøå characters Pin
mikailcetinkaya10-Jan-06 2:44
mikailcetinkaya10-Jan-06 2:44 
GeneralRe: æøå characters Pin
Genbox10-Jan-06 4:17
Genbox10-Jan-06 4:17 
GeneralRe: æøå characters Pin
mikailcetinkaya11-Jan-06 5:40
mikailcetinkaya11-Jan-06 5:40 
QuestionCommunicating to a mobile phone Pin
mumf8310-Jan-06 0:10
mumf8310-Jan-06 0:10 
AnswerRe: Communicating to a mobile phone Pin
mikailcetinkaya10-Jan-06 2:46
mikailcetinkaya10-Jan-06 2:46 
GeneralRe: Communicating to a mobile phone Pin
ekynox10-Jan-06 13:48
ekynox10-Jan-06 13:48 
QuestionCheck if file is Accessible Pin
rnvrnv9-Jan-06 23:51
rnvrnv9-Jan-06 23:51 
AnswerRe: Check if file is Accessible Pin
Dave Kreskowiak10-Jan-06 5:27
mveDave Kreskowiak10-Jan-06 5:27 
QuestionGenerating program from the another program Pin
tadung9-Jan-06 22:54
tadung9-Jan-06 22:54 
AnswerRe: Generating program from the another program Pin
Colin Angus Mackay9-Jan-06 23:45
Colin Angus Mackay9-Jan-06 23:45 
AnswerRe: Generating program from the another program Pin
Sebastian Schneider10-Jan-06 1:48
Sebastian Schneider10-Jan-06 1:48 
Questionprint preview for xps document Pin
Shiva Prasad9-Jan-06 22:51
Shiva Prasad9-Jan-06 22:51 
QuestionFinding Text in a RichTextBox Pin
alvinjv9-Jan-06 22:48
alvinjv9-Jan-06 22:48 
AnswerRe: Finding Text in a RichTextBox Pin
Curtis Schlak.10-Jan-06 3:34
Curtis Schlak.10-Jan-06 3:34 
AnswerRe: Finding Text in a RichTextBox Pin
Dave Kreskowiak10-Jan-06 5:23
mveDave Kreskowiak10-Jan-06 5:23 
QuestionPrinting Pin
Dylan van Heerden9-Jan-06 20:10
Dylan van Heerden9-Jan-06 20:10 
AnswerRe: Printing Pin
PrakashBhaskar9-Jan-06 20:26
PrakashBhaskar9-Jan-06 20:26 

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.