Click here to Skip to main content
15,907,395 members
Home / Discussions / C#
   

C#

 
GeneralRe: wpf c# event handler Pin
angels7779-Dec-07 0:43
angels7779-Dec-07 0:43 
Questioninserting datagridview rows in database(windows application) Pin
avvaru.murali6-Dec-07 23:26
avvaru.murali6-Dec-07 23:26 
GeneralRe: inserting datagridview rows in database(windows application) Pin
Ujjaval Modi7-Dec-07 0:03
Ujjaval Modi7-Dec-07 0:03 
QuestionC# :how to access textbox values of form1 from form2 Pin
kssknov6-Dec-07 22:59
kssknov6-Dec-07 22:59 
GeneralRe: C# :how to access textbox values of form1 from form2 Pin
DaveyM696-Dec-07 23:35
professionalDaveyM696-Dec-07 23:35 
GeneralRe: C# :how to access textbox values of form1 from form2 Pin
Giorgi Dalakishvili6-Dec-07 23:49
mentorGiorgi Dalakishvili6-Dec-07 23:49 
QuestionHow is the Ado.Net Entity framework is good considering the performance Pin
sarangpani6-Dec-07 22:47
sarangpani6-Dec-07 22:47 
QuestionControlToValidate is Null Problem Pin
xueqing826-Dec-07 22:46
xueqing826-Dec-07 22:46 
GeneralExtracting images from a webpage stream. Pin
aj.esler6-Dec-07 22:09
aj.esler6-Dec-07 22:09 
QuestionHandling globalization/localization when converting string to double Pin
panks_r6-Dec-07 21:44
panks_r6-Dec-07 21:44 
Generalremoting and opening ports [modified] Pin
cignox16-Dec-07 21:13
cignox16-Dec-07 21:13 
QuestionHow can I get the name of the calling method? Pin
JoeRip6-Dec-07 20:58
JoeRip6-Dec-07 20:58 
AnswerRe: How can I get the name of the calling method? Pin
JoeRip6-Dec-07 21:06
JoeRip6-Dec-07 21:06 
AnswerRe: How can I get the name of the calling method? Pin
NikoTanghe6-Dec-07 21:20
NikoTanghe6-Dec-07 21:20 
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 

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.