zimmer9
asked on
While working with ASP.NET, how would I resolve the following error: "The best overloaded method match for 'System.Convert.ToString(object, System.IFormatProvider)' has some invalid arguments"?
Do you know how I can resolve the following error?
The best overloaded method match for 'System.Convert.ToString(o bject, System.IFormatProvider)' has some invalid arguments
</EditItemTemplate>
<ItemTemplate>
<asp:Label Text='<%# DisplayDateTime(Eval("dtCr eated")) %>' runat="server"></asp:Label >
</ItemTemplate>
public string DisplayDateTime(object value)
{
if (value== null)
{
lblStatus.Text = "Date is null";
}
The best overloaded method match for 'System.Convert.ToString(o
</EditItemTemplate>
<ItemTemplate>
<asp:Label Text='<%# DisplayDateTime(Eval("dtCr
</ItemTemplate>
public string DisplayDateTime(object value)
{
if (value== null)
{
lblStatus.Text = "Date is null";
}
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.