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

SignUp Now!

c# help

  1. accol

    C# Can't figure out why DataGridView isn't showing all the records inside table from SQL Server database on _Load()

    We are making a form where a user can log in and in turn upload listings for cars to sell, however, the data grid view for the listings isn't showing every entry even though it is in the database when it is being first loaded. I also notice too that updating the data grid view and refreshing it...
  2. B

    Strange Positions update in FixedUpdate()

    Hi, I'm trying to addForceAtPosition at the position of a triangle of the mesh of my moving rigidBody object. At Start() I'm storing the mesh information I need in multiple Arrays like the local positions, the surfaces or the normals of the triangles of the mesh. As trianglesPositions are...
  3. UniTheVerse

    C# Im having a issue with some of my coding C#

    using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.IO; using System.Linq; using System.Text; using System.Threading.Tasks; using System.Windows.Forms; using WeAreDevs_API; namespace UH { public partial class...
  4. UniTheVerse

    C# Im having a error cs1513 and cant fix it heres the code that is annoyinh me

    private void fastColoredTextBox_Load(object sender, EventArgs e) { } this bracet is the one giving the error btw
  5. ProgrammablePhysics

    C# Simple Snake Game - Snake Head is not moving after ReadKey()

    The snake head ```0``` does not move anywhere when ```Console.ReadKey()``` happens. Here is the full code: ``` using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SimpleSnakeGame_ConsoleApp { internal class...
  6. ProgrammablePhysics

    C# How to know if 2 ASCII created lines in a command prompt has the same length?

    Is there a way to know if these 2 lines have the same size in pixels aka length? What code should I use to determine if they have the same length or not? Just because these perpendicular lines created with ASCII, they differ in length size according to whether they were put next to one another...
  7. J

    Collider Isn't Working

    So, I have asked another Forum about and they didn't help. I just want when the two main characters get hit by a sword, they take damage. The take damage function works, but it never gets triggered. It goes into the Collider, but even when directly on top of the sword it doesn't trigger the take...
  8. KptKarma07

    C# Positioning of WriteLine(); XMAS TREE

    Hi , i am trying to make a program that takes a input and draws a chirstmas tree. Im ahving a slight problem with the layoput of the tree but mainly the trunk i dont know how to center it. I have attachedan image of the code and issue many thanks.
  9. ghoulishlearns

    C# Question about context in code

    Hello, I'm currently learning C# by reading 'Introduction to CSharp by Rob Miles. I'm still really new at it but I have come across a part where I don't really understand the concept. I don't really understand how ("2.0"+3.0); turns into 2.03, I understand that it takes "2.0' literally...
Top Bottom