Search results for query: *

  • Users: Alex_D
  • Content: Threads
  • Order by date
  1. 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...
  2. 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"...
  3. 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