Posts by Joao Torres Moreira • 55 points
11 posts
-
1
votes1
answer587
viewsQ: Opening PDF in new tab using ASP.NET
I am testing the code below, but there is no action when I click button to open a PDF in new tab. You’re missing something below? Test.aspx Clique <asp:LinkButton OnClick="linkPDF_click"…
-
0
votes0
answers45
viewsQ: C# - Reading Excel
I was able to read an excel file, but when showing console the information does not leave spaces, how can I give space in the middle? kkkk using System; using System.Collections.Generic; using…
-
0
votes1
answer24
viewsQ: Error deleting - 1.9 Application Termination: Operation Delete
I am not able to remove an ID when I click... Error message appears: System.Invalidoperationexception: ː Sequence contains no Elements' Follow my code below: Institucaocontroller: using…
-
0
votes2
answers121
viewsA: UPDATE SQL in C# (Windows Forms)
I did Cultureinfo class that converts the time of PT and EN... In this case I converted from English to Portuguese. public void AlteraData(DataTable newData) { CultureInfo cultura = new…
-
0
votes1
answer37
viewsA: VB.NET - Automatic textchanged
REPLY: Includes code for dptAtual_ValueChanged event: Private Sub dtpAtual_ValueChanged(sender As System.Object, e As System.EventArgs) Handles dtpAtual.ValueChanged Dim dtEscolha As DateTime…
-
-1
votes2
answers121
viewsQ: UPDATE SQL in C# (Windows Forms)
I am trying to format a standard date as there are dates with different formats as print below. MM/dd/yyyy | dd/MM/yyyy | dd/MM/yyyy hh:MM:ss I intend to change these dates to default as dd/MM/yyyy…
-
1
votes0
answers206
viewsQ: How to consult select with two different formats dates in VB.NET?
Talk, you guys! I have dates with two types of different formats in the database, example: MM/dd/yyyy dd/MM/yyyy HH:mm:ss But when doing the query in VB.NET, I did so and it doesn’t work. Public…
-
1
votes1
answer37
viewsQ: VB.NET - Automatic textchanged
Come on, you guys! I am trying to realize automatic date. For example, if I choose the year of the field "Up", in the year 2018. The "From" field automatically calculates for year 2013. As print…
-
0
votes1
answer184
viewsQ: Edit/Update - ASP.NET MVC
Good afternoon! I’m trying to edit from "João Torres" to "João Torres Moreira", but appears the error message below. Repository update, insert, or delete instruction affected an unexpected number of…
asp.net-mvcasked Joao Torres Moreira 55 -
1
votes1
answer440
viewsQ: Validation Message - ASP.NET MVC
Hello, I’m trying to get the message "validation" in ASP.NET in my project 'Cademeumedico' by the Web Development booklet with ASP.NET... However, it is not appearing as it should appear below. Mine…
-
0
votes1
answer271
viewsQ: System.Collections.Generic.Ienumerable
Help, guys! I’ve tried to do everything, already includes "using System.Linq"and nothing. Anyone knows? Medicoscontroller using System; using System.Collections.Generic; using System.Linq; using…