Hello, When I display all the agents in my listBox I get the right number of agents but not the right information. I get the result from the attachment.
And here is the code of my function:
public static List<Utilisateur> GetTousLesAgents()
{
List<Utilisateur> ListeUsers =...
I'm making ChartSheets in Excel using .NET 7 and the latest update of Office 365; this is the code that I use to change the style of the charts and give them a title:
GráficasFrecuenciaGanancia[i - 1].ChartType = XlChartType.xlLineMarkers;
GráficasFrecuenciaGanancia[i-1].HasTitle = true...
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...
We have developed a windows forms application that captures user interactions i.e. Typed text, clicks. Sometimes, out of the blue on some machine, we get the following exception:
Object reference not set to an instance of an object.
at System.Environment.GetStackTrace(Exception e, Boolean...
What I tried is: (But need to know what to put in if condition and what to put in foreach condition)
ViewMedicine_DataGrid is a name of DataGridView
Pharmacist_Medicine is a name of a Table in Sql Server
E_Date is a column name of Expiry Date
private void...
I would like to read all of the values from the column name "seatNo" and store those values within a list. I've done most of the code but i have absolutely no idea how to actually store the values
Here is what i have so far:
private List<string> seatNumbers = new List<string>()...
I have a sign in method, which stores the details of a user based on the password and email that they enter. Within this method i call a function which stores those details inside of a list.
My question is how would i be able to access those individual values? I want to be able to access just...
When signing up data will be stored within two tables. customerLogin and customer.
The code for this is shown below, it works the way i want it to, inserting the correct details into both tables.
{
string query_1 = "Insert into customer (firstName...
Hello, when i drag a custom picture box onto my user control and run the application i can see it, however if i place the item on top of the panel i cant. Does anyone know how i can get round this?
See image below, items under seat reservation aren't visible.
I made a Seat class and inherited the PictureBox class:
class seat : PictureBox
{
public string Row { get; set; }
public int Number { get; set; }
public string Seat => $"{Row}{Number}";
public bool Available { get; set; }
}
}
I'm getting the...
I want to create a simple seat reservation system where the picture box will change to another image once the user has clicked the picture box. If the image is set as "available" it will turn green. If the user attempts to select another seat with the status "available" i want the application to...
When the user logs in they will be taken to a dashboard where they can select different options. one of them being "Account details". within this user control I've set up text boxes which will be filled with the users details once they double click on the row within the DataGridView .
I have...
I am making a window form database management system. When I click on the "Add staff" option, this error occurs System.Data.SqlClient.SqlException: 'Invalid column name 'id'.' on line number : 20
private void StaffInformation_Load(object sender, EventArgs e)
{
// TODO: This...
So I am making a windows application in which I have store my recipe proportions.
For example: if one pizza requires 200 gms flour,2 spoons of sauce,100 gms of cheese,250 gms of water...then what will be the proportions of the ingredients required for making 47 pizza's.
P.S.: I am new to coding...
Hello there!
I am programming something with views, view models, and models, and i need to display a DataGrid. I want to put the names of the colums in a xaml file, so the user can choose a langage package.
I need to declare these colums in my ViewModel file. This work fine when I put the name...
Hi! ive got two dataGridViews with two columns each and i have a (csv file) with products and prices that i import to gridView1.
string[] lines = File.ReadAllLines("Products.csv");
foreach (string line in lines)
{
string[] words =...
Hi,
i am trying to learn C# programing language, so far i am an absolute beginner. I find visual studio and C# to be a fantastic tool.
I am trying to make a very simple windows form application that would connect to SQL server over internet with which a user could add or change data in the...
Hi
If i make mistakes in posting this I apologize in advance. I am new to this forum.
Before I begin
I am a beginner in C# I went through some web videos in two days and wrote this script (below).
Objective:
The Script has to monitor a particular folder, if the folder contains a file...
I need to made a Secured Login Page in C#.NET Windows Forms Application. in this process I have need to disable my pc's keyboard and use only ON SCREEN KEYBOARD. I have open ON SCREEN KEYBOARD but still can't disable my peripheral device keyboard? please help me in this regards......
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.