Click here to Skip to main content
15,895,256 members
Home / Discussions / C#
   

C#

 
GeneralRe: Match percentage between two string Pin
Dave Kreskowiak4-Aug-05 6:24
mveDave Kreskowiak4-Aug-05 6:24 
GeneralRe: Match percentage between two string Pin
Patric_J5-Aug-05 5:23
Patric_J5-Aug-05 5:23 
GeneralMDI Form Toggling Using Custom Buttons Pin
lpointer4-Aug-05 5:06
lpointer4-Aug-05 5:06 
GeneralRe: MDI Form Toggling Using Custom Buttons Pin
Luis Alonso Ramos4-Aug-05 5:46
Luis Alonso Ramos4-Aug-05 5:46 
GeneralDropDownList comboBoxes Pin
patgo4-Aug-05 4:14
patgo4-Aug-05 4:14 
GeneralRe: DropDownList comboBoxes Pin
mav.northwind4-Aug-05 5:30
mav.northwind4-Aug-05 5:30 
GeneralRe: DropDownList comboBoxes Pin
patgo5-Aug-05 2:30
patgo5-Aug-05 2:30 
Generalindex of a Row Pin
zaboboa4-Aug-05 4:07
zaboboa4-Aug-05 4:07 
Hello,

I have:

foreach (DataRowView row in this.dataview) {<br />
			      for (int i = 0; i < row.Row.Table.Columns.Count; i++) {<br />
			         if (row["NumUnits"].ToString().Length == 0 || row["MonthsToService"].ToString().Length == 0) {<br />
			            <br />
			            break;<br />
			         }<br />
			      } // End of FOR loop<br />
			   } // End of FOREACH statement


Is there a way of getting the index of the row within the IF statement?
Thank you
GeneralRe: index of a Row Pin
Guffa4-Aug-05 4:38
Guffa4-Aug-05 4:38 
GeneralRe: index of a Row Pin
Alomgir Miah4-Aug-05 4:45
Alomgir Miah4-Aug-05 4:45 
GeneralRe: index of a Row Pin
zaboboa4-Aug-05 6:46
zaboboa4-Aug-05 6:46 
QuestionHow to get Attribute in XPath ? Pin
Anonymous4-Aug-05 3:48
Anonymous4-Aug-05 3:48 
AnswerMissed XML Part Pin
Anonymous4-Aug-05 4:13
Anonymous4-Aug-05 4:13 
GeneralRe: Missed XML Part Pin
Kevin McFarlane4-Aug-05 4:48
Kevin McFarlane4-Aug-05 4:48 
GeneralDataView.Sort not working Pin
livez4-Aug-05 3:21
livez4-Aug-05 3:21 
GeneralRe: DataView.Sort not working Pin
Alomgir Miah4-Aug-05 4:05
Alomgir Miah4-Aug-05 4:05 
GeneralRe: DataView.Sort not working Pin
livez4-Aug-05 4:13
livez4-Aug-05 4:13 
GeneralRe: DataView.Sort not working Pin
Alomgir Miah4-Aug-05 4:45
Alomgir Miah4-Aug-05 4:45 
GeneralRe: DataView.Sort not working Pin
livez4-Aug-05 4:59
livez4-Aug-05 4:59 
GeneralClass Constructor not getting called when creating array of class object Pin
Mutty4-Aug-05 3:15
Mutty4-Aug-05 3:15 
GeneralRe: Class Constructor not getting called when creating array of class object Pin
Sean Michael Murphy4-Aug-05 3:32
Sean Michael Murphy4-Aug-05 3:32 
GeneralRe: Class Constructor not getting called when creating array of class object Pin
Mutty4-Aug-05 4:45
Mutty4-Aug-05 4:45 
Generalcreate a relation betwn 2 tables in a dataset Pin
dhol4-Aug-05 3:12
dhol4-Aug-05 3:12 
GeneralRe: create a relation betwn 2 tables in a dataset Pin
Alomgir Miah4-Aug-05 3:55
Alomgir Miah4-Aug-05 3:55 
GeneralRe: create a relation betwn 2 tables in a dataset Pin
dhol5-Aug-05 2:44
dhol5-Aug-05 2:44 

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.