Re: How can i show DATAGRID date with out any time frame.

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: karunakar rao (karunakarraop_at_stcroixsystems.com)
Date: 10/20/04


Date: Tue, 19 Oct 2004 23:00:50 -0700


Hi All
 Iam Binding like this

 <asp:TemplateColumn>
      <HeaderTemplate>
       dateIssued
      </HeaderTemplate>
      <ItemTemplate>
       <asp:Label ID="Label2" Text='<%#
((DateTime)((DataRow)Container.DataItem)["datecomplete"]).ToShortDateStr
ing()%>' Runat=server />
      </ItemTemplate>
</asp:TemplateColumn>

Here ["datecomplete"] this is column name
I doing like this.
Compilation Error
Description: An error occurred during the compilation of a resource
required to service this request. Please review the following specific
error details and modify your source code appropriately.

Compiler Error Message: CS0246: The type or namespace name 'DataRow'
could not be found (are you missing a using directive or an assembly
reference?)

It's giving Error like this

Regards
venu

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Relevant Pages

  • Re: ASP.NET C# WriteToFile StreamWriter error: StreamWriter could no
    ... Compilation Error ... An error occurred during the compilation of a resource ... required to service this request. ... Please review the following specific ...
    (microsoft.public.dotnet.languages.csharp)
  • Compiler Error Message: BC30203: Identifier expected.
    ... I am having trouble resolving this issue: ... Server Error in '/test' Application. ... Compilation Error ... An error occurred during the compilation of a resource ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: ADFS Step by Step
    ... Server Error in '/claimapp' Application. ... Compilation Error ... An error occurred during the compilation of a resource ...
    (microsoft.public.windows.server.active_directory)
  • Re: Eigentümlicher Fehler!
    ... > Compilation Error ... An error occurred during the compilation of a resource ... > required to service this request. ... Please review the following ...
    (microsoft.public.de.german.entwickler.dotnet.asp)
  • Re: How can i show DATAGRID date with out any time frame.
    ... Iam Binding like this ... Compilation Error ... >> Datagrid has one of the column showing datetime field format iam ... >> DATE here not Necessary to populate the Time Frame ...
    (microsoft.public.dotnet.languages.csharp)