1. Bozuyla

    Yandex mail problem

    Hi guys I have used a Yandex mail account in my project to send mail. I have taken an error for 10 days. The error message is "554 Error: send AUTH command first. 17082980431EZcQL1n9Gk0TJtvpGYN". Why do I take this message although I didn't make any changes in my code? Thanks...
  2. Mohamadshirzad

    Error while sending request

    Hi, I have a code which in windows 10 works properly but in windows 7 ,I recieve the error : An error occurred while sending the request. System.Net.WebException: The request was aborted: Could not create SSL/TLS secure channel. at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult...
  3. A

    checkbox not send correct value true or false when click approve button it only working for first time?

    I work on asp.net MVC application I face issue check box yes or no send false value yes or no when click approve button I have two check box one represent true and second false as user requested and i don't it to be radio button because bossiness user request it . Yes represent true No...
  4. fokwabest

    How to customize the default error message "The value '' is invalid" for dynamically generated form

    I am new to asp.net core. I have a form which is generated dynamically. I want the validation error message to be "The value must be numeric" instead I get "The value 'a' is invalid" when I submit the form. Here is my View Model: [RegularExpression("^[0-9]*$", ErrorMessage = "The value must...
  5. R

    Chart - How to set column spacing

    Hi there. I have this code to my chart, using C# WinForms: chart1.Series[0].IsVisibleInLegend = false; chart1.Series[0].ChartType = SeriesChartType.Line; chart1.Series[0].Points.DataBindXY(Enumerable.Range(0, 5000).ToArray(), array1); The result is below: I'd like to set the X legend to...
  6. S

    SQLite Insert Into

    I keep getting "Insufficient parameters supplied to the command" exception when running the code below. I have tried several versions of code with the same result. Searching on line has given me hundreds of examples of this exception, but they have all been simply typos or they used another of...
  7. ahmedaziz

    Question after click on submit button URL change How to keep it as it is without changes?

    I work on an ASP.NET MVC razor page. I face issue Url change from Resignation/RequesterIndex?filenumber=103085 to Resignation/Create after click submit button. I need URL as it was before, without change after click submit button. How to do that please? What is issue on my code that make...
  8. T

    Resolved count DataGridView numbers that match Array

    I have a text file that is generated daily and can contain several lines with 15 numbers drawn from 01 to 25 in each line, the text can have one line or several lines, it changes every day. I need to compare with an array 'Result' and count how many numbers in each line are equal to the numbers...
  9. ahmedaziz

    Question How to write c# function convert text input to sql server statement return string ?

    I work on some ui web tool on asp.net core blazor i need to write csharp function convert this conditions to sql statement so when i filter two columns as databasename and remarks (databaseName == null ? "" : databaseName).ToLower().Contains("db_".ToLower()) and (remarks == null ? "" ...
  10. ahmedaziz

    How to allow table have pagination to display default value 10 rows ?

    I work on razor asp.net core I need to allow data table to have paginations options drop down with 5,10,15,20,25 so when load data it must display default rows per page as 10 rows as first page if i need to increase it to 10 or 15 etc it will accept change according to drop down selection i...
  11. R

    Question ASP.NET Core 6 Web API - How to return 400 bad request responses from middleware

    Hi guys, I have an ASP.NET Core 6 Web API that I am calling 3rd party web services. I have exception middleware in order to log exceptions and return 500 responses to hide the details from the user. When this 3rd party web service returns 400 bad request, I also want to return it to the user but...
  12. SiamIT

    Question Create Installer For Excel VSTO Addin

    Greetings, i have created a excel (vsto) addin and it work fin on local computer. as i didn't have to anything.. just build and it comes to excel. but now i am confused how i can make a installer for the addin so that it can be installed on users end at ease without any user level interaction...
  13. A

    Looking for non-novice books

    Hi, new here. I am looking for english or swedish books mainly about C#. The topics im mostly interested in is OOP, Threading, CLI, WPF (code to controls with data/text), How and when to use unit testing. Would be nice to have stuff that as self-taught, get stuff pointed out "like this and this"...
  14. ahmedaziz

    Question How to allow cell on data table for edit and close after edit ?

    I work on asp.net razor page model . i face issue i can't edit datatable on same page by edit cell without redirect to another page I need to edit cell on same page my code details as below : public class UserModel { public string Id { get; set; } public string Name { get; set; }...
  15. H

    Question How to combine the C++ code with C# GUI?

    Hello, How can I combine the C++ code with C# GUI? For example, I want to have a C# window with a button on it and when I click on the button, then a message be shown with a C++ code. Any idea welcomed. Thank you.
  16. R

    How to check if the record exists with the same value in the database before insert

    Hello there, In my Blazor Server application, I am inserting a list of data into a database as follows with EF Core 6; public async Task AddStockAsync(List<GameBank> gameBank) { await _oyunPalasContext.GameBanks.AddRangeAsync(gameBank); await _oyunPalasContext.SaveChangesAsync(); } I...
  17. A

    Question converter does not exist?

    Hi I have all these classes in converter still I am getting this error It would be really helpful if you can tell me the cause behind this error as I checked everything and it is correct .
  18. A

    Resolved lots Name not exists errors

    Severity Code Description Project File Line Suppression State Error CS0246 The type or namespace name 'CCspInformations' could not be found (are you missing a using directive or an assembly reference?) Severity Code Description Project File Line...
  19. ahmedaziz

    Question Ajax request not return branches drop down List based on company drop down list selected value?

    I working on MVC razor page with .NET core 7 .I face issue Ajax request not return branches drop down list based on selected value from drop down list country . with another meaning I need cascade branch drop down list based on country drop down list by using ajax request . so data display...
  20. E

    C# change a 4 or 5 int number to cash value

    Good Afternoon, i have a text file that i parse the example is as shown below, 766,26/01/2021,16:51,6,3,2,Diesel,1249,15120,1888, 768,26/01/2021,17:33,5,1,1,Unleaded,1189,25230,3000, the end values so 1888 and 3000 are cash values there are a couple of transactions that are in the 100 mark...
Top Bottom