C#
Object reference not set to an instance of an object, null
i keep getting this error message: Object reference not set to an instance of an object. private static void GetIPInfo(User user)[详细]
2023-04-13 08:16 分类:问答Insert multiple records issue (linq EF)
I need to insert multiple records to different tables, the problem is that some tables have 2 different foreing keys and the EF throws me an exception. Part of my schema is shown below.[详细]
2023-04-13 08:09 分类:问答Failed to enable constraints. When using a data table adapter
I\'m getting Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.[详细]
2023-04-13 08:06 分类:问答How to XmlDeserialize using RestSharp?
I\'m having trouble deserializing the following XML w/ restsharp <Xid> <Id>118</Id> <Active>true</Active>[详细]
2023-04-13 08:05 分类:问答Using Page keyword in asp.net
Is it necessary to use the Page keywo开发者_开发问答rd in asp.net? For example, are there differences setting the Title or control if the page IsPostBack?[详细]
2023-04-13 08:05 分类:问答deserialize "long" string with protobuf for c# doesn't work properly for me
I\'m obviously doing something basic wrong but I can\'t figure it out and don\'t find开发者_StackOverflow社区 documentation.[详细]
2023-04-13 08:04 分类:问答Advantages/disadvantages of combining C# and C [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this po[详细]
2023-04-13 08:03 分类:问答COM returns type that does not implement any interface
I need to automate some tasks in Adobe InDesign CS3 from a .NET 4.0 application. I\'ve added a reference to the InDesign Type Library using the Add Reference dialog in Visual Studio. It genereates an[详细]
2023-04-13 08:02 分类:问答FxCop says I should return a generic list inteface instead of a byte array. Should I? [closed]
Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it 开发者_如何学Ccan be answered with facts and citations[详细]
2023-04-13 07:58 分类:问答Super High Performance Socket Server - Implementation Details
I\'ve done my research and I know the best way to implement a high performance socket server is generally as follows: use async socket operations (specialized SocketAsyncEventArgs/Operations for best[详细]
2023-04-13 07:57 分类:问答