Posts by DP WS Receptivo • 77 points
12 posts
-
1
votes1
answer38
viewsA: Multiple Updates using One Query Data (SELECT)
To help those in need: Public Sub ConsultaFimFerias() TextBox1.Text = Date.Now.ToShortDateString Dim sqlCmd As String = "SELECT Id FROM tb_ferias WHERE Data2 < '" & TextBox1.Text & "' AND…
vb.netanswered DP WS Receptivo 77 -
1
votes1
answer38
viewsQ: Multiple Updates using One Query Data (SELECT)
I have this code to make a SELECT that returns multiple records or lines: Public Sub ConsultaFimFerias() Dim sqlCmd As String = "SELECT Id FROM tb_ferias WHERE Data2 < '24/03/2020' " con = New…
vb.netasked DP WS Receptivo 77 -
0
votes1
answer18
viewsA: Coloring Gridview line
I managed to solve. I’ll leave the code in case someone needs to color lines from Gridview using as condition dates: Private Sub ListaVeiculos_CellFormatting(sender As Object, e As…
vb.netanswered DP WS Receptivo 77 -
-1
votes1
answer18
viewsQ: Coloring Gridview line
This is my code: Private Sub ListaVeiculos_CellFormatting(sender As Object, e As DataGridViewCellFormattingEventArgs) Handles ListaVeiculos.CellFormatting For i As Integer = 0 To…
vb.netasked DP WS Receptivo 77 -
1
votes1
answer52
viewsQ: iText - How to Use "For Each" in VB.NET
I’m trying to use the "For Each" to generate multiple PDF’s, such as a Word Direct Mail. My idea is to select several names from Listbox and generate Pdfs with selected items. My code is like this:…
-
-3
votes1
answer284
viewsQ: Alternative to recover ASP NET MVC password
By default the passwords are recovered by sending email. I will be responsible for viewing passwords and delivering them to users if they forget. I cannot use emails to reset because users identify…
asp.net-mvcasked DP WS Receptivo 77 -
2
votes1
answer179
viewsQ: Automatic filling of Textbox
I have the table AspNetUser in my database that I use to identify and authorize logins. To login to my page, the user always needs to type the [email protected]. It is possible to program the TextBox…
asp.net-mvcasked DP WS Receptivo 77 -
1
votes0
answers23
viewsQ: Pass parameters to PDF
Hello Developers! This is my Controller public ActionResult PrintList() { return View(); } public ActionResult PdfJardimAtl() { var estrangeiros = db.Tb_estrangeiros_pe.Where(s =>…
asp.net-mvcasked DP WS Receptivo 77 -
1
votes1
answer48
viewsQ: Problem with Modal Bootstrap
Hello! My problem is this: This is the button that calls the Modal Bootstrap: <button class="btn btn-default details" data-id="@item.nome"><i class="fas…
asp.net-mvcasked DP WS Receptivo 77 -
0
votes0
answers236
viewsQ: Passing parameters between Views and Listing values
Greetings, I have a View Index passing values from column "id" to another View Index, as code below: <a data-bind="attr: {href: url()}" target="_blank"…
asp.net-mvcasked DP WS Receptivo 77 -
1
votes1
answer235
viewsA: ASP.NET MVC - Passing data between Views
I figured it out, if anyone wants a hint: It was like this: // GET: tb_visitas/Create public ActionResult Create() { ViewBag.id_broc = new SelectList(db.tb_brochuras, "id_broc", "descricao");…
-
0
votes1
answer235
viewsQ: ASP.NET MVC - Passing data between Views
I have two tables: Tb_1 and Tb_2; both have a column id and are related to each other in a Microsoft SQL database. For example: I selected the record paragraph 2 in Tb_1. When triggering the command…