Click here to Skip to main content
15,921,371 members
Home / Discussions / C#
   

C#

 
GeneralRe: Aspx Page taking loading first time Pin
martin_hughes21-Dec-07 2:35
martin_hughes21-Dec-07 2:35 
GeneralUpdate Embedded resource file dynamically Pin
Member 183766121-Dec-07 1:30
Member 183766121-Dec-07 1:30 
GeneralRe: Update Embedded resource file dynamically Pin
Dave Kreskowiak21-Dec-07 3:39
mveDave Kreskowiak21-Dec-07 3:39 
QuestionRe: Update Embedded resource file dynamically Pin
Skippums21-Dec-07 5:57
Skippums21-Dec-07 5:57 
GeneralRe: Update Embedded resource file dynamically Pin
Giorgi Dalakishvili21-Dec-07 7:19
mentorGiorgi Dalakishvili21-Dec-07 7:19 
GeneralRe: Update Embedded resource file dynamically Pin
Dave Kreskowiak21-Dec-07 7:20
mveDave Kreskowiak21-Dec-07 7:20 
GeneralRe: Update Embedded resource file dynamically Pin
Skippums21-Dec-07 8:24
Skippums21-Dec-07 8:24 
GeneralRe: Update Embedded resource file dynamically Pin
Dave Kreskowiak21-Dec-07 15:48
mveDave Kreskowiak21-Dec-07 15:48 
QuestionRegarding to .net Pin
Sandeep kumar M21-Dec-07 1:24
Sandeep kumar M21-Dec-07 1:24 
GeneralRe: Regarding to .net Pin
michaelvdnest21-Dec-07 2:02
michaelvdnest21-Dec-07 2:02 
GeneralRe: Regarding to .net Pin
Paul Conrad22-Dec-07 8:20
professionalPaul Conrad22-Dec-07 8:20 
Generalcrtl copy and paste Pin
eyeseetee21-Dec-07 1:21
eyeseetee21-Dec-07 1:21 
GeneralRe: crtl copy and paste Pin
J4amieC21-Dec-07 1:42
J4amieC21-Dec-07 1:42 
GeneralRe: crtl copy and paste Pin
Anthony Mushrow21-Dec-07 7:15
professionalAnthony Mushrow21-Dec-07 7:15 
GeneralRe: crtl copy and paste Pin
Jordanwb23-Dec-07 9:29
Jordanwb23-Dec-07 9:29 
GeneralC#:Problem in DataGridView CellMouseClck Event Pin
kssknov21-Dec-07 0:35
kssknov21-Dec-07 0:35 
GeneralRe: C#:Problem in DataGridView CellMouseClck Event Pin
martin_hughes21-Dec-07 1:34
martin_hughes21-Dec-07 1:34 
Use the DataGridView's CellEnter event, and then use the CurrentCell property:


private void dataGridView1_CellEnter(object sender, DataGridViewCellEventArgs e)
{
label4.Text = dataGridView1.CurrentCell.Value != null ? dataGridView1.CurrentCell.Value.ToString() : String.Empty;
}


Notice that I'm also checking here if the cell value is null, and setting the textbox text to String.Empty if it is, otherwise you get a nasty Null Reference Exception when trying to call ToString() a non-existent value.

"On one of my cards it said I had to find temperatures lower than -8. The numbers I uncovered were -6 and -7 so I thought I had won, and so did the woman in the shop. But when she scanned the card the machine said I hadn't.

"I phoned Camelot and they fobbed me off with some story that -6 is higher - not lower - than -8 but I'm not having it."
-Tina Farrell, a 23 year old thicky from Levenshulme, Manchester.


Generalimage change on mouse over Pin
Eli Nurman21-Dec-07 0:27
Eli Nurman21-Dec-07 0:27 
GeneralRe: image change on mouse over Pin
Stevo Z21-Dec-07 0:57
Stevo Z21-Dec-07 0:57 
Generalsorting gridview columns Pin
eyeseetee21-Dec-07 0:11
eyeseetee21-Dec-07 0:11 
GeneralRe: sorting gridview columns Pin
martin_hughes21-Dec-07 3:04
martin_hughes21-Dec-07 3:04 
Questionsimple code creating problem .........why ? Pin
sindhutiwari20-Dec-07 23:54
sindhutiwari20-Dec-07 23:54 
AnswerRe: simple code creating problem .........why ? Pin
Colin Angus Mackay21-Dec-07 0:20
Colin Angus Mackay21-Dec-07 0:20 
GeneralSystem.FileIOPermission class Pin
Raheem MA20-Dec-07 23:33
Raheem MA20-Dec-07 23:33 
GeneralRe: System.FileIOPermission class Pin
Colin Angus Mackay21-Dec-07 0:06
Colin Angus Mackay21-Dec-07 0:06 

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.