Questions tagged as 'c#'

1
answer

I can not create QR code in C #

I have this code which I want to access to the QR part, in order to generate one, but at the moment of creating a record in RecordEvent when I send it to call AltaQRBoleto (1, Correo); (In spite of sending him to call twice) he does not take any...
asked by 13.05.2016 / 23:35
1
answer

How to upload multiple files to a record of a SQL server table from VB.NET and ASP.NET

Currently I have an ASP application where I make certain information records, to this record I attach a PDF file, for that I store the file in a folder within my project and save the path in my bd. My question is, in the case that I want to a...
asked by 12.09.2016 / 16:00
1
answer

TabControl DevComponents

I am working on a Windows Forms app, at the moment of selecting the tab by means of a If I want it to fulfill a condition, but I have not achieved it I have tried with this code: private void tabControlCategoriaSubCategoria_Selec...
asked by 22.05.2016 / 14:48
1
answer

Using Ninjet to do the injection

I am working on a windows forms app, in which I work with EF, ninject. With ninject injecto Interface and class. Bind(typeof(ISaProveedor)).To(typeof(SaProveedor)); My problem is not that, I am illustrating how my app works The problem c...
asked by 28.05.2016 / 13:42
2
answers

How to implement a singleton class in C # Windows Forms to store data in a list

Implement the following classes: Singleton class named AlmacenDatos with read-only properties to store the list of: Ejecutivos Use the singleton class in data manipulation. Add 2 objects through one of the properties...
asked by 14.09.2016 / 03:59
1
answer

ID Button, Jquery

I need to get a webmethod string ASP.NET C # the id of the html button. So far I have the following and it works to get the value of the textbox. <%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Test.aspx.cs" Inherit...
asked by 11.05.2016 / 16:37
1
answer

Problem rotating an array

I have the following problem, the algorithm teacher has asked us to "improve" the following code and that its operation is the same: // Método original static char[] RotateOld(char[] src, int by) { char[] output = new char[src.Length]; int...
asked by 05.05.2016 / 15:52
1
answer

Load DropDownList via ajax

I work in an ASP MVC project, I am trying to create an entity Material for which I have the following Model: public class MaterialViewModel { [Display(Name = "Número de Registro")] public int MaterialId { get; set; } [Displ...
asked by 29.04.2016 / 22:05
1
answer

Give a specific format to a date field in a gridview

I am using a gridview in ASP.NET and I am loading it with a sql statement and I activate the function of selecting the row <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AutoGenerateColumns="False" BorderColor="Black" DataSo...
asked by 30.09.2016 / 14:08
1
answer

How to get the Index of a vector in C #?

I would like to know how I get the index of my current vector through c #, I already have a structure in code but there I get the value of that index and I do not want that, but I want to obtain its index to know if it is going to perform or not...
asked by 25.09.2016 / 22:11