Questions tagged as 'c#'

2
answers

Pass boolean value between custom forms - Windows Form

I am developing a Windows Form type solution that contains two forms: Form frm_open_window : Fields: (1) Button "Open": Open the form called frm_nueva_ventana . When this button is pressed, it must be locked. Example: Abrir.E...
asked by 19.08.2016 / 01:03
3
answers

@ Styles.Render does not work on server

Dear friends of Stackoverflow, I have the following problem: I am developing an ASP.NET MVC 4 application, which I have uploaded to a Azure server. The issue is that when I'm working locally, I compile and run the application on the lo...
asked by 18.03.2017 / 19:34
2
answers

Hide or close an MDI Children form

Hi, I have an MDI form (frmPrincipal) where I open an MDI Children form (frmListerateClients). Within this mdi children when closing the form I launch a form (frmOpciones) that allows you to make a couple of quick procedures that you can eith...
asked by 04.07.2017 / 09:58
2
answers

Hablitar and dehablilitar all the TextBox of a page

I have a page aspx where I have more than 200 TextBox , it's like a Form, then you have two options when you enter the page one of only "Show" and the other is "Edit", the options are enabled with two CheckBox : protected vo...
asked by 31.01.2017 / 18:56
3
answers

Question: Create SQL statements from a flat txt (C #)

Good afternoon, I am trying to create a small program to convert plain text (.txt) into another document with SQL statements (insert), usually I usually deal with other functionalities or projects and it has caught me with a little low guard, Do...
asked by 04.10.2016 / 16:07
2
answers

Know the type of object and its properties from Listobject

I have a method that receives a list of objects: private void escribe(List<object> lista) that a priori I do not know what class they are and I want to know at the time of execution the properties of each of the objects within the lis...
asked by 03.08.2017 / 11:46
2
answers

What is the correct way to initialize a property in MVVM

I have a question, is it correct to initialize a property full in ViewModel as follows? public class MainViewModel : ViewModelBase { private ObservableCollection<Driver> _drivers = new ObservableCollection<Driver>...
asked by 03.02.2016 / 21:06
1
answer

Using Ajax.BeginForm MVC 4 aspx c #

I'm a novice with MVC 4 My question is; How can I send all the information that the user captured in HTML to a function of my controller ?. That this function inserts my data sql server with Ajax.BeginForm there are n...
asked by 01.07.2016 / 18:25
1
answer

JsonConvert.DeserializeObject returns some values in NULL

I'm working with a file in JSON that comes with a specific structure, which at the time of doing the deserialization process returns some of the values in null. The source file that I am processing is the following: { "t":"i", "v": [ {...
asked by 22.08.2018 / 19:10
1
answer

Script in object c #

Good I am doing a POST request in C # and I receive the following answer: "resp": { "clave": "50623081800310267146900100001010000000135127983503", "fecha": "2018-08-31T18:05:54-06:00", "ind-estado": "aceptado",...
asked by 01.09.2018 / 04:09