Questions tagged as 'c#'

0
answers

I do not load the text of the OnFileActive in the RichEditBox when reading it C # UWP

I am using the OnFileActive for when I open a file with the "Open With and I choose my program" because it opens and its text is loaded in the RichEditBox and its path appears in the title of the Notepad-style app, then everything goes well sinc...
asked by 22.03.2018 / 18:11
1
answer

Submit an Object to a WCF Service

I would like to know if there is any way to send an object to a WCF service the program you send is in WindowsForm c # who receives this in asp.net c # OleDbConnection connection = MSAConnection.getConnection();...
asked by 20.03.2018 / 14:34
1
answer

How to send file or image by ajax and receive it in webservice asp.net

Good I am new in this of the programming and I have been looking for information by Internet already two days and I do not find the solution, would like that they help me with this code, since I am trying to send an image via ajax to asp.net ser...
asked by 22.03.2018 / 17:20
0
answers

C #: Date format error in wGrilla.GetHtml

I have an error in the following line of code: Model.wGrilla.Column(format: (item) => Html.Raw(item.BIRTHDATE.ToString("dd/MM/yyyy")), header: "FECHA") The error message you show me is this:    The best overloaded method match for  ...
asked by 22.03.2018 / 21:28
0
answers

Impersonalization using BethesdaConsentFormWCFSvc against WindowsServer 2012

My scenario is as follows: I have a virtual machine with Windows Server 2012, I have created a Folder c: \ User1 to which only the administrator has access and User1 / us1.- This machine is in the IP 192.168.0.137 If from my computer I use...
asked by 21.03.2018 / 12:21
1
answer

Javascript does not calculate when working with @using (Html.BeginForm ("", "", FormMethod.Post))

I have a view in which within it I add HTML and Javascript to do mathematical calculations, until then everything works fine, the problem arises from the fact that I use the @using (html.beginform ...) ... then this Javascript stops working, wha...
asked by 29.03.2018 / 07:35
1
answer

Problem loading a table with SQL data in c #

I'm creating a web page and I want to show a table with saved data from that same table on a SQL server. For now I have this: public partial class historyTable : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e)...
asked by 19.03.2018 / 21:04
1
answer

As you can tell, the elements that have a vector A and that does not have a vector B and vice versa

I have two vectors and would like to print the elements that do not have a vector A but not those that are repeated in the Vector B . This I have so far static void interseccion_A_entre_B(int[] vectora, int[] vectorb) { for(i...
asked by 16.03.2018 / 20:14
1
answer

Print document saved on server

I am creating a web page where users can upload files ( exel or word ) and save them in a SQL server and then others can see those files and have the possibility to print them. The truth is that I am having problems to create a method that allow...
asked by 18.03.2018 / 15:32
3
answers

save in the database with ajax?

Hello developers, I am trying to save data in my database using ajax, but at the moment of running my app it seems to omit the portion of the code that would allow me to save the data, this is the code I am using. <script> $(".clMotivo")...
asked by 04.04.2018 / 01:06