Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
Métodos Frequentes
public static int GetColIndexByColName(this HtmlTable @this, string colName) { for (int index = 0; index < @this.ColumnCount; index++) { string title = @this.GetHeaderCellByColumnIndex(index).InnerText; if (colName.Equals(title, StringComparison.CurrentCultureIgnoreCase)) { return(index); } } return(0); }