visual studio

  1. S

    Does anyone know a fix for Data loss in visual studio ?

    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...
  2. S

    Resolved how to transfer data from one grid view to a text box in another user control

    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)...
  3. S

    Resolved Needs some assistance with a seat reservation system.

    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...
  4. S

    Resolved help creating a query for finding a record between two dates.

    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...
  5. R

    Question retrieving information from sqlite database

    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...
  6. dv2020

    Question Simulating Screen Resolutions - Testing Application

    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...
  7. Y

    Question console does not display Chinese input string

    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...
  8. vlad.ua96

    Question IO Doesnt work on x64 or on x86 configaration only on Any CPU RRS feed

    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...
  9. R

    Answered need help with a windows forms app game

    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...
  10. I

    Question Error CS0234 missing 'Reporting'?

    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!
  11. G

    Question Update using Table Adapter

    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...
  12. G

    Rearranging Dataset after updating Database

    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...
  13. G

    Trying to understand the database in visual studio

    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...
  14. H

    Answered How to colour a textbox which contain the maximum value of a two-dimensional array?

    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...
  15. B

    Xamarin (C#) Android online course for college credit!

    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...
  16. A

    Windows Form DataGridViews

    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 =...
  17. H

    Question Winform RTL sizing and positioning issues

    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...
  18. U

    Question How to add multiple panels at the same location

    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...
  19. T

    Question Creating a Resizable Desktop Window That Allows User to Play Apps In it

    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...
  20. M

    Question Easiest way to use Github with Visual Studio?

    I am a fresh programmer, and my experience is quite limited. Seeing as how people recommend using Git with projects, I've started getting quite font of using command prompt when I watch tutorials. However, one thing bugs me: There seems to always be a bunch of stuff that needs 'pushing' after...
Back
Top Bottom