Skip to content
Advertisement

Tag: wpf

How do I clear specific columns in DataGrid?

i am using WPF, connected to SQL DataBase via LinqToSql. I have filled DataGrid using ItemsSource. I would like to clear everything in my DataGrid, except first two rows(ID,first and second name), and Headers ofcourse, by pressing a button. All items i would like to(either set to null or 0) remove, are floats, but I can’t find the right logic

Database in WPF and Windowformapps

I’m developing applications using either WPF or WindowFormApps that can store and manage database. The question is that how can i create an in-app database or which kind of database should I use that can run whenever I install it on other devices. My application cannot run on other devices since there is no SQL server on that PC and

How can I best implement async into my WPF application?

I’m working on a WPF application that runs SQL queries and returns a data grid of the results when pressed. Currently, the structure of my methods as I try to figure out async is as follows: Depending on the query ran, my application can get for anywhere between 30 seconds to 20 minutes. I have a progressbar on my application

ConfigurationManager in WPF

I have a config file in a wpf project to store the connectionstring. But when I try to get AppSettings and ConnectionStrings, I get null. the WEB.config file is like this: I tried in several ways: None of them worked. But this one worked: (That means I cannot use a config file, which is against my will) I need help.

Advertisement