255 Questions

Priya
Priya
Member
224 Points
52 Posts
In asp.net application, I'm trying to determine the exception of type SQLException so that if any db exception occurs we log error or so. I have following section in Global.asax.cs void Application_Error(object sender, EventArgs e) { var _logger = LogManager.GetCurrentClassLo ...
Views: 436
Total Answered: 1
Total Marked As Answer: 1
Posted On: 08-Jan-2022 05:01 
 
Rashmi
Rashmi
Member
206 Points
38 Posts
I'm trying to save data with linq to class. I'm getting following error at line _dbContext.SubmitChanges();: Cannot add an entity with a key that is already in use at System.Data.Linq.ChangeProcessor.TrackUntrackedObjects(MetaType type, Object item, Dictionary`2 visited) at System.Data.Li ...
Views: 12159
Total Answered: 3
Total Marked As Answer: 1
Posted On: 24-Nov-2018 04:17 
 
beginer
beginer
290 Points
80 Posts
I'm trying to publish the wpf project and getting following error Error 2 An error occurred while signing: Failed to sign SignTool Error: No certificates were found that met all the given criteria. Earlier it was working fine.
Views: 24433
Total Answered: 2
Total Marked As Answer: 1
Posted On: 28-Aug-2018 09:01 
 
Stevan
Stevan
64 Points
27 Posts
I'm try to focus on browse button through following code if (!System.IO.Directory.Exists(MergeFilePath)) { MessageBoxResult messageBoxResult = System.Windows.MessageBox.Show("Please select Destination Folder", "Select Destination Folder", System.Windows.MessageBoxButt ...
Views: 14985
Total Answered: 1
Total Marked As Answer: 0
Posted On: 25-Aug-2018 19:35 
 
Ankit tewari
Ankit t...
40 Points
20 Posts
I have to make a datewise  guest room allocation report as in asp.net . how to make this type of design as i have upload . All room no are dynamic
Views: 9123
Total Answered: 1
Total Marked As Answer: 0
Posted On: 26-May-2018 00:19 
 
beginer
beginer
290 Points
80 Posts
I'm getting following xml from web response and try to Deserilize it to c# object. "<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"yes\"?>\r\n <PlatformResponse>\r\n <Errors>\r\n <Error code=\"2005\" message=\"User not found\" />\r\n </Errors>\r\n</Platfo ...
Views: 13851
Total Answered: 2
Total Marked As Answer: 0
Posted On: 25-May-2018 00:34 
 
Addu
Addu
6 Points
3 Posts
Can You please define how can i bind and save checkbox list in razor(MVC) , I have very much difficulties in that please help me out if you can
Views: 9162
Total Answered: 1
Total Marked As Answer: 0
Posted On: 14-May-2018 22:53 
 
Shivam
Shivam
2 Points
1 Posts
I want to bind automatically state and district on entering the pin code of that city. how can i do this by using google API.
Views: 9911
Total Answered: 1
Total Marked As Answer: 0
Posted On: 01-Mar-2018 03:35 
 
Addu
Addu
6 Points
3 Posts
edit record on click of edit button in grid view
Views: 9346
Total Answered: 1
Total Marked As Answer: 0
Posted On: 19-Feb-2018 04:52 
 
beginer
beginer
290 Points
80 Posts
I want to define following enum public enum OrderStatus { Pending, Completed, Cancelled, Refunded, Partial Refund } Some time we need to show description.  I want to show 'Partial Refund' not 'PartialRefund'. Is there any solution for this?
Views: 10102
Total Answered: 3
Total Marked As Answer: 2
Posted On: 23-Jan-2018 01:25 
 
 Log In to Chat