csharp

  1. maddyrafi

    Password case sensitive

    Sir, I save my password in database is SAAmi@123 but if even enter in small letters saami@123 means its also logging in but it was not correct. please correct in my code pls if (textBox9.Text != "" && textBox10.Text != "") { string connectionString; MySqlConnection cnn; connectionString =...
  2. M

    Resolved ListBox whose items can be edited / discarded /accepted

    I would appreciate some help in implementing the following with WPF. I need to have a ListBox displaying a list of strings but some may be empty strings. Each ListBox item can be edited, discarded, or accepted. Therefore, besides the editable ListBox I need some other type of WPF control that...
  3. L

    How to lock TicTacToe matchfield after a player won?

    I am actually programming a tic tac toe game with the blazor framework and I have already a function to lock the button if it was clicked. It looks like this: public class ElementOfMatchField { public int Row { get; set; } public int Column { get; set; } public...
  4. T

    Save Outlook email Information to SQL Server

    I'm trying to save inbound Outlook mail data to sql server however I'm getting in error in System.Runtime.InteropServices.COMException: 'The attempted operation failed. An object could not be found.' What did I missed Note: RetrieveMail is exist in mailbox using System; using...
  5. L

    Blazor Server Side Web Application with authorization?

    I have a Blazor Server Side Web Application that uses the default authorization and authentication. app.UseAuthentication() app.UseAuthorization() I can protect my pages with @attribute [Authorize] I have a login page with anonymous access to authenticate. This works fine. Now I need a...
  6. M

    Question How to generate a self-contained .exe that can be run from other PCs

    Dear C# Experts, First off, please forgive me to ask basic, maybe silly questions. I am a C# beginner. I developed a C# script (attached) that gets access to a Postgres database, the Velocity database, ConsoleX (available from GitHub), and some fuzzy string search algorithms. Therefore my code...
  7. Taiizor

    .NET WinForms UI/UX Component Library

    Welcome to ReaLTaiizor ReaLTaiizor is a UI/UX component library. It allows you to make modern designs using the various components it offers. Usage Step 1:Add a reference to ReaLTaiizor or search for ReaLTaiizor on the NuGet; Install-Package ReaLTaiizor Step 2:Enjoy designing Examples...
  8. msaaaddev

    Question Can software in different cities uses the same database to store data?

    Hello Friends, I want to ask that can software in different cities uses the same database to store data. I am new to c#. I want to know if I develop software in c# and then install it in different cities(branches) of same company can I use the same database for all running software in different...
  9. C

    C# Generic collections - Get list of sub level child items from parent object

    Public class viewmodel { public string ID {get;set;} public String name{get;set;} public List<child1>{get;set;} } public class child1 { public string C1ID {get;set;} public String C1name{get;set;} public List<child2>{get;set;} } public...
  10. AndreasPapandreou

    Question Randomized Playlist

    Hello i am new to c# and trying to create some simple programs and one of those is a randomized playlist for spotify. When I run the code I get this error: "Unhandled exception. System.ArgumentOutOfRangeException: Index must be within the bounds of the List. (Parameter 'index') at...
  11. C

    Azure Event Grid publish EventGridTopicEvent

    HI All, I have scenario where I need to publish "EventGridTopicEvent" data and at the same time I need to store this event information in the Azure Storage Table. I would like to know is there any way to get the information(like T/F) if Publish event successfully done or not(any error), If it...
  12. SiamIT

    Adding Preview Support In File Open Dialogue

    Greetings.. after some search on google, i found that i can use Microsoft.WindowsAPICodePack.Shell to add custom controls on file open/save dialogue box as needed. so, i tried some, but i can't make it work to solve my purpose. I have added a button to preview music. But it throws a...
  13. W

    There is any way to import correctly optional parameters of wsdl

    i'm using a third party web service with C# without problem until now. The wsdl is added to connected services adding a service reference to: https://serviciosjava.afip.gob.ar/wsfecred/FECredService?wsdl The problem appears with optionals parameters. For example, the consultarComprobantes...
  14. H

    Downloading files from grid

    Hello community I'm having problems in downloading files from a grid, i saw some solutions, all very similar, and but none solve my problem, i guess there must be some small mistake from my own. Can you help me? I'm using layers architecture and telerik framework <telerik:GridTemplateColumn...
  15. K

    Question File transfer via port 80

    Hello I want to implement file transfer in a bunch of C # and PHP. Client-side function: public void Upload() { string uriString = "http://127.0.0.1/upload.php"; WebClient myWebClient = new WebClient(); myWebClient.Headers.Add("Content-Type"...
  16. Hussnain Javed

    Generating Hash Value for a DLL File in Visual Studio Commuity 2019

    Hi, how are you all? Hope you're all fine. I'm looking for a way to get hash value of a dll file which I've created in a class library's project in visual studio community 2019. I've only one 1 class in my project and I need only dll file and hash value. As I can't run the Project but I can...
  17. mariodeghetto

    I will publish 3 books on C# (free preview + early bird edition)

    Hello, everyone! Excuse me for taking the liberty of asking you for help with a publishing project I have started. If possible, I would like to ask you to publish a post on your blog or in your technical community, indicating this link: (Free preview) My new book "Programming in C# – Basic...
  18. F

    Point3d Max Min Values for Y axis

    I have a Point3d array, Z values are always zero. How can I have the maximum and minimum values of Y axis for every similar X values? Sample Point 3d Array: List[0] = (10,5,0) List[1] = (10,6,0) List[2] = (10,9,0) List[3] = (7,2,0) List[4] = (7,5,0) List[5] = (7,8,0) List[6] = (7,11,0)...
  19. P

    i need help to find intersection point of 2 lines in image

    we need to a code for image processing in c# we need help to find intersection point of 2 lines in image you can see my image as below we need to use from Emgu library in c# for find this points we have a code but we don't know how to use it if you can write this code for me that find...
  20. Sajo

    Question Object Relational Designer does not create entity classes

    Hello. I am using Object Relational Designer because I am working with LINQ to SQL. I am using NORTHWND database. I want that Object Relational Designer create entity class for table which I drag to entitites part. For example I drag Employees table to entities part but it does not create entity...
Back
Top Bottom