Skip to content

Instantly share code, notes, and snippets.

View BFalkner's full-sized avatar

Brennan Falkner BFalkner

View GitHub Profile
Keywords = Request.Form["Keywords"]
.Replace("\r\n", ",")
.Split(',')
.Where(k => k.Length > 0)
.Select(k => k.Trim()).ToList()
var conf = new MapConfiguration();
conf.DefaultStore = new DatabaseStore(conf, Settings.Database);
conf.Initialize();
DataContext = new DataContext(conf);
Server Error in '/' Application.
Value cannot be null.
Parameter name: row
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentNullException: Value cannot be null.
Parameter name: row
Source Error:
[Component]
public class CSVList : List<string>
{
// ReSharper disable UnusedPrivateMember
private string Value
// ReSharper restore UnusedPrivateMember
{
get { return string.Join(",", this.ToArray()); }
set
{