Questions tagged as 'c#'

1
answer

Error request Ajax Jquery C #

I'm getting error 401 in a simple Ajax query with Jquery. Requisition: $().ready(function () { $.ajax({ url: "Ajax/RetornoAjax.aspx/ObterResultados", type: "GET", //Caso não passe nenhum dado dat...
asked by 05.02.2018 / 19:44
1
answer

Adding value in the picturebox

I'd like to know if you have any way to make it work here int chck = 0; int fid = 0; while (chck < 150) { try { sqlcon.Open(); string sql2 = "SELECT img FROM clienteimg...
asked by 05.02.2018 / 03:18
1
answer

Problem with form submission

I'm having trouble trying to make a submit of a form when my object is null as it is not mandatory. But you can not save it null. /// Model public class Atividade { public virtual long Id { get; set; } [Display(Name = "Descrição")]...
asked by 22.02.2018 / 17:52
1
answer

How to know the license of a given module in ERP PRIMAVERA V9 [closed]

Is there a method in the PRIMAVERA ERP v9 API to know if a particular client has a license for banks?     
asked by 22.02.2018 / 13:07
1
answer

Create List of actions already passing the parameters and then execute them according to parameters passed

I wanted to know if there is a possibility to create a list of Actions already passing their parameters to execute, because the numbers that I will pass to the execution of them can be variable, so I would like to save these aActions already wit...
asked by 22.02.2018 / 15:14
1
answer

Problems with executescalar (System.Data.SqlClient.SqlException)

I have the following code block: sqlConn.Open(); SqlCommand inserirAluno = new SqlCommand("INSERT INTO ALUNOS (Nome, DataNascimento, CPF, Endereco, Bairro, " + "CEP, Cidade, IdEstado, Sexo) OUTPUT INSERTED.ID" +...
asked by 12.03.2018 / 23:09
1
answer

Foreign key entity framework asp.net mvc

I have My Table Repair and RepairDetails and I am getting the following msg when I try to update my migration: "The introduction of the FOREIGN KEY constraint 'FK_dbo.ConsertDetalhes_dbo.Pecas_PecasId' in the 'FixDetails' table can cause cycles...
asked by 02.02.2018 / 16:38
2
answers

Bootstrap message, apply location.reload at the end of message

Good afternoon, I'm trying to apply location.reload to the end of a messagebox after the .remove() effect of 2 seconds but I'm not familiar with javascript could someone help me with the code: function ShowMessage(message, m...
asked by 01.02.2018 / 19:54
1
answer

Class to write / read TXT files with formatting [closed]

I am using% w / o TextWriter to read / write a card voucher as a Classe but it does not have the property for letter size, spacing, etc. formatting. This makes the voucher printed on the thermal printer go out without symmetry. My que...
asked by 01.02.2018 / 14:27
1
answer

Get TextBox value inside Repeater with JavaScript event Onchange

Good afternoon, I'm not able to pass the value of a TextBox asp.net created inside a Repeater as a parameter to a javascript function onchange function. I need to pass two parameters the first is a Eval("Pos...
asked by 30.01.2018 / 18:44