Click here to Skip to main content
15,897,519 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can I get the name of the calling method? Pin
JoeRip8-Dec-07 18:51
JoeRip8-Dec-07 18:51 
Generaldatagridview question Pin
E_Gold6-Dec-07 20:35
E_Gold6-Dec-07 20:35 
GeneralRe: datagridview question Pin
Nouman Bhatti6-Dec-07 21:17
Nouman Bhatti6-Dec-07 21:17 
GeneralResize Form Pin
A.Asif6-Dec-07 19:58
A.Asif6-Dec-07 19:58 
GeneralRe: Resize Form Pin
N a v a n e e t h6-Dec-07 20:06
N a v a n e e t h6-Dec-07 20:06 
GeneralRe: Resize Form Pin
Nouman Bhatti6-Dec-07 21:18
Nouman Bhatti6-Dec-07 21:18 
GeneralRe: Resize Form Pin
dan!sh 6-Dec-07 21:37
professional dan!sh 6-Dec-07 21:37 
Questionhow to get the cell value of a DataGridView 's click event Pin
kssknov6-Dec-07 19:39
kssknov6-Dec-07 19:39 
scenario:

when i click the datagridview's cell, immediately i need to pass this cell to a WHERE condition to select the remaining fields of the same row.(ie)the gridcell value is an ID value , remaining fields of the ID should be retrieved to textboxes.

I wrote code as

private void DataGrdVw1_CellContentClick(object sender, DataGridViewCellEventArgs e)
{
if (dsGridToTxtBx == obj._selectGridCellAreaDetails(DataGrdVw1.CurrentCell.Value.ToString()))
{
txtAreaName.Text = dsGridToTxtBx.Tables[0].Rows[0].ItemArray[1].ToString();
txtRegion.Text = dsGridToTxtBx.Tables[0].Rows[0].ItemArray[2].ToString();
txtLocORinterSt.Text = dsGridToTxtBx.Tables[0].Rows[0].ItemArray[3].ToString();
}
}

Pls help me. I cant trace the datagridview's click event. My above code has no effect in form.
Cry | :((

ssk

AnswerRe: how to get the cell value of a DataGridView 's click event Pin
Ujjaval Modi7-Dec-07 0:26
Ujjaval Modi7-Dec-07 0:26 
QuestionAnybody help me??????? Pin
Member 34662656-Dec-07 18:42
Member 34662656-Dec-07 18:42 
GeneralRe: Anybody help me??????? Pin
V.6-Dec-07 20:49
professionalV.6-Dec-07 20:49 
GeneralWinforms Datagrid Pin
deepaks36-Dec-07 18:33
deepaks36-Dec-07 18:33 
GeneralRe: Winforms Datagrid Pin
Ujjaval Modi7-Dec-07 0:33
Ujjaval Modi7-Dec-07 0:33 
QuestionWHY ASPX pages are running slow...? Pin
Pankaj - Joshi6-Dec-07 18:20
Pankaj - Joshi6-Dec-07 18:20 
AnswerRe: WHY ASPX pages are running slow...? Pin
Christian Graus6-Dec-07 18:31
protectorChristian Graus6-Dec-07 18:31 
GeneralRe: WHY ASPX pages are running slow...? PinPopular
I.explore.code6-Dec-07 19:01
I.explore.code6-Dec-07 19:01 
GeneralReally good ...gladiatron Pin
Sun Rays6-Dec-07 19:54
Sun Rays6-Dec-07 19:54 
GeneralRe: WHY ASPX pages are running slow...? Pin
pmarfleet6-Dec-07 21:36
pmarfleet6-Dec-07 21:36 
GeneralRe: WHY ASPX pages are running slow...? Pin
Sathesh Sakthivel6-Dec-07 22:09
Sathesh Sakthivel6-Dec-07 22:09 
GeneralRe: WHY ASPX pages are running slow...? Pin
Anthony Mushrow7-Dec-07 15:17
professionalAnthony Mushrow7-Dec-07 15:17 
AnswerRe: WHY ASPX pages are running slow...? Pin
N a v a n e e t h6-Dec-07 18:51
N a v a n e e t h6-Dec-07 18:51 
GeneralRe: WHY ASPX pages are running slow...? Pin
Sathesh Sakthivel6-Dec-07 19:00
Sathesh Sakthivel6-Dec-07 19:00 
GeneralRe: WHY ASPX pages are running slow...? Pin
Pankaj - Joshi6-Dec-07 21:47
Pankaj - Joshi6-Dec-07 21:47 
AnswerRe: WHY ASPX pages are running slow...? Pin
Pete O'Hanlon6-Dec-07 22:59
mvePete O'Hanlon6-Dec-07 22:59 
GeneralThank you very much.... Pin
Pankaj - Joshi6-Dec-07 23:42
Pankaj - Joshi6-Dec-07 23:42 

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.