InvalidCastException get_datetime () auf System.data.linq

Post a reply

Smilies
:) :( :oops: :chelo: :roll: :wink: :muza: :sorry: :angel: :read: *x) :clever:
View more smilies

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: InvalidCastException get_datetime () auf System.data.linq

by Anonymous » 04 Mar 2025, 00:10

Ich habe Probleme mit dem nächsten Fehler < /p>
Stack Trace: < /p>

Ausnahmetyp: InvalidCastException
Ausnahmebotschaft: Die angegebene Konvertierung ist nicht gültig. System.data.sqlclient.sqldatareader.getDatetime (int32 i)
on read_table_zona (ObjectMaterializer1 ) on System.Data.Linq.SqlClient.ObjectReaderCompiler.ObjectReader< /code> 2.Movenext ()
auf System.collectionss.generic.list1..ctor(IEnumerable< /code> 1 Sammlung)
on System.Linq.Enumerable.tolist [tSource] (iEnumerable`1 Quelle)
on ... reporta.getZona () < /p>
< /blockquote>
/> Code: < /p>
public static List GetZona()
{
dc = new DBDataContext();
var list = dc.Table_Zona.ToList();
return list;
}
< /code>
Ich habe gesehen>

Top