This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
foreach (Row currentRow in rows) | |
{ | |
//write the row start element with the attributes added above | |
_writer.WriteStartElement(currentRow); | |
foreach (OpenXmlElement currentCell in currentRow.ChildElements) | |
{ | |
var cell = (Cell)currentCell; | |
//write the start of the cell element with the type and cell reference attributes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var conn = new SqlConnection("some connection string"); | |
var db = new DatabaseContext(conn); | |
const string tableName = "dbo.tUsers"; | |
var dataFound = db.QueryToTable(tableName) | |
.Where(x => (string)x["UserName"] == "Dzianis") | |
.ToList(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Diagnostics; | |
using System.Linq; | |
using Microsoft.Owin; | |
using Owin; | |
[assembly: OwinStartup(typeof(WebApplication5.Startup))] | |
namespace WebApplication5 | |
{ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<system.webServer> | |
<staticContent> | |
<!-- no cache for bundles --> | |
<clientCache cacheControlMode="DisableCache"/> | |
</staticContent> | |
</system.webServer> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Diagnostics; | |
using System.Linq; | |
using System.Web; | |
using System.Web.Http; | |
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-16"?> | |
<?xml-stylesheet type="text/xsl" href="ActivityLog.xsl"?> | |
<activity> | |
<entry> | |
<record>1</record> | |
<time>2019/03/05 09:32:42.773</time> | |
<type>Information</type> | |
<source>VisualStudio</source> | |
<description>Microsoft Visual Studio 2017 version: 15.0.28307.421</description> | |
</entry> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var UserType = (function(){ | |
function UserType(){ } | |
// some code ... | |
return UserType; | |
})(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var UserType; | |
(function(){ | |
/* other code */ | |
})(UserType || UserType = <type_initializer>); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var typeName = (function(){ /* something here */ })(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class User { | |
} |
OlderNewer