How to format a time-stamp to show the date only in a grid view

前端 未结 5 2402
南方客
南方客 2021-02-19 20:27

In an aspx page I am binding the labels like this:

  
            
                &l         


        
5条回答
  •  南旧
    南旧 (楼主)
    2021-02-19 20:43

    You can use the DataFormatString in a bound field the same can be set as below:

    
    

提交回复
热议问题