Questions tagged as 'c#'

1
answer

Data Regex Validation

Good Morning ... I'd like to know how I can validate a date! Where the Final Date can not be less than the Start Date (dataFinal ) with regex!     
asked by 02.09.2015 / 15:50
0
answers

Encoding characters return Json C #

I created a DLL in C # with some HTTP methods (POST, GET, DELETE ...) in order to return a JSON to the calling language (in the case of GET). Today I use this DLL for applications created in Delphi7. When I query the API, I'm having troubl...
asked by 18.12.2018 / 17:24
0
answers

Use a variable in the directory

I'm trying to use a variable to save a file to the same directory where it is, but to no avail. I think I will have to use "Environment.ExpandEnvironmentVariables" but I do not know its application. Can you help me? using (...
asked by 18.12.2018 / 16:42
0
answers

Problems with websocket

Hello, I'm having some problems with the WebSocket connection from my game, could anyone tell me any solution? What happens: A user is usually in the game, when his connection oscillates even for 1 second (ping does not respond) the connectio...
asked by 15.12.2018 / 01:01
0
answers

C # Check if there is File then [closed]

Good afternoon, I have a code that cleans notepad, writes to another notepad and inserts into the database, but now I need it to check if there is another file with the same name and if it is recent, do the update, but I do not know how I can do...
asked by 04.01.2019 / 18:03
1
answer

Filter LonglistSelector [CATEGORIES]

Hello, I have a webservice that returns me a list of "categories" with their sub-categories. I need help to "filter" this, for example: Category 1 has subcategories 1 and 2; Category 2 has subcategory 3; Category 3 has subcategories...
asked by 25.02.2015 / 20:51
1
answer

I can not assign javascript function only when attachment exists

I have this code: <strong><a <%# Eval("DsPathDocumento") != null && !String.IsNullOrEmpty(Eval("DsPathDocumento").ToString()) ? String.Concat("href='/UpLoads/", Eval("DsPathDocumento"), "'") : "style='cursor: default; color...
asked by 07.01.2015 / 19:21
1
answer

summation query

I'm having a kind of problem with this Query, but what I want to happen is for all values like: Goals Scored , Assists Made , Key passes etc, only once. SELECT s.[Statistics ID], s.[Player ID], s.[Game ID], s.[Season ID],...
asked by 19.01.2015 / 18:55
2
answers

Save photo to the database and then display it

I have an application to register students where the photo will be inserted, I want to save it and then display it, however I have a save button where I want to save all the information inserted plus the photo as shown below: SqlConnection con...
asked by 09.11.2018 / 00:51
1
answer

Temporary table MySql

How to assign an update to a temporary table in my case I do an update at the beginning, create a temporary table and then a trigger in this trigger I try to assign the values changed by the update temporary table and soon in then I make a select...
asked by 02.04.2014 / 23:00