English 中文(简体)
在确定数据来源后改变数据类型数据格观点栏
原标题:Changing data type of data grid view column after setting data source
  • 时间:2010-09-09 06:19:03
  •  标签:
  • c#-2.0

我正在C#.NET工作。 我有数据网格,数据表已作为其数据来源。 数据表是选定查询(sql)的产出,有一栏注明日期,其数据类型为日期。 现在,在确定数据来源之后,我需要将相应的电网一栏的数据类型改为插图。 任何人都知道这一点?

问题回答

您也许可以更改“职称”表,以便选择一个计算栏,如果该数值是按格式列出的日期代表而不是实际的“日期”栏。 要做到这一点,就要依靠哪一个数据库生产你们使用的产品。





相关问题
JavaScript, asp.net and Sql Server

I know how to use client side JavaScript with asp.net script. But I am unable to figure out how to retrieve data from database and show that data with JavaScript in an asp.net page. Suppose I have ...

How to find function parameters

I need to log all the function parameters in a dozen functions. Is there a way to pro grammatically determine all the parameters and their values (or at least their .ToString() value)? Perhaps via ...

How to do unit testing in Visual Studio 2005?

Is there any support for unit testing in Visual Studio 2005? After googling for some time, I found out that we can do unit testing with Visual Studio Team System, but I do not have it. I cannot ...

Implementing SFTP in 2.0

I want to write SFTP clients and servers in .NET 2.0. Is that possible? Please give me some suggestions

热门标签