将本地数据库的内容另存为文件
然后进行文件比较不就可以了吗
比如说Blob字段的内容
写成文件流存到本地
然后进行文件比较不就可以了吗
比如说Blob字段的内容
写成文件流存到本地
解决方案 »
- ClickOnce发布方式修改Config文件
- DataGridView
- 在Reflection中,PropertyInfo和FieldInfo有什么区别?
- ERP系统开发的大概周期是多长,有经验的看看
- 请教关于几个网络方面的几个问题,谢谢!问题太菜了,请别见笑。
- ExecuteReader() 方法有办法一次读数据库中的所有列
- int colwidth=datagrid.TableStyles[0].GridColumnStyles[j].width什么意思?
- 你好,winform的一个问题
- WPF通过MultiBinding的Converter生新成的Binding源,可实现动态更新吗?
- 各位大侠C#怎样才能在WIN98上运行?
- Please answer me a question!!!
- listView中怎样动态修改数据。
说清楚才能写。
下面是打开文本文件的方法,请帮我看看是不是字符流?
谢谢!try
{
if (this.openFileDialog1.ShowDialog() == DialogResult.OK)
{ FileStream fs= new FileStream(openFileDialog1.FileName,FileMode.Open,FileAccess.Read);
StreamReader m_streamReader=new StreamReader(fs); m_streamReader.BaseStream.Seek(0,SeekOrigin.Begin);
string strLine=m_streamReader.ReadLine ();
if (strLine!=null && strLine.Length <=this.t_studentnews .MaxLength )
{
this.t_studentnews .Text += strLine +"\n";
strLine=m_streamReader.ReadLine ();
m_streamReader.Close ();
}
else MessageBox.Show ("请确定你打开的文件格式是否有错误","错误提示",MessageBoxButtons.OK ,MessageBoxIcon.Error); }}
catch(Exception em)
{
System.Console .WriteLine (em.Message .ToString ());
}请你指点!
谢谢
可以结贴!
totobi(候候)兄,zyongcai() 兄和cityhunter172(寒羽枫)请到这里拿分;
hillfree(比较土,请原谅)兄这里也有分的