Excel paste comma separated values


  1. Paste the entire text into the first cell
  2. click on the icon that appears on the bottom of the paste and choose “use text import wizard”
  3. In step two of the wizard, choose both spaces and commas as delimiters

You should get exactly what you want. I tried this using your text and it worked. Not sure if Excel 2003 has this, but subsequent versions do.

Step 2:

Step 2

Step 3:

Step 3

Windows Authentication EF Impersonation



Your EF connection string is going to need to be set up for using a trusted connection.

You won’t need to set up Impersonation in your web.config, but you do need to be using Windows Authentication.

Then just do this:

using (((WindowsIdentity)HttpContext.Current.User.Identity).Impersonate())
using (var dbContext = new MyEntityFrameworkContainer())

Any code inside the curly braces of the using statements will run as the authenticated user.