.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Imran Ghani

Home >> Forum >> ASP.Net >> Post New QuestionBookmark and Share Subscribe to Forum

Passing SqlServer2008 time datatype using DataNavigateURLFormatString

Posted By: Linda     Posted Date: January 26, 2011    Points:2   Category :ASP.Net
I am passing several variables using a gridview and an objectdatasource. All of the fields are working correctly with the exception of the time datatype. I also have dates and had to use {0:d} (changing the zero to the number of the field containing the date). I tried using {0:t} but this does not work.
Please help me!

Here is an example of what IS working:

<asp:HyperLinkField DataNavigateUrlFields="WPSer,EmpID,EmpFirstName,EmpLastName,ReqDate,ReqReason,EmpDigSign,EmpDate,SupvFirstName,SupvLastName"
DataTextField="WPSer" NavigateUrl="~/DisplayForSignature.aspx" />

Thank you in advance for any help you can provide!


No response found. Be the first to respond this post
Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend