Most voted ".net" questions
The Microsoft . NET is a set of libraries and functions that are part of the Basic Class Library (BCL), such as user interface functions, data access, connectivity, cryptography, web development, mathematical algorithms, and network communication.
Learn more…2,689 questions
Sort by count of
-
0
votes0
answers65
viewsProblems with routes in ASP . Net MVC
Hello, I have the following route: routes.MapRoute("RelatorioDemonstrativoResultadoExercicio", "downloads/relatorios/Relatorio_DRE_{dataInicio}_{dataTermino}.pdf", new { controller =…
-
0
votes1
answer2993
viewsError there is a duplicated 'system.web.Extensions/scripting/scriptResourceHandler' section defined
I downloaded a project, and I wanted to import to my pretty much everything, but when copying and pasting your webconfig into mine, do it while running: Há uma seção…
-
0
votes2
answers2443
viewsWhat do I need to program in C#?
I use Delphi and I need something similar to program a code like that. What I have to get to start pro lawn in C#?…
-
0
votes1
answer2827
viewsConsume Webservice WSDL
Good afternoon, I am trying to consume a Webservice using ASP.NET, however, after adding its reference and executing the method, the parameters return null, generating Exception. I tried to run…
-
0
votes1
answer94
viewsRibbon for Visual Studio Express 2013
How to install or activate Ribbon in Visual Studio Express 2013?
-
0
votes1
answer71
viewsOracleexception is not fired!
Someone has already come across the following problem: When an error occurs that should be of the type Oracleexception, but in its place an exception is triggered, then the oracle treatment is not…
-
0
votes1
answer472
views -
0
votes3
answers172
viewsOperator '+' can’t be Applied to operands of types 'decimal' and 'double' - Ncalc
I’m using the Ncalc lib A simple formula such as "Abs(-1) + Cos(2)" gives the following exception: Operator '+' can’t be Applied to operands of types 'decimal' and 'double' Why? How to solve? The…
-
0
votes1
answer633
viewsHow to search for files recursively inside a folder?
I am developing an application, and I need to return the paths of files that have same name and same extension from within a specific folder, to assign a version there are them, but I do not know…
-
0
votes2
answers386
viewsLINQ to Entities does not recognize the 'Boolean Like' method?
I am having this error when trying to make one with query using LINQ to SQL after making the suggested changes: {SELECT `Extent1`.`idcliente`, `Extent1`.`nome`, `Extent1`.`pai`, `Extent1`.`mae`,…
-
0
votes1
answer46
viewsButtons, panels and other shapes in the CONSOLE
Well, these days there, I’m making a Console, very simple, and I was curious to see some apps made by super advanced third, with Menus, panels and even buttons! When you click on them, they give the…
-
0
votes2
answers1539
viewsPublish Windows Form C#
I have an application developed with Windows Form C# + Entity Framework V6.1.3, where I use an existing database. The application works correctly, in Visual Studio 2013, where I am developing. My…
-
0
votes2
answers502
viewsLayers to develop web service
I am developing using REST (with Restfull API), where I think of using two layers in the system: BLL and DAL. BLL => Would be the layer referring to business rules. DAL => It would be the…
-
0
votes2
answers1937
viewsiTextSharp - Dynamic table
I am trying via C# and with iTextSharp create a pdf doc with the following structure: I have a table with 3 rows In the first I have X columns with X years. In the 2nd one Row with the Months (J, F,…
-
0
votes1
answer195
viewsGet nullable variable Serialized datetime in WCF service responses
I have a WCF service with a variable nullable Datetime in a Datacontract as shown below. Because of business rules this Datamember may not have the Emitdefaultvalue setado to true and the guy has to…
-
0
votes0
answers96
viewsWhen I change the value of a Combobox they all change
I have a database with two tables, Tab1 and Tab2. On Tab 1 I have Cd_tab1 and Nm_object. In Tab2 I have Cd_tab2, Cd_tab1. The two are related. In my project I have 4 Combobox, all must represent the…
-
0
votes2
answers5572
viewsConnect application to Postgresql?
Rstou wanting to connect a simple application made in C# to a Postgresql database, what I would like to know is if the procedure is similar to Java, in which I have to create a connection class, a…
-
0
votes3
answers1270
viewsHow to remove the first item from an array without for or foreach
How to remove the first item from an array without for or foreach. I tried this, but it says that there is no method to remove or remove. int[] arr = {1,2,3,4,5}; var removeu =…
-
0
votes1
answer741
viewsHow to use a c# net combobox filter using SQL Server?
I need to improve on a project I’m doing in MVC, with SQL and I’ve done a combobox that takes the data from the database, but I need to create a page to filter data from the database. Ex: I have a…
-
0
votes1
answer96
viewsThe Member with Identity 'Faseprojeto_fase_target' does not exist in the Metadata Collection
I’m making a very strange mistake... I don’t have a clue. This is my class: public class FaseProjeto { public int IdProjeto { get; set; } public int IdFase { get; set; } public virtual Projeto…
-
0
votes1
answer263
viewsGetting text within another text
I want to get a List(Of String) of text blocks, but there is a problem: { --isso é um bloco; echo "Aqui tem um } no meio";} and would like to get that way: --isso é um bloco; echo "Aqui tem um } no…
-
0
votes0
answers930
viewsSending files to google drive with . net
How to send a file to google drive in c#? I have an Intptr of a file, do I have to convert to bytes and upload? What would be the sending? I took a code gave m tutorial, however I did not understand…
-
0
votes1
answer241
viewsJavascript and Activex printing
I’m needing to make printing from a web application, I believe I will have to do this with Javascript and also by what I researched maybe I will have to do this with Activex. I’ve tried to use…
-
0
votes0
answers102
viewsError 403 while uploading aws S3 . net
Just Set up user permissions on S3 and everything worked perfectly! I’m building a function to upload images in the S3 service from Amazon but I’m having a 403 error, there is some additional…
-
0
votes2
answers918
viewsTurn Stream into Byte Array
Good!! I have a ZIP file stream with a size of approx. 450 Mb, and I need to convert it to an array of bytes. For this, the Memorystream (System.IO.Memorystream) is used by default, following the…
-
0
votes1
answer338
viewsChange the . NET Frameworks application
I developed a c# app using sqlite. However, when compiling and installing on another OS XP computer, I came across the following error: Createprocess failed Cod. 193 %1 is not a valid Win32…
-
0
votes2
answers46
viewsProblem with facebook share plugin
I’m having a problem with the plugin share the facebook. When you click on share, notice (1st print) that the image does not appear, now if I have already loaded it in a new tab for example, it…
-
0
votes0
answers148
viewsModularize Winforms
I have the following scenario, 1 System Containing several functionalities, these functionalities, have some that are similar (Changes according to the User Profile). Only I’m having a hard time…
-
0
votes1
answer22
viewsVB.NET Manipulating a "Birthday Drop Down"
Hey there, guys! I’m having trouble setting a date on a Dropdown from Yahoo’s website... The website link is: https://na.edit.yahoo.com/registration?.pd=&intl=br Here’s what I’m trying to do,…
-
0
votes0
answers158
viewsIs it possible to select input file[file] Webbrowser VB.NET?
I am making an application where it will be necessary to select an image. so it will be automatic, and then it will publish. it is possible somehow to select this image, or even to upload, apply in…
-
0
votes1
answer94
viewsstretch label horizontally on a panel in c#
What properties to use to stretch a label (the label in question has the text "shortcuts") in a panel? I want it to occupy horizontally the entire space of the left panel. Program example:…
-
0
votes0
answers2413
viewsC# windows appication Event: Clr20r3 on application start
I created a windows application Forms c# . net 4.5, in my development environment works perfectly, but when I put the release in the client environment, give the following error when starting:…
-
0
votes1
answer225
viewsGet all IP-related connections
Is it possible to get all ips that are connected to an IP in Visual Basic? For example, I take the IP of all players who are connected to a game server. I tried the variable…
-
0
votes2
answers958
viewsLoad a page from an html string
I am with the following doubt that, I believe that although it is beast, it is giving me a beautiful job. Next, I have a variable like string and I need to perform a method that will receive this…
-
0
votes0
answers680
viewsFirebird C# create a single connection to the database
I need to create in my application only a connection using the fbconnection that will be shared across the application. I performed this procedure as follows. I created a static class that provides…
-
0
votes2
answers228
views -
0
votes1
answer93
viewsStackoverflow in System.Windows.Forms.dll
Hello. I am developing a C# desktop application that performs a Serial Port routine (Writing, Reading, Capturing Information, Displaying this information). However, there are times when a Stack…
-
0
votes1
answer52
viewsReference error
Hello, I copied a Solution from one folder to another and started giving some reference errors, is an Asp.Net application that has a web API project. In the original folder the application is…
-
0
votes0
answers85
viewsThe underlying Connection was closed / Httpwebrequest
I use this request to get the return of a page, but my connection is rejected with this message The underlying connection was closed: A connection that was expected to be kept alive was closed by…
-
0
votes3
answers210
views -
0
votes2
answers224
viewsDropdownlist calls page load
I have a dropdownlist that takes data from the bank sql server. I carry that dropdownlist in page_load within a if(!IsPostBack){} and from what I understand of !IsPostBack, it only goes there if…
-
0
votes1
answer175
viewsData conversion error
I cannot open my user control form. private void usuáriosToolStripMenuItem_Click(object sender, EventArgs e) { Usuarios USU = new Usuarios(); sNome_usu = Status_Label_Usuario.Text;…
-
0
votes1
answer1021
viewsWhen consuming Recepcaoevent Error 215 Rejection: XML Schema Failure
I am trying to consume the event reception service on the farm, specifically inform science about an NFE: https://www.nfe.fazenda.gov.br/RecepcaoEvento/RecepcaoEvento.asmx But I got the following…
-
0
votes0
answers59
viewsData Return Excel VB.NET
I have a problem to return the excel data to a Datagridview... I am using the commands below Dim connectionStringExcel As String = "Driver={0};DriverId=790; Dbq={1};DefaultDir={2};Extended…
-
0
votes1
answer92
viewsCrystalreports version 13.0.2000 does not export
I am with a project webforms . NET 4.5, with reports using the Crystal Reports version 13.0.2000. Reports do not export, do not explode exceptions, nothing, simply the screen makes a refresh of…
-
0
votes1
answer40
viewsIf you have this character, discard the capture
How do I stop regular expression from capturing what it has \} in the text? I want you to get all the }, but I want if it’s escaped with the character to be discarded, not ignored. I’m trying that…
-
0
votes2
answers705
viewsUse Ftpwebrequest with Uri https
Srs(as), good afternoon, I am creating a service that will upload some files to an FTP link, however this is like HTTPS (https://path/path). occurs that the class Ftpwebrequest does not allow the…
-
0
votes1
answer1407
viewsLaunch a custom Exception
I have a method in my Webservice that throws an exception if the card code is already in use, that is, when trying to free the access the system checks if it is already in use and returns to…
-
0
votes2
answers342
viewsHow to extract data from an XML url for Visual Studio Labels
[![Details of the question][1][1] I want to make a search button for the ISBN code using Virtual Studio 2013, in which he would return me data from the site ISBNDB.com in XML format, which would be…
-
0
votes1
answer1097
viewsHow to call the`Onclick` event in code Behind?
How can I call the event OnClick in the code behind of a dynamically created button? I’m trying it the way down, but I’m not getting it. void MontarHtml(List<DocumentoImagens> DocImagens) {…