How do I find out the type of a typed class to compare it with an object?
This is my code:
public static Salon<T> operator +(Salon<T> salon, T per)
{
if (salon.Equals(per))
throw new NoAgregaException("El elemento es...
Since a few days ago, the event viewer of my server is showing an error in the following URL:
domain.com:443/page.aspx?_TSM_HiddenField_=scriptmanager1_HiddenField&_TSM_CombinedScripts_=;;AjaxControlToolkit
This happens with a cadence o...
I have a stored procedure to update the existence of my inventory. This is the code in SQL :
ALTER PROCEDURE [dbo].[SP_ActualizaInventario]
@cantidad INT
,@Producto INT
,@Tipo INT
AS
BEGIN
DECLARE @Existencia INT
SET @Existencia = (SE...
using System;
using System.Collections.Generic;
using System.Text;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
using System.Reflection;
namespace ExtractSource
{
class Program
{
static void Main(stri...
I'm having trouble filling out a combobox with Select2
I have my JS:
$("#comboplatos").select2({
placeholder: "Type to select a sponsor",
minimumInputLength: 3,
allowClear: true,
style: "display: inline-block",
width:...
Hi, I'm trying to use the WMPLib library, but I can not use it.
I compile my project, and it always returns the same error:
Photo:
I included the library with:
Imports WMPLib
Dim Player As WindowsMediaPlayer = New WindowsMediaPl...
I need that in this field I have the date I sent from the view of C #
I have the following line of code in the view of c #, but it does not work for me:
<td>
<label for="FechaVencimiento">Fecha Vencimiento:</label&g...
I can not find how to relate my client model with ApplicationUser, I want a one-to-one relationship. Someone knows where the error is:
public class ApplicationUser : IdentityUser
{
public virtual Cliente Cliente { get; set; }
publ...
I'm trying to consume a WebService but I have the following error:
{"Error on the remote server: (500) Internal server error."};
The address URL of WebService is the following link .
Through a Reference I cou...