Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

SignUp Now!

csharp

  1. accol

    JavaScript Model validation error when using Fetch or Axios despite returning a status 200 in the backend?

    Thank you to anyone who reads and replies to this. I do not know what I'm doing wrong by this point. I've been trying to connect the React.js frontend to my ASP.NET Core backend. I've tried both Fetch and Axios and I've been getting the same error each time, however it doesn't make sense to me...
  2. J

    C# How to implement an async method for real-time stock data retrieval...

    I'm trying to get a real-time stock data retrieval method working, but I haven't found any information on how to get the method to work with C#. Here's what I have so far: In MainWindow.xaml: <Grid x:Name="g" Width="Auto" Height="Auto" VerticalAlignment="Center"> <Grid.RowDefinitions>...
  3. Fex329

    C# Why the referenxe to an instance of an object so not work nside button event handlers

    Hi, I am trying to get the button event below to, deactivate, set its content to the player Symbol and to change current player. Unfortunatley, seems I cannot point to any of the Objects I created in MainWindow() here is the code I have Class called Player that has objects with 3 attributes...
  4. N

    C# web page using asp.net

    I have a table (named Products) in the database (named MyData) that have the following columns: My goal is to write a web page using ASP.NET Core that shows the table above and by selecting the desired product, assigning other parameters, such as length, width, information, ..., and can save...
  5. ProgrammablePhysics

    C# Dragging an item from listBox1 and droping the item into listBox2 code does not work(AllowDrop=true)

    Although both of the listBoxes **AllowDrop=true** listBox2 does not allow me to drop an item from listbox1 into listBox2. VS 2022 does not give any error, warning or exception handling problem. The problem is that this code does not do what it supposed to do. It does not let me carry 1 item...
  6. madyrafi

    C# Login Details Code Error

    Sir, I have studied and tried to put login page but it shows code error please tell me the correction sir It shows error: System.InvalidOperationException: 'The connection is already and also code error private void button14_Click(object sender, EventArgs e) { if (textBox9.Text != "" &&...
  7. Bogdan Floares

    C++ C++ class meaning

    What is a cpp class an how does it work. In java and c# a class(marked as public) is pretty much just a source file, or a public class is associated with a source file, for example: Program.java: public class Program{ } Or Program.cs: public class Program{ } Or I can have some not...
Back
Top Bottom