摘要: 1 using System; 2 3 namespace ConsoleApp3_Test 4 { 5 6 internal class Aa 7 { 8 9 static void Main(string[] args) 10 { 11 Stock stock = new Stock("THPW 阅读全文
posted @ 2024-09-13 11:03 竹楼风雨声 阅读(1) 评论(0) 推荐(0) 编辑
摘要: public static readonly int b = a + 1; public static readonly int a = 1; public static readonly int c = 1; public static readonly int d = c + 1; public 阅读全文
posted @ 2024-09-06 13:51 竹楼风雨声 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp1.Window2" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/x 阅读全文
posted @ 2024-08-18 11:15 竹楼风雨声 阅读(1) 评论(0) 推荐(0) 编辑
摘要: <WrapPanel x:Name="WrapPanelName"> <Border BorderThickness="1" BorderBrush="Blue"> <TextBox x:Name="tbFindAncestor" Text="{Binding RelativeSource={Rel 阅读全文
posted @ 2024-08-14 10:46 竹楼风雨声 阅读(4) 评论(0) 推荐(0) 编辑
摘要: <Window x:Class="WpfApp2.BindingTest5" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2 阅读全文
posted @ 2024-08-12 17:48 竹楼风雨声 阅读(2) 评论(0) 推荐(0) 编辑
摘要: 方法一: 1、同时按住“win+R”调出运行窗口; 2、在运行窗口输入“regedit”并点确定调出注册表编辑器; 3、找到以下路径“HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Print”,空白处单击右键,点击新建值“DWORD (32位 阅读全文
posted @ 2024-08-12 14:48 竹楼风雨声 阅读(21) 评论(0) 推荐(0) 编辑
摘要: -- sp_executesql中参数值,要么顺序和参数申明中的顺序一致,要么指定参数名字 declare @stmt nvarchar(500) declare @cnt int ; declare @maxid int set @stmt = 'select @maxid= cast(max(u 阅读全文
posted @ 2024-08-06 13:36 竹楼风雨声 阅读(5) 评论(0) 推荐(0) 编辑
摘要: 后台代码: public class Student { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } } 前台代码: <Window x:Class="Bindin 阅读全文
posted @ 2024-07-05 11:30 竹楼风雨声 阅读(5) 评论(0) 推荐(0) 编辑
摘要: --SET ROWCOUNT { number | @number_var } --使 SQL Server 在返回指定的行数之后停止处理查询。 --与top 有什么区别? set rowcount 1select @no = no from #temp order by noset rowcoun 阅读全文
posted @ 2024-04-12 11:07 竹楼风雨声 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 目录 1. 补码诞生的背景 2. 原码、反码、补码 2.1 原码 2.2 反码 2.3 补码 3. 加减法 3.1 普通算术加减法 3.2 模N加减法 4. 总结 1. 补码诞生的背景 不论是在生活中还是虚拟网络中,人们总是习惯与10进制数字打交道,很容易理解10进制的加减乘除运算,但是我们知道计算 阅读全文
posted @ 2023-09-06 21:40 竹楼风雨声 阅读(137) 评论(0) 推荐(0) 编辑