Questions tagged as 'c#'

1
answer

Add a "class" to a body without postback using ajax

I am using ajax and I have a problem! when I use the ModalPopupExtender it shows what I want but I can not add a class to a tag, specifically to the "body" tag I have the following code <html xmlns="http://www.w3.org/1999/xhtml">...
asked by 18.06.2018 / 09:18
1
answer

Show an xml in a Datagridview

I'm trying to open XML in a datagridview, what I have is this, I open xml expensive and longer but one created by me does not open it and says "Object reference not established as an instance of an object" private void button1_Clic...
asked by 15.06.2018 / 16:39
1
answer

fill ComboBox with enum c # in MVC

I am using MVC with C #, I have a problem as I can fill a ComboBox with @ Html.DropDownList () using an enumeration from my controller, knowing that in my ComboBox it should be placed as value (number in the enumeration) and the text (name of...
asked by 14.06.2018 / 22:37
1
answer

Why do you create a cookie with name ASP.NET_SessionId?

I have a project in ASP.NET MVC 5 in which when reviewing the cookies of my application there is one that is called ASP.NET_SessionId , which does not stop what it is and why it is created. Does anyone know anything about this...
asked by 13.06.2018 / 22:02
0
answers

When authenticating Office365 credentials redirect to https://www.office.com/?auth=2

Good evening, join us. When authenticating Office365 credentials redirect (the authentication has already been resolved) to link but with the credentials that They were authenticated previously. If anyone knows any way I will be very gra...
asked by 13.06.2018 / 20:09
0
answers

Problem with Cookies C #

I have a problem and everything points to that is my way of working with cookies: It happens that I have an application in MVC C # which works very well, before I used to work with sessions of c # but change to cookies and the problem is that...
asked by 24.06.2018 / 07:02
0
answers

C # Problem when running PowerShell Scripts in a loop

I am running a series of PS scripts using a foreach loop (which pulls a .txt in which are the paths of the scripts), the problem is that all are executed at once and consequently the progress bar does not advance as the execution of the script (...
asked by 24.06.2018 / 16:05
0
answers

How to call the main of another project from WPF?

What happens is that I have a project in C # console, what I want is from another WPF project call the main console project.     
asked by 15.06.2018 / 02:57
2
answers

Error in enum c # when placing arithmetic sign

I am filling a ComboBox through an enum in MVC c #, in that combo are filled as options of the arithmetic operators combo, but I only require the symbol (+, -, *, /), when I only place the sign generates me an error I have already place...
asked by 18.06.2018 / 17:55
0
answers

Trigger in sqlserver 2012 to update Master with detail information

I want to raise the following problem. For reasons of agility, initially it is migrated to a table with name MtoRequerimiento 400 records with information to be able to perform the initial tasks with the following structure. TABLE...
asked by 14.06.2018 / 17:47