Search
 
SCRIPT & CODE EXAMPLE
 

CSHARP

office open xml check if row is empty

var sheetData = part.Worksheet.Elements<SheetData>().First();
var rows = sheetData.Elements<Row>().ToList();
for (var rowIndex = 0; rowIndex < rows.Count; rowIndex++)
{
  var row = rows[rowIndex];
  if (string.IsNullOrWhiteSpace(row.InnerText)) continue;
  // Row is not empty
}
Comment

PREVIOUS NEXT
Code Example
Csharp :: Include multiple siblings at the Level 
Csharp :: show double in textbox c# 
Csharp :: mvc dotnet core how does the view pass parameters to controler 
Csharp :: is list sequential C# 
Csharp :: c# insert from with bind array 
Csharp :: how to detach the camera from the player after death unity 
Csharp :: != in f# 
Csharp :: unity mouse click 
Csharp :: C# return dictionary string/integer from comparison of List and Array 
Csharp :: writeline in C# 
Csharp :: vb.net delete line from text file 
Csharp :: serenity get id from insert repository 
Csharp :: allelrt box wpf 
Csharp :: Fix Array outside the bonus 
Csharp :: c# order of initialization 
Csharp :: gegenstände bewegen c# 
Csharp :: how to make a console feedback 
Csharp :: lambda distinct by property 
Csharp :: asp.net core httpdelete with body 
Csharp :: c# alert message 
Csharp :: move dotnet dlls to another folder 
Csharp :: c# read single key 
Csharp :: querstring fromat asp.net c# 
Csharp :: read barcode with barcode scanner c# winform serial port number 
Csharp :: asp.net core mvc razor page call pagemodel actio 
Csharp :: unity call function after delay 
Csharp :: How to enumerate an enum 
Csharp :: basic math functions in c# 
Csharp :: IOS app crashing on ios 15 unity 
Csharp :: c# asqueryable select 
ADD CONTENT
Topic
Content
Source link
Name
9+7 =