Click here to Skip to main content
15,884,838 members
Home / Discussions / C#
   

C#

 
AnswerRe: Dynamically add a property item to Property Grid Pin
visualhint6-May-08 5:46
visualhint6-May-08 5:46 
QuestionNeed Help on Writing to New Line Pin
Thomas Toh1-May-08 17:59
Thomas Toh1-May-08 17:59 
AnswerRe: Need Help on Writing to New Line Pin
PIEBALDconsult1-May-08 19:05
mvePIEBALDconsult1-May-08 19:05 
AnswerRe: Need Help on Writing to New Line Pin
Christian Graus1-May-08 19:32
protectorChristian Graus1-May-08 19:32 
AnswerRe: Need Help on Writing to New Line Pin
Luc Pattyn1-May-08 22:26
sitebuilderLuc Pattyn1-May-08 22:26 
QuestionComboBox in Datagrid view Pin
cocoonwls1-May-08 17:18
cocoonwls1-May-08 17:18 
AnswerRe: ComboBox in Datagrid view Pin
Gopal.S1-May-08 21:12
Gopal.S1-May-08 21:12 
GeneralRe: ComboBox in Datagrid view Pin
cocoonwls1-May-08 22:45
cocoonwls1-May-08 22:45 
Hi Gopal.S

Thanks for your suggestion. I am just figure out how to do it, but seem you have a better suggestion Smile | :)

1) I just simple Concatnate the columns after i get the dataset, something like below:

string s = dsTemp.Tables[0].Rows[1][2].ToString() + dsTemp.Tables[0].Rows[1][3].ToString();


2) I am using CellEndEdit,as below;

this.dataGridView1.CellEndEdit += new DataGridViewCellEventHandler(dataGridView1_CellEndEdit);

private void dataGridView1_CellEndEdit(object sender, DataGridViewCellEventArgs e)
{
 string cellvalue;
 if (e.ColumnIndex == 1)
 {
  cellvalue = dataGridView1.Rows[e.RowIndex].Cells[1].Value.ToString();
  if (cellvalue != null && cellvalue != "")
  {
   //some coding here
  }
}



I will try you suggestion too, Thanks Laugh | :laugh:
QuestionMember Function Pointers usage on class instances: Pin
Net Guy1-May-08 17:14
Net Guy1-May-08 17:14 
AnswerRe: Member Function Pointers usage on class instances: Pin
Christian Graus1-May-08 17:19
protectorChristian Graus1-May-08 17:19 
QuestionReflection Question Pin
MrColeyted1-May-08 16:49
MrColeyted1-May-08 16:49 
AnswerRe: Reflection Question Pin
PIEBALDconsult1-May-08 19:07
mvePIEBALDconsult1-May-08 19:07 
GeneralRe: Reflection Question Pin
MrColeyted1-May-08 19:22
MrColeyted1-May-08 19:22 
AnswerRe: Reflection Question Pin
J a a n s1-May-08 22:35
professionalJ a a n s1-May-08 22:35 
GeneralRe: Reflection Question Pin
MrColeyted1-May-08 23:00
MrColeyted1-May-08 23:00 
QuestionXSD class generation tool Pin
cbadal1-May-08 15:52
cbadal1-May-08 15:52 
AnswerRe: XSD class generation tool Pin
cbadal3-May-08 5:20
cbadal3-May-08 5:20 
AnswerRe: XSD class generation tool Pin
sri_00997-Jan-10 19:55
sri_00997-Jan-10 19:55 
Questionpassing argmumnet to cmd from and application Pin
Naveed7271-May-08 14:58
Naveed7271-May-08 14:58 
AnswerRe: passing argmumnet to cmd from and application Pin
Ennis Ray Lynch, Jr.1-May-08 15:03
Ennis Ray Lynch, Jr.1-May-08 15:03 
GeneralRe: passing argmumnet to cmd from and application Pin
Naveed7271-May-08 21:40
Naveed7271-May-08 21:40 
AnswerRe: passing argmumnet to cmd from and application Pin
Luc Pattyn1-May-08 22:36
sitebuilderLuc Pattyn1-May-08 22:36 
QuestionTransfer info from Form1 to Form2 Pin
nelsonpaixao1-May-08 14:35
nelsonpaixao1-May-08 14:35 
AnswerRe: Transfer info from Form1 to Form2 Pin
Christian Graus1-May-08 15:57
protectorChristian Graus1-May-08 15:57 
AnswerRe: Transfer info from Form1 to Form2 Pin
tika/ajay1-May-08 19:50
tika/ajay1-May-08 19:50 

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.