Questions tagged as 'c#'

1
answer

save values in mysql zerofill table with c #

1 SucursalPrimaria int(3) UNSIGNED ZEROFILL I have a table with consecutive zerofill so I can save the zeros to the left but when I capture that data in c # and I add 1 to it and I want to save the next one, I leave it in 0, t...
asked by 08.10.2018 / 07:31
1
answer

How to receive a POST request

I am connecting to an api which asks me as a final step to receive status notification through a POST, that is, the api sends me a request in POST type. I have developed a web servise in .asmx type [WebService(Namespace = " http://tempuri.org/...
asked by 29.09.2018 / 02:16
1
answer

Help with consultation in AJAX

I am using ASP.NET, C # and AJAX. What I need to do is send a number of n questions for an exam, where that amount n is a number that the administrator previously registered in a form that sends the data to a database. I already managed to g...
asked by 01.10.2018 / 19:24
2
answers

How to fix error Add-Migration connectionstring null

The message is the same despite the fact that I saw other similar questions. Later I put other images to see how the appsettings and context are. appsettings.json. { "ConnectionStrings": { "DefaultConnection": "Data Source=RACPA...
asked by 02.10.2018 / 07:56
1
answer

Search and print console data from a .txt in C #

Hello :) Well it is a simple program in which a .txt is handled, the program has the option to enter data, print them and search .... My problem is in the third part: Search, the data that is saved in the txt are: Password, Name and Position...
asked by 04.10.2018 / 07:39
1
answer

How to display the selection list of client certificates by clicking on a .NET button

Hello I have seen that there are pages that show the list of client certificates not when entering a page that requests them, but later, when the user has already entered the page and presses a button. I normally set this configuration in IIS an...
asked by 26.09.2018 / 12:31
2
answers

Send to a View the list of Customers in my database

I tell you that I'm doing a database where I register clients. And for the disabling of a client I use logical deletion, setting the property of Enabled = false to the client. Then, it occurred to me, that when I loaded my Create.html view, I...
asked by 01.11.2018 / 04:53
1
answer

Error saving file in different path to the root project C #

I have an application in C # that downloads certain files from an API using RestSharp, I do not have problems when downloading them in the root of the project, but if for example I try to download them in the path C: / ProjectName / file.txt I h...
asked by 11.09.2018 / 22:18
1
answer

Read xml file that is subdivided in two xml

I am trying to read an xml file which is divided into two parts, it is as follows: <?xml version="1.0" encoding="utf-8"?> <CPU_ConfigData xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchem...
asked by 13.09.2018 / 08:30
1
answer

Show search from textbox to listview from a stored procedure MySQl

I'm starting with databases (MySQL) with C # and I'm using ListView and DataGrid to show the table. I have a problem when I do the search by completing TextBox and clicking on the button1 button to fill the ListVie...
asked by 01.09.2018 / 22:24