Questions tagged as 'c#'

1
answer

Problem with collisions of a softbody in unity

I am developing a game where collisions with other objects are very important. I downloaded a prefab from a softbody (like a jelly cube) that has perfect collisions with the ground, a plane, but when moving it against other objects (like walls,...
asked by 23.03.2018 / 13:16
1
answer

Save date in MySQL in c #

I'm doing an ABC project in Windows Forms through visual studio, and after several forms I need to save the date, however, at the time of saving the connection is not successful (the connection works well with other forms that do not require the...
asked by 11.03.2018 / 02:58
1
answer

how to prevent my bootstrap modal from closing with the keyboard and only with the bonton accept from the same modal? [duplicate]

Hi, I have created a boostrap modal and I have removed the × and of course it does not have a cancel button, only one accept that it directs me to another page. Well, what I need is that my modal is not closed with the ESC key or clicking o...
asked by 06.03.2018 / 16:19
0
answers

how to consume a web service based Basic Security Profile 1.0 from visual studio 2010

I have a web service based on Basic Security Profile 1.0 and I do not know how to consume it. When I add by service reference nothing comes out in the link.     
asked by 08.03.2018 / 22:53
0
answers

How to subtract records from the same field in Report Viewer?

The following report, brings the following query: In the report, how can I subtract the amount? When I try to put a TextBox and put it in this way it gives error: = (Fields! MONTO.Value - Fields! MONTO.Value, "dsEstadisticos")    ...
asked by 08.03.2018 / 14:35
1
answer

QUERY: Error making the Update-Database due to problems with foreign keys

Good day, afternoon or evening, I'm doing a small test project by taking an inventory. I'm working on C # ASP.Net Core 2.0 I have the following classes: Inventory customers Suppliers Sales Products I did the Update-Database and everything wen...
asked by 07.03.2018 / 15:37
1
answer

C # (Fill Modal Bootstrap with Ajax function)

public IActionResult GetAssetsTree(AssetDataModel Parent_ID, AuditIdRow row,string workspaceId){ _assetService.CollectionName = workspaceId; _assetService.ParentId = workspaceId; return(Json(CreateTree(null,null))); } CreateTree...
asked by 05.03.2018 / 13:02
0
answers

Error permissions when moving directory

I have tried to solve this error for some time but I can not find the solution. Code public static void PermDirectory(string perms) { var directory = new DirectoryInfo(perms){ Attributes = FileAttributes.Normal }; foreach (var in...
asked by 05.03.2018 / 15:02
1
answer

JQuery Globalizations incorrectly returns decimals

good morning people. I am here to annoy you, because I have been fighting this issue for several days and I can not solve it. I tell you ... I am trying to convert certain numbers entered in decimals with the format corresponding to my cou...
asked by 05.03.2018 / 12:46
3
answers

Incorrect date format when using DatePicker

I have a DateTime field with its BootstrapDatePicker like the following: <div class='input-group date' id='datetimepicker1'> @Html.TextBoxFor(m => m.DatePicker, new { @class = "form-control" }) @Html.ValidationMessageF...
asked by 07.03.2018 / 01:01