Questions tagged as 'webforms'

1
answer

Convert complex JSON to DataTable

Description: I am developing a web solution in c # asp.net so that, from the front, put together an object JSON complex so that, when received in the back, save the values in a SQL Server 2012 database. The JSON comple...
asked by 27.04.2017 / 18:50
1
answer

I can not pass an Object by AJAX to a Visual Basic Function

I have a big problem with Ajax MVC and Visual Basic: When I create an object in javascript to do a POST in Controller everything is fine by when I receive the Object in the ActionResult, all the attributes are Nulls. Can someone help me?...
asked by 16.03.2018 / 19:47
1
answer

Why does not String.Format work in a subtraction of textbox?

I have been trying to put thousands points in the heritage textbox for hours, which comes from a subtraction between less passive assets, but when it is subtracted when it is subtracted and it stops calculating, why does this happen? protected...
asked by 24.04.2018 / 15:14
3
answers

Change Textbox BackGround from Javascript

Any way to change the background color of a asp:Textbox with the event OnClientClick of a asp:Button from JavaScript unused: document.getElementById("un_textbox").style.background = '#f88067'; The button is defin...
asked by 27.07.2017 / 16:31
1
answer

Passing parameters to a URL through POST

Please help me with the following: in a web form that I have posted to the internet, I am asked to pass 3 parameters to a web form through POST, I never did GET or POST in asp.net web form and I am lost of how that is done, then in summary what...
asked by 12.09.2016 / 18:08
1
answer

Get connection string SqlServer 2008 WITHOUT Visual Studio

I have a VPS with Windows Server 2012 and with SqlServer already installed. And I developed a Website with a BDD connection on my local PC. The connection string that I use, I generated it with Visual Studio when connecting a table from the same...
asked by 18.12.2017 / 12:37
2
answers

Does the value of a textbox pass from one webform to another? ASP .NET C #

I have a webform1 in which I have a textbox sem.Text. Here is the code to pass that value to a second webform private string semana_x; public string semana { get { return semana_x;...
asked by 09.03.2018 / 19:50
1
answer

Compare two input fields c # CompareValidator

I have a form that contains two fields input , one for the email and another to re-enter the mail and validate that they are the same, for this last I use the CompareValidator but it does not show me the error when switching focus to the s...
asked by 12.03.2018 / 23:41
1
answer

How to paint a date that comes from a Sql table in a calendar in C #?

I have a calendar, in which I am coloring the rest days in Orange, based on the start date of the employee's day and the type of day. What I want to do now, is to bring a date ( FechaSalida ) from my database, this date tells me if I work...
asked by 31.05.2017 / 22:44
1
answer

NgForm problem when inserting an input of type date, the entire form is deformed

Hello, I have the following form: <form #formulario="ngForm" action="" (ngSubmit)="insertarEmpleado()" ngForm> <div class="example-container"> <mat-form-field hintLabel=""> <input matInput #input maxle...
asked by 03.12.2018 / 12:42