logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

SpeechSynthesizer 异步正在播放语音突然关闭窗口报错

System.Speech.Synthesis.SpeechSynthesizer SpeechSynthesizer = new System.Speech.Synthesis.SpeechSynthesizer();public void boFangYuyin() {try{System.Threading.Tasks.Task.Factory.StartNew(boFangYuyinAct

#c##wpf
C# DataGridView绑定数据源的几种常见方式

根据DataSource绑定的对象的不同,可以有一下几种简单的绑定:// DataSet 、DataTable// 方式1DataSet ds=new DataSet ();this.dataGridView1.DataSource=ds.Table[0];this.dataGridView1.DataSource = ds.Tables[“表名”];//  方式2DataTable d

#c#
onclick如何跳转到其他页面,Javascript跳转页面和打开新窗口等方法

如果是本页显示可以直接用location,方法如下:①οnclick=“javascript:window.location.href=‘URL’”  ②οnclick=“location=‘URL’”  ③οnclick="window.location.href=‘URL?id=100’"☆如果页面中有frame可以将在location前面添加top.mainframe.frames[‘rig

#javascript#其他#html
到底了