English 中文(简体)
ADO.net - 我如何将数据库数据重新输入现有的和填充的数据。
原标题:ADO.net - how do I reload database data into an existing & filled DataTable?
  • 时间:2010-03-18 02:53:34
  •  标签:
  • ado.net

如果我有现有的数据可用(校对填充),那么我想直接从数据库中更新/重载数据(正如我所知,有一个非ADO.net程序,在不通过数据表的情况下改变数据),但我确实这样做。 请注意,数据库数据可以超出可数据的任何数据。

感谢

最佳回答

Try using DataTable.Clear()

问题回答

如何在你的数据之后再次填满。





相关问题
ADO.NET Entity Data Model are not precise enough

I run this code: var cos = from k in _db.klienci_do_trasy where k.klient_id == 5 select k; but the query send to database is: SELECT * FROM `klienci_do_trasy` LIMIT 0, 30 why is it for, there ...

Synchronising SQL database through ADO.Net

The problem that i m having is how can i synchronise my datasets in my VS 2008 project to any changes in the database. As you know we read data from the db into the dataset which is disconnected, now ...

ADO.NET Data Services - Uploading files

I am trying to write REST web service through which our clients can upload a file on our file server. IS there an example or any useful links which I can refer for any guidance? I haven t seen many ...

How can I know if such value exists in database? (ADO.NET)

For example, I have a table, and there is a column named Tags . I want to know if value programming exists in this column. How can I do this in ADO.NET? I did this: OleDbCommand cmd = new ...

热门标签