Questions tagged as 'c#'

1
answer

Linq Query dynamics between two contexts

I'm trying to return the following sql query but to no avail. SQL= select IDEstado, COUNT(IDEstado) from PessoaEstado w join Nucleo.dbo.Estado e on e.ID = w.IDEstado where IDPessoaMaster = 46 group by IDEstado Code= var dbApp = new App(); v...
asked by 16.05.2014 / 22:28
1
answer

Error "max res 25, skipping mipmap-anydpi-v26" - Xamarin Forms

I'm having the following error when running my app in Visual Studio 2017: max res 25, skipping mipmap-anydpi-v26 I researched here on the internet and found nothing that could help me solve it. Does anyone know a solution or what does it...
asked by 18.05.2018 / 23:04
1
answer

How to get enum string in an ASP.MVC grid

I have the following enum: public enum RegiaoEnum { CENTRO = 1, NORTE = 2, SUL = 3, SUDESTE = 4, CENTROOESTE = 5 } And the following View: @using MeuDominio.Enums; <div class="animate"> <table ng-table="vm....
asked by 08.06.2018 / 15:24
1
answer

Error trying to update data in Asp.Net application MVC - db.Entry (ladA) .State = EntityState.Modified

I'm having problems at the time of editing, more specifically in the line below, db.Entry (ladA) .State = EntityState.Modified; db.SaveChanges (); The update that precedes the above lines usually occurs, where I indicate below....
asked by 10.06.2018 / 01:10
1
answer

"Dynamic" data type is not of the same type as the native

I'm trying to create a struct that has one of its attributes having its dynamic or varied data type, I need (when running the struct constructor) to define its data type, and it should be the same as the native one because when I I'm trying to d...
asked by 20.06.2018 / 20:46
2
answers

How to separate records into blocks for parallel processing?

I have a table in SQL Server that makes the control of messages to be sent and a routine in C# , configured in a Cron, that selects the pending messages, sends and marks as sent. What I'm implementing is the ability to configure...
asked by 20.04.2018 / 21:18
1
answer

javascript error with WebBrowser

I'm creating an application with WebBrowser component in C # but when I run the following code it returns me a JavaScript error and does not run my other application that was developed in Adobe Flex: private void chamaPagina(string tipo) {...
asked by 04.08.2014 / 14:48
1
answer

How to leave my GridView in the middle of the screen?

How to leave my GridView c # in the middle of the screen? I've tried putting it in a div and alrib = aling center = but it did not work out. Does anyone have a suggestion? <asp:GridView ID="GridView1" runat="server" CellPadding="4"...
asked by 26.09.2014 / 00:08
1
answer

Return in the view more than one data list

In my return view (), how can I return two or more lists? These lists are the results of a linq query.     
asked by 18.09.2014 / 19:52
0
answers

How to get a TextBox from an Accordion that was generated dynamically?

Follow the code for how I create Accordion private void CarregaAccordionCarros() { //DataTable da Consulta var dtTable = GetDataCarro(); AjaxControlToolkit.Accordi...
asked by 25.11.2014 / 12:04