I've tried to achieve this by creating a leave event on the user control, but the message Box isn't appearing for some reason. I also have a panel in front of the user control which I'm thinking might be the issue? Below is the code i have so far:
private void...
I'm attempting to publish my database but I'm getting the errors below.
Ive unchecked the "block incremental deployment if data loss might occur" option which usually works but for some reason this time it isn't. Does anyone know a fix for this??
Rename refactoring operation with key...
When the user double clicks on one of the bookings within the grid view, i would like to transfer the Id to a text box in a separate user control. Any ideas of how could I achieve this? Thankyou
private void availableBookings_CellDoubleClick(object sender, DataGridViewCellEventArgs e)...
I'm currently creating a windows form project which is for a coach booking system using the baked in SQL server.
What I'm trying to figure out at the moment is the best way to reserve a seat for a particular customer.
In my coach table i have the coach Type i.e. single decker and double...
EDIT: i fixed it. the issue was that i was inputting the incorrect format. when writing dateTimePicker1.Value.toString(dd//MM//yyyy)....it should have been **dateTimePicker1.Value.toString(MM/dd/yyyy)**
im creating a project in visual studio using the baked in SQL server. I'm trying to create...
Hi i have a basic application that is used to display customer information from a sql database, i am using a datagridview to display the information, i also have a form that has texboxdes on it to enter customer information for adding to that database which currently works. what i need to do now...
Hi All,
Interesting one here.
Background:
Have a Winform application which works on all standard screen resolutions. Came across a laptop (new model DELL) which was is a high end model and is able to set to a super high resolution (3840 x 2160), which by default windows sets the zoom/DPi to...
Hello,
as my title says: on Windows 10, my console (cmd prompt) does not display Chinese input string by Console.ReadLine (but it displays Chinese non-input strings correctly).
Here is my problematic code-chunk:
using System;
using System.IO;
using System.Text;
namespace 字符
{
class...
Hello) Recently i got very strange error with IO i noticed that when i change project configuration from Any CPU to x64 or x86
input output stop working. I can't create any files even this simple code not working.
File.WriteAllText(@"CSVTEST.csv","test");
I was thinking to change...
so i created a basic game and it has a level that is basically space invaders. i have a class for the bad guys, and a class for the bullets, but sometimes i have an issue in game where the bullet just goes straight through the enemy rather than actually hitting it. this doesnt happen all the...
I downloaded this project and database but when I run it I get this error, Can you please help me to fix this? I really appreciate your help.
I have attached the source code and database, please take a look.
Thank you!
Hi,
I have a sql server database with ID, First Name, Last Name, Phone Number and Address. I have created a wpf application that has a dataset of the database and uses a datagrid view to view the table. I did this as a learning procedure. Now I am learning how to update the database using wpf...
Hi,
I have a database and a dataset in visual studio. I updated the database by adding two new columns to a table in the database. Then I updated the dataset using Configure Data Source With Wizard and everything is fine. But the problem is the order of the columns in the dataset. In the...
Hi,
I am trying to learn database management system that exists in my company. I am new to this. So there are things that I have understood so far. I want to know what I understood is correct or not. So there is this Database which when I checked in Visual studio is of type Microsoft Sql...
I have a two-dimensional array of random integers that are in an array of textboxes. I found the maximum and brought it to Label1. Everything works. But I still need to colour the textbox in which this maximum is located. I had versions, but unsuccessful. Please help, who knows where the error...
I will be teaching a course on Android App development next term at Lane Community College. You will learn how to build apps using both Android Studio and Java (the standard way to make apps) and using the Xamarin framework and C# to make cross-platform apps. The course starts January 8, 2018...
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 guys, I have been trying to create an RTL (right to left) winform that uses arabic text and contains some textboxes, labels and buttons.. It is driving me crazy... after i perfectly design the form, as soon as i run it everything just loses some level of sizing and positioning. I tried to use...
I am trying create an executable to install multiple installers.
For that I am creating some screens in Visual Studio and as we click on next button, the elements should hide and new elements should popup.
Foe that reason, I am using panels.
And all these panels should be on same location to...
Dear Friends
I am as good as a newbie when it comes to the C# platform, although I do have some programming background. I wish to create a desktop application (for now I will call it flexible-window app) that when started, it opens a blank window without a visible close button, but is just...
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.