I'm developing a program that should export data to an Excel spreadsheet. I need to know how to build a spreadsheet with C #, but I only found tutorials that require excel installed on the computer.
I would like to be able to export data with...
I have the following form code:
@model Domain.Entities.Tabela1
@using WebUI.HtmlHelpers
@using WebUI.Extensions
@{
ViewBag.Title = "Tabela";
Layout = "~/Views/Shared/_Master.cshtml";
}
<article ng-app="registrationModule">
&l...
I'm doing a query with LINQ on DataTable in that snippet of code. I have to check if there is already a link for person registered in the database. My query using LINQ is working perfectly, the problem is to store query.C...
I started doing a project from scratch using MVC 4 of VS 2012. As I opted for an empty, I can not start the view. I made the route:
routes.MapRoute(
name: "Operador",
url: "{controller}/{action}/{id}",...
I was learning to use split and in the end I had this code:
namespace String_Split
{
class Program
{
static void Main(string[] args)
{
string mensagem_completa;
string palavra;
string...
When I try to read files on another network (which requires authentication), the error below occurs. The same problem I also have when I try to access protected folders.
Does anyone know how I can solve this?
DirectoryInfo dirE = new Direct...
I need to pass a parameter to my Controller in the Web API which is a complex object, this object has some normal properties (the most complex is a DateTime). I'm doing the following, but I can not access:
WebApiConfig Route:
config.Routes....
My system generates a PDF created in iTextSharp and I use the following code to open it:
System.Diagnostics.Process.Start(nomeArquivo);
nomeArquivo is the address of the PDF file.
How do I get the file straight to the printer with...
I'm getting an error initializing simpleinjector that I can not solve at all. The error appears when it tries to execute the line:
container.Verify();
Following error:
- [Lifestyle Mismatch] ApplicationSignInManager (Web Reques...
I need to monitor the opening of Forms inside a C # application. For example, every time you open a Form within the application, the application must either execute a method or trigger an event with open form information. I researched and found...