摘要:
StreamWriter SW; SW = File.CreateText(@"C:\Documents and Settings\Administrator\桌面\MyTextFile.txt"); SW.WriteLine("File Created ... 阅读全文
摘要:
保存image到databasepublic bool SaveImage(string filePath) { bool isSuccess = false; string FilePath = filePath; s... 阅读全文
摘要:
FilePath.Substring(FilePath.LastIndexOf("\\") + 1) 阅读全文
摘要:
1.this.dsConfig = new DataSet();//使用指定的文件将 XML 架构和数据读入 System.Data.DataSet。 this.dsConfig.ReadXml(System.Windows.Forms.Application.StartupP... 阅读全文
摘要:
1.生成声音文件 DotNetSpeech.SpeechVoiceSpeakFlags SSF = DotNetSpeech.SpeechVoiceSpeakFlags.SVSFlagsAsync; DotNetSpeech.SpVoice vo = new SpVoiceClass(); Syst 阅读全文
摘要:
private void ToConvert_Click(object sender, EventArgs e) { string strPath = System.Windows.Forms.Application.StartupPath; ... 阅读全文
摘要:
主要代码 DataGridViewTextBoxColumn idColumn = new DataGridViewTextBoxColumn(); idColumn.Name = "Task"; idColumn.DataP... 阅读全文
摘要:
List lst = new List(); lst.Add(new Person("A", "1")); lst.Add(new Person("C", "2")); lst.Add(new Person("B", "3")); ... 阅读全文