Click here to Skip to main content
15,888,733 members
Home / Discussions / C#
   

C#

 
AnswerRe: Resizing Control and Halt Operation Pin
Nouman Bhatti28-Oct-07 20:10
Nouman Bhatti28-Oct-07 20:10 
GeneralTextBox and PostBack Pin
robertGreen61328-Oct-07 16:54
robertGreen61328-Oct-07 16:54 
GeneralRe: TextBox and PostBack Pin
N a v a n e e t h28-Oct-07 18:38
N a v a n e e t h28-Oct-07 18:38 
QuestionC#.Net Web site code ( with AJAX ) is not working in the new computer Pin
tedhill1328-Oct-07 14:49
tedhill1328-Oct-07 14:49 
AnswerRe: C#.Net Web site code ( with AJAX ) is not working in the new computer Pin
Paul Conrad28-Oct-07 15:10
professionalPaul Conrad28-Oct-07 15:10 
AnswerRe: C#.Net Web site code ( with AJAX ) is not working in the new computer Pin
Nouman Bhatti28-Oct-07 19:58
Nouman Bhatti28-Oct-07 19:58 
GeneralRe: C#.Net Web site code ( with AJAX ) is not working in the new computer Pin
tedhill1329-Oct-07 6:35
tedhill1329-Oct-07 6:35 
QuestionDataGrid Pin
Assaf8228-Oct-07 12:22
Assaf8228-Oct-07 12:22 
Hello
I want to replace a value in a datagrid in a specific cell ccording the the original data this my cose but there is a big error:
1-private void StatusClarification()
2- {
3- for (int i = 0; i < this.dtgCreditInfo.Rows.Count; i++)
4- {
5- if (int.Parse(this.dtgCreditInfo.Rows[i].Cells["Status"].Value.ToString()) <= -1)
6- this.dtgCreditInfo.Rows[i].Cells["status"].Value = "Modified";
7- if (this.dtgCreditInfo.Rows[i].Cells["Status"].Value.ToString() == "1")
8- this.dtgCreditInfo.Rows[i].Cells["status"].Value = "New";
9- if (this.dtgCreditInfo.Rows[i].Cells["Status"].Value.ToString() == "0")
10- this.dtgCreditInfo.Rows[i].Cells["status"].Value = "Deleted";
11- }
12- }
What can i do, in what i should replace the lines:6,8,10

Thanks in advance



Assaf

AnswerRe: DataGrid Pin
Nouman Bhatti28-Oct-07 20:02
Nouman Bhatti28-Oct-07 20:02 
GeneralRe: DataGrid Pin
Assaf8228-Oct-07 23:41
Assaf8228-Oct-07 23:41 
GeneralRe: DataGrid Pin
Nouman Bhatti29-Oct-07 19:07
Nouman Bhatti29-Oct-07 19:07 
GeneralRe: DataGrid Pin
Assaf8229-Oct-07 21:35
Assaf8229-Oct-07 21:35 
QuestionXNA Pin
MasterSharp28-Oct-07 10:58
MasterSharp28-Oct-07 10:58 
AnswerRe: XNA Pin
Pete O'Hanlon28-Oct-07 11:07
mvePete O'Hanlon28-Oct-07 11:07 
AnswerRe: XNA Pin
User 665828-Oct-07 12:37
User 665828-Oct-07 12:37 
Questionwhat is Embedded? Pin
phuong oanh28-Oct-07 10:04
phuong oanh28-Oct-07 10:04 
AnswerRe: what is Embedded? Pin
Paul Conrad28-Oct-07 15:11
professionalPaul Conrad28-Oct-07 15:11 
Questionsocket and mobile PDA connect DDK Pin
phuong oanh28-Oct-07 10:01
phuong oanh28-Oct-07 10:01 
AnswerRe: socket and mobile PDA connect DDK Pin
Malcolm Smart28-Oct-07 11:07
Malcolm Smart28-Oct-07 11:07 
GeneralRe: socket and mobile PDA connect DDK Pin
Pete O'Hanlon28-Oct-07 11:17
mvePete O'Hanlon28-Oct-07 11:17 
GeneralRe: socket and mobile PDA connect DDK Pin
phuong oanh29-Oct-07 2:43
phuong oanh29-Oct-07 2:43 
QuestionStore data that is private to a thread using the thread object. Pin
bradsnobar28-Oct-07 9:41
bradsnobar28-Oct-07 9:41 
AnswerRe: Store data that is private to a thread using the thread object. Pin
TJoe28-Oct-07 12:05
TJoe28-Oct-07 12:05 
GeneralRe: Store data that is private to a thread using the thread object. Pin
bradsnobar28-Oct-07 14:22
bradsnobar28-Oct-07 14:22 
QuestionHow to make emboss effect with safe code? Pin
yohanes.luhur28-Oct-07 8:21
yohanes.luhur28-Oct-07 8:21 

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.