Click here to Skip to main content
15,890,185 members
Home / Discussions / C#
   

C#

 
Questionchange font size Pin
Test2703071-Apr-07 19:40
Test2703071-Apr-07 19:40 
AnswerRe: change font size Pin
andre_swnpl1-Apr-07 19:52
andre_swnpl1-Apr-07 19:52 
GeneralRe: change font size Pin
Test2703071-Apr-07 20:18
Test2703071-Apr-07 20:18 
Question.net Pin
Renuka Reddy1-Apr-07 19:38
Renuka Reddy1-Apr-07 19:38 
QuestionHow can i send text messages server to client computer on LAN ? Pin
PavanPareta1-Apr-07 19:17
PavanPareta1-Apr-07 19:17 
AnswerRe: How can i send text messages server to client computer on LAN ? Pin
mikailcetinkaya1-Apr-07 21:09
mikailcetinkaya1-Apr-07 21:09 
QuestionRegular Expression - Extracting Image tags Pin
nasambur1-Apr-07 18:08
nasambur1-Apr-07 18:08 
QuestionDataGridView text -> image Pin
Glen Harvy1-Apr-07 18:04
Glen Harvy1-Apr-07 18:04 
Hi,

I have a dgv that is created programmatically and bind it to a datatable. The Columns/Cells are all text.

I insert an int (as a string) into a cell when I need to and use that int to lookup another datatable when I need to. Works well Smile | :)

What I would like to do is dislay an image if the cell contains an int rather than the int itself.

I know I can make the columns concerned image cells and I presume I would then need to record the image name in the datatable rather than the int which is what I want. I thought of using the cell.tag to hold the int but I need that field for another purpose. I'm not even certain that is what I want because I need to store the int, not the image name.

Is there someway of using the cellformating event to convert that cell into an image cell and show an image? I think it should be possible but can't find the right code.

TIA,



Glen Harvy

AnswerRe: DataGridView text -> image Pin
mikailcetinkaya1-Apr-07 21:12
mikailcetinkaya1-Apr-07 21:12 
GeneralRe: DataGridView text -> image Pin
Glen Harvy2-Apr-07 2:42
Glen Harvy2-Apr-07 2:42 
QuestionPlz answer these Pin
yaminilatha1-Apr-07 17:56
yaminilatha1-Apr-07 17:56 
AnswerRe: Plz answer these Pin
Krish - KP1-Apr-07 18:08
Krish - KP1-Apr-07 18:08 
GeneralRe: Plz answer these Pin
yaminilatha2-Apr-07 0:49
yaminilatha2-Apr-07 0:49 
AnswerRe: Plz answer these Pin
Keshav V. Kamat1-Apr-07 22:38
Keshav V. Kamat1-Apr-07 22:38 
GeneralRe: Plz answer these Pin
yaminilatha2-Apr-07 0:50
yaminilatha2-Apr-07 0:50 
QuestionFile copy Pin
N a v a n e e t h1-Apr-07 17:20
N a v a n e e t h1-Apr-07 17:20 
AnswerRe: File copy Pin
joon vh.1-Apr-07 21:46
joon vh.1-Apr-07 21:46 
QuestionSqlDependency and Release Build Pin
Darkness841-Apr-07 17:04
Darkness841-Apr-07 17:04 
AnswerRe: SqlDependency and Release Build Pin
Darkness841-Apr-07 21:36
Darkness841-Apr-07 21:36 
QuestionProblem with “Response.BinaryWrite Pin
tedhill131-Apr-07 14:13
tedhill131-Apr-07 14:13 
AnswerRe: Problem with “Response.BinaryWrite Pin
Christian Graus1-Apr-07 14:56
protectorChristian Graus1-Apr-07 14:56 
GeneralRe: Problem with “Response.BinaryWrite Pin
tedhill132-Apr-07 0:06
tedhill132-Apr-07 0:06 
QuestionGhosted icon Pin
Sergio Paque1-Apr-07 13:33
Sergio Paque1-Apr-07 13:33 
AnswerRe: Ghosted icon Pin
Judah Gabriel Himango1-Apr-07 16:47
sponsorJudah Gabriel Himango1-Apr-07 16:47 
GeneralRe: Ghosted icon Pin
Sergio Paque2-Apr-07 0:53
Sergio Paque2-Apr-07 0:53 

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.