Questions tagged as 'c#'

1
answer

Problem with tableView: can not convert the type 'System.Data.DataTable' to 'AppKit.INSTableViewDataSource

When I try to show the data in my database in tableView I get that error and if I convert it in NSTableViewDataSource I get a System.ExceptionCatch . It's the first time this error has happened to me. If someone knows how to fix it...
asked by 25.04.2018 / 12:49
1
answer

Problems with my datetimepicker time

I'm creating a calendar and I do not want to allow you to select past dates, in the js I'm placing the following: <script> $('.datepicker-default').datetimepicker({ language:'es', daysOfWeekDisabled: [0, 6], todayHig...
asked by 23.04.2018 / 21:09
1
answer

Update partial fields with Entity Framework

I am managing a project with MVC and EF 6.2 , in my model I have an entity that has four fields: public class Entidad { public string campo1 {get; set;} public string campo2 {get; set;} public string campo3 {get; set;} pub...
asked by 07.05.2018 / 02:11
1
answer

How to autocomplete label according to a data in textbox?

What I need is that when a user types a code in a textbox, "appears" the name related to that code in a label. In the click event of my save button try with this code but do not do it, until the entire saving process finishes. And what I need...
asked by 09.05.2018 / 06:31
0
answers

Custom FlowLayoutPanel: Get inside elements posotion and / or Rectangle

I have created a customized user control from the FlowLayoutPanel control that contains customized Panels inside, added dynamically. I want to get the position of the controls within this FlowLayoutPanel to complete the isPointOverPanel method....
asked by 15.03.2018 / 22:52
1
answer

Convert several tables to json from a query in sql

Well I have not been able to achieve the conversion that I need and it seems to me that on this side I could work. Having already generated these classes with link public class ProductoConsultaJ { [JsonProperty("text")] public string...
asked by 14.03.2018 / 02:37
1
answer

Read Part of the XML and some children with LINQ repeats

good afternoon, I have the following XML <Detalle> <Item> <NroLinDet>1</NroLinDet> <CodItem> <TpoCod>2</TpoC...
asked by 12.12.2018 / 15:15
1
answer

Event for input type color

I have a color button in a text editor to change the font color but I could not execute the event, I attach the code: <input id="Color_Letra" runat="server" name="color" type="color" value="#000000" onchange="Pintar"/> This...
asked by 18.03.2018 / 01:26
1
answer

Can a path whose name contains blank spaces be formatted in CMD?

The problem is that I need to execute a command in CMD, but since the paths of the files I search in Windows contain blank spaces, it requires me to use double quotes ("") to separate the paths. When I call it from C # I try to "escape" the p...
asked by 22.03.2018 / 02:01
1
answer

C # InteropServices and Visual Basic 6.0 error reference error

I made a dll in C # for use with Visual Basic 6. When I create the reference in vb6 VB6 I get the following error:    Error 91: Object variable or With block variable not set I have tried it in several ways but it always gives me the same...
asked by 03.02.2018 / 18:34