Questions tagged as 'c#'

1
answer

Error 500 in Asp.Net Library Awesome

I found browsing this library ASP.net Awesome . I found it to be very functional and easy to use. According to the documentation for using a helper named Lookup , you must have a controller and call the helper in csht...
asked by 19.05.2014 / 01:48
2
answers

Error when querying EntityFramework

I'm having a problem with a request, in the controller when I make the query in the products table the following message appears when I debug, I click on an icon and it does not return any data, but the table has data and I put it to return all:...
asked by 13.12.2018 / 17:02
2
answers

EF with TPT inheritance and audit fields

Hello. I have already looked for answers in the TPT and Entity tags but I have not found anything similar. My problem is when trying to use an inheritance model (TPT) where tables have fields with the same name (example: DataCadastro...
asked by 17.02.2016 / 14:29
2
answers

How to clean the combobox without losing the items?

How to clean the combobox without losing the items? I try to clean the combobox in C #, but either it deletes all the options or the selected one, how do I clean without losing the items?     
asked by 27.03.2014 / 20:40
2
answers

How to upload multiple images with just 1 click?

I'm studying uploading images and files, and I can upload 1 image, and display it on the screen, but I'm interested in uploading multiple images with just one button, just like that web application link . How to upload multiple images? I'm u...
asked by 06.03.2014 / 15:41
1
answer

How to open page in google chrome using C #

I need to open a window using C # with a specific webpage in Google Chrome (Not in the default browser). A possible solution would be to run a javaScript in C #, but I'm not sure how I can open it in Chrome alone.     
asked by 08.11.2018 / 17:47
3
answers

XmlDocument Exception: hexadecimal value 0x1a, is an invalid character

I have a project that reads an XML generated by another program in which I do not have access to the source code. The problem is that the generated XML comes with a special character at the end, and when I try to read XML the exception is thro...
asked by 11.02.2014 / 11:26
2
answers

Binding in text field

In my project I have some tables between them one of occurrences and one of users, where a relationship between them of several occurrences for a user. What happens is that when registering an occurrence I have to reference the user, so that'...
asked by 03.12.2014 / 14:30
1
answer

How to apply the two complement in a hex string in C #?

I need help to convert a hex string to a hex string by applying a two-byte complement. Example: 0x00FEB5AB → 0x00014A55 My hex. 00FF17DB →? (represents a negative latitude) and 00FCFF75 →? (represents a negative length) Thank you all...
asked by 20.01.2016 / 13:06
1
answer

Secure backup using MySQL and C #

My application is C # and BD is MySQL, when I do the backup it creates a arquivo.sql . This arquivo.sql can be edited easily in a notepad, or any other editor, thus leaving my bd well summery, how can I do that nobody edits my BD...
asked by 30.01.2015 / 21:15