Questions tagged as '.net'

1
answer

What are the advantages of using the ASP.NET formView control?

What are the advantages of using ASP.NET% control%?     
asked by 29.01.2014 / 17:54
1
answer

Using SyntaxTree

I'm studying C # and I came across SyntaxTree while reading about Roslyn . I also read the documentation from Microsoft itself at the link: Introduction to Syntax Analysis However I still have two questions, just to fix the...
asked by 05.12.2018 / 11:31
1
answer

What does it mean (Char) 0 / (Char) 8 / (Char) 13?

I'm doing a shopping program and found it on that same site. The answer to a problem I had, but I did not understand what the (Char)0 part would be, among others. I need to explain what this is. private void preVenda_KeyPress(object sen...
asked by 25.11.2018 / 11:34
1
answer

How to execute a method at the initialization of ALL Controllers?

I have a static class that loads the language against the cookie stored or the URL. In every controller I have to insert the following method once: protected override void Initialize(System.Web.Routing.RequestContext requestContext) {...
asked by 28.11.2018 / 13:07
1
answer

Sum of a result of a SQLDataSource

I'm developing a report system for link control and I need to get the result of a query and make a summation that brings me the total number of links per sector of a given number. I'm using Stored Procedure with MySQL database and deve...
asked by 20.02.2014 / 20:55
1
answer

How to authenticate in a site via server?

There is a login area on this website " link " and would like to know if it is possible to log in via .NET or via client using post or something.     
asked by 26.02.2014 / 23:49
1
answer

OCI-22053: overflow error - C #

I'm developing a web application in MVC with C# . I made a method that makes a select in my bank oracle and with the value returned I fill in a DataTable . But it returns an error when I run " dataAdapter.Fill(resultado)...
asked by 12.02.2014 / 13:30
1
answer

Create new directory according to string

I have a function that saves an image to a standard directory for all companies, and I tried to change it to save to a directory according to this companyFolder string I created. But this is not getting saved. How can I do this? [Htt...
asked by 18.12.2018 / 12:19
2
answers

GET Service - System.NullReferenceException: 'Object reference not set to an instance of an object.'

I'm working on creating a Get service in ASP.NET Core, my project contains the following structure: Certiao.Data - Class Library Inside it has Dependences , Models : Sexo.cs and DB_SDO_DEVContext.cs DB_S...
asked by 18.10.2018 / 23:46
2
answers

Extract child tags from an XML

I'm consuming a recipe server and it returns me an XML like: <retDistDFeInt xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" versao="1.01" xmlns="http://www.portalfiscal.inf.br/nfe"> &l...
asked by 10.10.2018 / 19:59