Questions tagged as 'c#'

1
answer

Related conditions

I bring data from my database, what I want to do is bring all this data to my html, the problem is that for those who have "1" in the field level a tag is created li , that's what I do with this piece of code: HtmlGenericControl li = new...
asked by 29.10.2018 / 16:55
1
answer

How to load certain tables of a DataGrid - MVVM - UWP?

I just want to create a Datagrid to load a query from the database, using this example link but I do not understand exactly how I charge the list. But I found this code <controls: DataGrid x:Name = "DataGrid" ItemsSource = "{Binding Pl...
asked by 01.11.2018 / 14:30
0
answers

logueo form with composite control

I have this logueo form created with composite control but it throws an input string error, what would that error be? private void btnIniciarSesion_Click(object sender, EventArgs e) { try {...
asked by 27.10.2018 / 17:38
0
answers

Problem of C # and .Net including a Combobox in a datagridview

I have a datagridview in my project, and I have included a Combobox inside this one. The situation is that I have a sequential entry file, with information related to clients, and I want to extract information from it, such as the name, the oper...
asked by 26.10.2018 / 09:02
0
answers

Can not add or update to child row: a foreign key constraint fails MYSQL WITH C #

I am in this problem I was searching and so according to the error is that I do not have data in my table1 -> appointments to place it in my table 2 - > I already made sure that the dating is the correct one Open();...
asked by 01.11.2018 / 21:44
0
answers

How to fill fields in a form from an ASP MVC search [on hold]

I am making a modification to my development in asp mvc 5, previously I had to register a user manually enter the data User, Name, Surname etc .. and saved them in the BD, now they asked me to integrate the Active directory to search the user, I...
asked by 01.11.2018 / 19:18
1
answer

How to traverse the records of a dataset in C # WPF?

I am creating an application, and in one of the windows to see the records that are in the database, when I click on the navigation buttons I get an error The error it throws is:    'Object reference not set as an instance of an object.'...
asked by 26.10.2018 / 07:35
2
answers

The OnClick event does not appear!

You see, create a script in Unity to get out of the game, but, I had to add it to the OnClick event and when I looked for it I did not find it, does anyone know if something should be activated or add a script? Could you leave it here? I leave y...
asked by 26.10.2018 / 20:00
0
answers

A record in SQL is inserted twice from ASP.NET C #

** <button runat="server" id="cmdSavep" class="btn btn-success" onserverclick="savepago">Guardar</button>              SqlConnection conn = new SqlConnection(); SqlCommand...
asked by 30.10.2018 / 17:33
0
answers

I can not change the font color of a textbox that is inside a flowLayoutPanel

I do not know where the error is but I do not change the text color when I run the program. The textbox is created at runtime. for (int i = 0; i < listaMIX.Length; i++) { TextBox _textbox = new TextBox();...
asked by 30.10.2018 / 11:47