Search results for query: *

  1. A

    MVC Get a row of data and display them in a view

    I am using several tutorials and I find different solutions for transferring the table to view. However, having problems and can not fit these solutions to single row.
  2. A

    MVC Get a row of data and display them in a view

    Beginner problem: I have some data in a database, and I select one row from it using the code line: var ItemInDb = _context.ItemInDb.Find(id); Whenever I select entire table, I use ToList() at the end of the line instead of Find(id), use ViewBag and then I can use foreach loop to display the...
  3. A

    Question Naming and Saving Child Windows

    Hi, I am studying C#/WPF. I am trying to create child windows upon click event as follows private void NewWindow(object sender, RoutedEventArgs e) { Window newWindow = new Window(); newWindow.Owner = this; newWindow.Title = "Window 1"...
  4. A

    Empty Table for Data I/O

    Hi Both. Thanks a lot for suggestions. I will try out. I hope I understood you right. I am a beginner in C# and my questions might sound a bit too simple. Thanks a lot again! BR, Alex
  5. A

    Empty Table for Data I/O

    Thanks for the reply! I mean, no data but the column names and types, as well as number of rows, being set by the code.
  6. A

    Empty Table for Data I/O

    Hi, I am new at C#. Is there a way to create empty Excel-like table in XAML where I will be able to input data and perform some operations on them. I was able to bind DataGrid to objects and put the data in the table from there. But I am looking for a way to have an empty table first and...
Back
Top Bottom