Questions tagged as 'c#'

1
answer

MySql query from a page on asp.net

I'm trying to implement this code snippet public List<int> Temperatura() { List<int> Datos = null; string connStr = "server=localhost;user=root;database=sensores;port=3306;password=123456;";...
asked by 15.11.2016 / 04:46
1
answer

Obtain user information with APDU commands - Login

I am looking for how to implement APDU commands to get data from smartCard , in particular user data, from C # . The goal I have is to make a simulation of a Login. My reader is a:    Athena ASEDrive IIIe Combo BIO 0 I un...
asked by 04.01.2017 / 21:05
2
answers

in the text field of the email I get [email protected]. How to remove it?

It turns out that I have a datatable that lists personal data of people, and one of them is the mail, when I test it locally, it looks good mail, but from the production site it shows me the email with the word [email protected] the result of th...
asked by 03.01.2017 / 21:37
2
answers

Multiple mvc projects in the same solution c #

I wanted to see what they recommend. I have a large project with many clients and different requirements for certain things. My idea is to have a generic MVC project with the controllers, views and scripts that are repeated in all the clients an...
asked by 04.11.2016 / 11:40
1
answer

Error with project interface

Buens, some have an idea of why the graphical inteface of a project can change drastically when uploading to IIS7 (windows and), I have a project and when I run it locally everything is fine, but in IIS the interface changes and some functions t...
asked by 20.10.2016 / 17:38
1
answer

Failure to include library

I am trying to include the library and call the main function of my library, as follows: using myddl; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { Program.Main(args);...
asked by 09.11.2016 / 10:45
1
answer

How to insert in a SQL server table a field that is not auto-incremented?

I have a table that has an "id" field but it is not defined as auto-incremented within the DB, there is a possibility that when inserting a record, it indicates that the "id" is going to be a self-incremented field using C #.     
asked by 17.10.2016 / 17:27
3
answers

Use an external Form

I have my application in C # , I need to fill in three fields in another application, I'm using this code to pick up the other application and send sendkeys [DllImport("user32.dll")] public static extern IntPtr FindWindow(string cl...
asked by 22.11.2016 / 15:32
2
answers

Problem with [Authorize] on asp.net mvc 4

please your collaboration with the following: I have a controller with a couple of actions: [Authorize] public ActionResult conAut() { return View(); } public ActionResult sinAut() { return View();...
asked by 22.11.2016 / 20:40
2
answers

Entity Framework - Code Firts

If I have a desktop application (Windows Forms) developed with EF code firts but the connection to the database of my pc is Windows authentication (to the SQL server). But when taking it to another PC they have a SQL server with SQL user authent...
asked by 12.10.2016 / 03:31