Category: C#
-
Use google sheet as database to develop Maui App
Do you have the same idea with me that developing a lite Maui app shared among family member?It means that App need handle storing the data on the internet /cloud There is too much cost if we choose Azure Service or Other cloud service.So what we can do?I think it is a good idea to…
-
Talk about ‘CanUserAddRows ‘ property of DataGrid in WPF
as far as we know the property ‘CanUserAddRows ‘ can be used in datagrid to give user limitation to add new rows or not. the detail about this property is described in https://learn.microsoft.com/en-us/dotnet/api/system.windows.controls.datagrid.canuseraddrows?view=windowsdesktop-8.0 if we set CanUserAddRows = false ,the user can not add new rows and input data , if we set true, it…
-
Use stored procedure in c# project to solve special problem
there are two Scenes in my projects (1) C# project, we use entityframwork to do mssql database operation.however, I would like to get a value caculated with parameters in the tables cross 3 databases.of course ,we do not want to change any database structure,however, there is one database connected to entityframework. now we can use…
-
【github】useful tools for deploying many rdl files to multi report server
I always deploy reports on visual studio in my daily work. I need change the targetServerURL if I would deploy reports on different server, If there is 60 servers ,I need input 60 times. it will take me longer time to repeat the same operation, which waste our time. To make our work more efficient…
-
How to take screenshot of c# application or window?
Generally, if we would like to take screenshot of application , we always use following solution: However, there is special condition if this code running well. (1) every window visible on the desktop is a Windows Forms window (2) window opacity is 100% or it is not a layer window. There is another method named…