Questions tagged as 'c#'

2
answers

Import a list to another Form C #

I do not know how to import a list into another form , if anyone can help me. The code for the first form looks like this: Note that I want to transport ListaFornecedores to Form FrmNovoProduto . As I said, I do not...
asked by 17.11.2016 / 15:41
1
answer

Development without EF ORM

It is worth developing without ORM, because today I want to develop an ERP, but I have no knowledge in any framework , is it worth doing everything at hand? Will I have the same result? Well, I realize that I'm wasting a lot of development t...
asked by 08.04.2017 / 00:57
3
answers

How to access object created by another thread?

Is it possible to access an object created by another thread ?     
asked by 17.04.2017 / 06:20
1
answer

Add hyperlink in MessageBox c #

Is it possible to customize MessageBox.Show("http://www.google.com/"); so that this link is a hyperlink and when I click open a browser? The only possibility really would be to create a new form?     
asked by 09.04.2017 / 21:43
1
answer

How to Validate MaskedTextbox?

I have a registration field which mixes textbox common with maskedtextbox , I created a validation code that does not allow the user to register if one of them is empty. But he is only validating the textbox common and not% t...
asked by 13.11.2016 / 17:01
1
answer

How to make a select that brings the data registered in a given week?

I want to list all the data registered in a given week, can someone help me? I did something similar to the example below and it does not work. public List<View_Venda> Venda_Semanais() { List<View_Venda> lis = new List<Vi...
asked by 13.04.2017 / 11:33
1
answer

How to pass a JSON Object to a method in webservice?

I'm trying to pass a JSON Object to a method in my controller and I'm not getting it, the problem is that the email field always returns null. How to do this? I'm trying like this. JSON Object {"UsuarioJsonModel": {"email":"meuemail...
asked by 10.11.2016 / 19:07
1
answer

Null value is going to ajax error function - ASP.NET MVC

I am developing a CEP query page where the information is sent and returned in ajax: $.ajax({ url: "@Url.Action("PesquisarCEP", "CEP")" + "?cep" + retirarMascara($("#dsCEP").val()), type: "GET", success: function (retor...
asked by 19.08.2016 / 17:26
2
answers

Xml Tag base64Binary C #

I have the following xml tag (I'll summarize it for size): <docZip schema="procNFe_v3.10.xsd" NSU="000000000001868">H4sIAAAAAAAEAN1aWY+jyLJ+Pv..bla bla bla</docZip> The field type is base64Binary, it is a Gzip file. I have al...
asked by 17.08.2016 / 15:33
2
answers

How to set a GridView read-only line made with DevExpress?

I need to put the lines of my GridView as read-only. That is, I have a GridView that already contains some data, this data can not be edited, however I can add new lines, and these new lines can be edited. But I'm using the...
asked by 05.09.2016 / 20:20