Questions tagged as 'c#'

1
answer

Jenkins and MsBuild with a MVC website

Good, I would like you to help me with the Jenkins continuous integration tool, but above all the problem I have is with the msbuild.  I have a web in asp with nuget packages that in the VS compiles and publishes perfectly nevertheless with the...
asked by 07.04.2017 / 14:18
1
answer

Obtain the minute difference between the values of 2 DateTimePicker controls [closed]

I try to get the minute difference in TextBox with two controls DateTimePicker . When compiling the program for the first time it shows me a very long number, then when changing the time in the control, it does show me the time. Th...
asked by 15.05.2017 / 05:42
1
answer

Problem with hidden operations in tab_page side of a tab_control?

Hi, I have a new question, I have 1 tab_control with 2 tab_pages, both tab_pages have a datagridview that loads MySQL data, in the first tab_page it shows a list of clients, and in the second it shows a list of calls, which by means of a timer (...
asked by 03.04.2017 / 03:34
2
answers

Background image on canvas

I have a canvas to which I have added a raw image. How can I get a background image from code? I have this code that reads some folders and looks for where the image is. private void LoadBgImage() { string RuteBackground = Applic...
asked by 10.04.2017 / 17:08
1
answer

Problem with WebBrowser

I have a problem trying to open a page made in Java from a device that is on my local network. Code: namespace RFIDIsaiv._1 { public partial class WebConf : Form { public WebConf() { InitializeCom...
asked by 28.03.2017 / 20:24
1
answer

error when uploading txt file in gridview c # .net

I have this error when loading again the same file.txt when doing it the first time if it shows it without any problem the second time it throws me an error that the file is being used and tried several methods and nothing this is the code I use...
asked by 28.03.2017 / 20:59
1
answer

Connect 2 applications in a LAN network (C # or VB NET)

Hello colleagues I am using Sockets regardless of the programming language, I have 2 applications (Red Lan), one on the PC and another on a Notebook. I would like to know if it is necessary to have the OPEN PORT for the connection of the 2 appli...
asked by 29.03.2017 / 00:04
1
answer

mvc Views with Entity Framework [closed]

I am starting a new MVC project with Entity Framwork and I need to save information in 3 different tables, for this I have created a stored procedure. What I want to do is create a form from that procedure. What can I do to create the form? C...
asked by 03.05.2017 / 18:57
1
answer

System.NullReferenceException: Object reference not set to an instance of an object [duplicate]

I'm making a simple query to DB and it gives me the error of the title. It tells me that the error is in if(reader.Read()) I have this in the aspx: <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<...
asked by 31.03.2017 / 15:21
3
answers

Excel download uploaded to the IIS ASP server

Good I have a problem I was doing a module to download excel and if it works correctly for which I am now uploading this module in a IIS and if you download but when it opens it appears that the file is damaged and is being downloaded in...
asked by 25.03.2017 / 16:32