Questions tagged as 'c#'

1
answer

Call help form from various forms and return [duplicate] value

I have a project written in c # with three forms: form01, form02, form03 and everyone has a button that will call the help form. The Help form returns a value that must be received in the form that made the call. How can I do to receive the va...
asked by 25.09.2017 / 19:26
1
answer

Redirect errors to different views in ASP.NET MVC [closed]

How could I log the different types of errors in ASP MVC 5, likewise send them to a screen or error view 500, 404, etc. In the same way how could they log in?     
asked by 12.10.2017 / 01:22
2
answers

executenonquery in C #

Greetings, I would like to know what value returns me executenonquery in case I do not affect any field, example string respuesta = ""; SqlConnection SqlConexion = new SqlConnection(); try { SqlConex...
asked by 31.10.2017 / 12:54
1
answer

problem when copying file from local and moving it to ftp server c #

I have to copy an .exe from a local folder and move it to an ftp server, in doing so, the .exe becomes a larger file and does not let me run it. This is the code I have: public static void FtpBkAndUploadNewVersion(string direccionIP, string us...
asked by 31.10.2017 / 15:47
1
answer

Add dll reference from one project to another visual studio 2013 c #

I have a solution with 6 projects. Web mvc Web services Business DAL Entities Infrastructure The infrastructure one has added a dll in several others of System.Web.Mvc Business uses infrastructure therefore has the dll as a reference. In the...
asked by 20.09.2017 / 21:43
1
answer

Doubts about the lists in asp.net mvc

Good I am new in ASP.net in which I am focusing in the MVC. Here I show the following code. public class ClientesController : Controller { public List<Cliente> clientes = new List<Cliente>(); // GET: Cliente public Ac...
asked by 24.09.2017 / 16:39
1
answer

consume a web service with C #, using Javascript? [closed]

I have a web page on the client side that works with Javascript to show information, but I want to consume a web service so that the user can interact with that page and not only ask about it, the problem is that the web service can only be cons...
asked by 19.09.2017 / 22:27
1
answer

How to separate the error message from the Float Label

I have a form where you can enter data, validation of required fields, When I select the TextBox to insert text, the PlaceHolder property is placed as the TextBox title (FloatLabel), but those textBox validate that you have to enter data, so who...
asked by 19.09.2017 / 16:33
3
answers

Error updating in windows form

could help me with this error when wanting to update the data private void btnactualizar_Click(object sender, EventArgs e) { int resp; asignarDatosObjeto(); resp = CATCAD.Actualizar(CATCRN); if (resp...
asked by 19.09.2017 / 22:24
2
answers

Error adding values of a Foreach in MVC3 view C #

Currently I have an error adding some values of a foreach, the view is of extension .cshtml razor in C #, the code is as follows: <div class="panel panel-primary"> <!-- Default panel contents --> <d...
asked by 17.09.2017 / 21:56