Questions tagged as 'c#'

1
answer

Error trying to select field in my table gridview webform c #

The code for my gridview is this: <asp:GridView ID="ListaArticulos" CssClass="table table-bordered table-hover" autogeneratecolumns="false" runat="server" OnRowCommand="ListaArticulos_RowCommand"> <Columns> <asp:But...
asked by 24.02.2017 / 19:43
1
answer

Add form in a section by means of a button in C # sections ... section ...

Good day everyone, I have a form that is divided into. I would like to know, how to press a button that is in another (), I add the form to my other (), I hope and I explained correctly. <asp:Content ID="Content2" ContentPlaceHolderID="C...
asked by 24.02.2017 / 18:43
0
answers

Parallel.ForEach AgregateException - Sometimes I have problems using foreach in parallel

Sometimes I have problems using the foreach in parallel (I have a for within the foreach that adds values to a list), when the number of iterations per thread is large I get that exception. Sometimes it is slower than the...
asked by 10.09.2016 / 00:53
1
answer

Table-valued function

I need to create user-defined functions with table values, can I create from EF? Or do I only believe it by transaction sql and then represent it in the model? How would you work with EF in this case? Note: I am working with EF approach code...
asked by 12.05.2016 / 14:25
0
answers

How to resolve System.TypeInitializationException?

I have a static class namespace Metropolitano { public static class Rutas { public static SAlimentadora AlimentadoraSur = new SAlimentadora(); private static BAlimentador Cedros02 = new BAlimentador(); private static BAlimentador V...
asked by 20.10.2016 / 17:16
0
answers

Problems running Web Service tasks in SSIS

I have a project that consumes a web service. As a mandatory parameter it asks for an ApiKey and that I execute it from a Script Tasks in SSIS. Execution is done without problems. When I come to call one of the web services, I have created a...
asked by 14.03.2016 / 16:25
1
answer

Run FindVisualChildren several times in WPF

I have a text file that contains 10 words, only one of them per line. My intention is to call each line, visualize the word in Textbox and extract each letter of the word and mix it with random letters, the idea is that the user looks at...
asked by 26.03.2016 / 04:25
1
answer

From a list C # to: Json in jquery

I try to convert a list in c # ASP.NET to a Json through a Webmethod. I have a pie chart that thanks to a slide track bar the content could be modified. For this I need to send this data through a webmethod. It all starts when the user sli...
asked by 21.07.2016 / 15:26
1
answer

Series name dxchart devextreme

Currently working with ASP.NET and devextreme component. My question is: How can I name my "series" of the graph from the C # code? Devextreme shows how to do it from the client side but not from the server side. My project example is very si...
asked by 05.04.2016 / 14:09
1
answer

Entity Framework approach code firts

I want to use EF the Code Firts environment, I see on the web that there are two ways a simple one that only creates the DbSet runs and the database is created. public class CompanyContext : DbContext { public CompanyContext() : base("Comp...
asked by 31.03.2016 / 01:32