I have 2 asp.net WebForms, WebForm1 contains a button that redirects into WebForm2 which contains a contact form that needs to be filled to proceed an order. I have a drop down list in it that is connected to the database, and depending on which product a button on the WebForm1 is clicked, the...
I want to create a connection to the server. The base is called NORTHWND. I wanted to create a connection using a configuration file. I created a configuration file. I want to get information about the version of the server I am using through the console application. However when I run the code...
So I want to have an Rainbow Color Gradient option in my application. Everything else changes its color except the sliders. They only update the color when I change their value. Is there any way to fix it? A code or something?
Here is a short GIF of my problem: Gyazo
uses System;
public class program
{
public static void Main ()
{
Random randomerare = new Random ();
was randomNumber = random number. Next (1,101);
int-counter = 1;
var maxGuesses = 8;
for (int i = 0; i <8; i ++) / * First used the variable “i”...
Hello, first of all I want to say I'm 14 years old and this is for educational purposes only! I don't want to damage any kind of person / system.
So... I've built a program that overwrite logonui.exe with another logonui.exe . When I take ownership manually of the System32 folder everything is...
Please tell me. I can't solve the error in the JsonDocument.Parse method in any way.
Translation of the error text: Error CS1061 / "object" does not contain a definition for "Parse" and it was not possible to find an extension method "Parse" that takes the type "object" as the first argument...
Hi Everyone,
I have a method which is storing values in database and after that it is print invoice. I'm printing a form for invoice printing. I want to make sure that if it's saving it should print. Otherwise rollback all chanages. Following is syntex of the method.
private...
I have grabbed a sample code that they publish with the documentation, but I am confused at why I am getting errors in Visual Studio. I highlighted the lines i'm getting errors at. Please note I have not changed anything in the sample.
Code:
private static async Task checkHID()
{...
Hey guys!
I built an WPF Application, with a database, which provides the data. Until now a database running on the same machine as the one were I developed the app was enough. Now I want to run the app on other computers to, so I want to try using a Raspberry Pi as databaseserver. Unforutnately...
I have a bug and I don't know how to fix the bug is the following: I have a list, which in turn is of type <List <String>>, with the constructor what I do is save certain info, and what I have coded is what next:
List<List<string>> opciones = new List<List<string>>();
public...
Microsoft will retire its old certifications like MCSA and MCSD on 31 January 2021. Microsoft plans to introduce new role-based certifications to replace these older certifications.
Which newer, role-based certification is for C#/.NET ?
I have to wrote a program solving these in an easiest way, not really know how without the mistakes, so thanks for any help.
The 'file' contains whats under
" John Medeic,MD
10|7|5|3|8|2|1|0|9|3|4|5|5|6|7|2|3 "
Task. 1.
Load and correctly interpret the data contained in the file.
As a result...
Hello! I am have connected SQL management studio with my visual studio where I am making this hospital management system. I have set the PATIENT ID as the primary key in the SQL management studio. But when I am entering duplicate id, there is no objection being made by the code. What should I do...
Hello! In a window form, Patient id is being stored in both text box1 and textbox2. It is not storing the name of the patient in textbox2. Please help!
private void button1_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(@"Data...
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...
Hi,
I am integrating the BacNet in my C# application using the BacnetIpUdpProtocolTransport procedure.
When I use it as: BacnetIpUdpProtocolTransport udp_transport = new BacnetIpUdpProtocolTransport(c_bacnetPort,false) it works perfect but the problem is that I have 2 network cards on my PC and...
For those who want to dive deeper, here's a tutorial I wrote and the source code!
Here's a little tutorial about how I added a voice interface to a cross-platform desktop app:
For those who want to dive deeper, here's a tutorial I wrote and the source code!
In a world where developers are...
I am currently learning to create my own exception class and am wondering what my exception class should contain? It confuses me a lot. If anyone can give me an example. I need help urgently
Hello
I got an mock exam to practice, my real exam is in two weeks. I'm studying to become a teacher (this is an extra class I took) but with corona I had so many things to do including internship, etc. So I really I did not have a lot of time to practice C sharp. I only understand the basics...
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.