Questions tagged as '.net'

0
answers

Any way to prevent passwords from being visible when a memory dump is applied?

Good morning, I have an application made in .NET with C #, in a review that was done to see the vulnerability it was found that the data like the password is exposed. SecureString, core.encrypt, marshal classes have been used however the g...
asked by 27.11.2017 / 06:44
1
answer

Doubt Threads in C #

Good morning I am studying C # and I have found the need to make my program pause, until x seconds pass or until the same user generates an event. I tried to transfer my knowledge of java threads to C # but it does not work correctly. My questio...
asked by 03.11.2018 / 09:43
1
answer

VB.NET Update DataGridView from another Form

Public Class FrmMenu Private _modelUsuario As New Usuario.Usuario Private _controllerUsuario As New ControllerUsuario.ControllerUsuario Private _msjAlert As String Public Sub New() ' This call i...
asked by 20.05.2016 / 03:03
1
answer

Generate executable in c # [closed]

I was interested in knowing how an executable could be generated from another executable. Let me explain, let's imagine that I have a form where in some textboxs they are asked, what do I know, an email, subject, message etc ... But I'm no...
asked by 19.10.2018 / 05:31
1
answer

VB.net Wrong format when sending DateTimePicker

I am doing a program in .Net , to automate the loading of data in a web page (which I can not modify the code). The problem happens when I send the date to the web. As you can see in the following code, you should send the date in the format...
asked by 27.05.2016 / 18:12
1
answer

Concatenate words in hour format

I am using the following method to establish a custom day and time format in VB.NET. However, I want the day and time to be displayed as seen in Windows when you place the cursor over the time "Ex: July 25, 2017"): DateTime.Now.ToString("dd d...
asked by 25.07.2017 / 16:56
1
answer

How to know all the interfaces and methods that an object implements?

Is there any way to know at run time which Interfaces and which methods to implement an object instance at a given time without explicitly asking for them in the .NET (C #) environment?     
asked by 23.12.2016 / 09:19
4
answers

MVC View Conditions

I need my program to do the following flow control, but the else does not detect it, it's as if it was not written. Code: <table class="table"> <thead> <tr> <th&...
asked by 24.01.2018 / 12:10
1
answer

Search data in sql and display it on grid

I am trying to search for products from the database and display them in grid . The code executes the search but does not throw any value. In the database I have the following: create proc [dbo].[spbuscararticulo_venta_codigo] @textob...
asked by 07.11.2016 / 06:03
1
answer

Add a Button dynamically to a flowlayoutpanel in a specific cell in C #. (windows forms)

I have a flowlayoupanel in which buttons are added dynamically. This is done with the simple code that we all know: flowLayoutPanel1.Controls.Add(boton); However, if you set the Add method, you can not specify a cell as tabletla...
asked by 16.12.2018 / 17:38