Questions tagged as 'c#'

1
answer

Controller Edit - Inserting Values

My method responsible for editing is inserting values into the CONSUL_EnciclopediasCONSUL_Promocoes table instead of editing. If I have the options x with id = 1 and y id = 2 within the course a with id = 1 and I originally choose the opt...
asked by 12.09.2014 / 19:49
2
answers

Customize an item inside the css for a given view

I have this view in MVC View @model XXX @{ } <link href="/eTeste/Content/AbaDetailsODM.css" rel="stylesheet" type="text/css" /> <div id="consoleAbaDetalhes"></div> <div id="campos_detail"> @using (Ajax.Begi...
asked by 30.12.2015 / 12:47
1
answer

Why can not I see Form1.cs

I created a tableLayoutPanel and later wanted to put a Panel in each cell of tableLayoutPanel . I made the following code and when compiling it works. Panel[,] panels = new Panel[tableLayoutPanel1.RowCount+1, tableLayout...
asked by 20.01.2016 / 13:14
1
answer

Gridiview in asp.net assembly

Good afternoon, folks. I have a question when setting up a gridview I do not have a lot of knowledge in C # I did it that way string sql = "SELECT pr.codigo_chave,pr.codigo_produto,pr.nome_produto,ca.nome_categoria FROM infobook_net.produtos...
asked by 25.01.2016 / 17:10
0
answers

Image printing on the Datamax printer with C #

Good morning! I have a label printing system Datamax printer that is done in C #. I need to create the impression of an image (logo) on the label and was following the steps in this forum:    link But I could not make progress. Appar...
asked by 26.01.2016 / 11:14
0
answers

Error in some computers when trying to capture the voltage of the processor by WMI

On only a few computers when running my hardware specification program, it reports an error on line 155. public static String voltage() { String Ic = String.Empty; foreach (var item in new Management...
asked by 01.12.2015 / 15:46
1
answer

Socket receiving more than one message together

I have a client socket receiving messages in xml that is working normally but in some cases it is necessary for the server to send me more than one message regarding a request, and these messages are sent in a very small time interval something...
asked by 08.01.2016 / 12:26
1
answer

I am not being able to access a WebService written in C #, from Java [closed]

I have a WebService written C # and I need to connect to it from Java to invoke methods. Is it possible? import java.net.MalformedURLException; import java.net.URL; import java.util.logging.Level; import java.util.logging.Logger; import jav...
asked by 08.01.2016 / 19:06
1
answer

How to add more than one DataRelation to a Dataset in C #?

Is it possible to add more than one DataRelation to a DataSet? I need three columns in separate tables to be related.     
asked by 09.01.2016 / 17:45
0
answers

VS2015 - Accessing the Mobile Application

Good morning! I'm creating an API for testing in VS2015. When running the project, it uses the "localhost: 32150" address provided by IIS Express. If I provide a method through my browser, it works normally, eg: "localhost: 32150 / api...
asked by 08.01.2016 / 12:05