Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 

what is the main purpose technically speaking about the abstraction in programming using DI, Interfaces, and Abstract...

I viewed a couple of answers online regarding Abstractions, Abstract Classes, Interface's, DI, and Loose coupling. But none of these answers are answering my question. I grouped these topics because they are related to achieving abstractions....

Adjust the height of labels location and autosize to content

I create a user control. i have label (labe1, label2, label3). this labels have auto size property to false, and the user control scale base on the combine height of the three labels.  My problem is the height of the labels work fine but ...

How to Bind PasswordBox in WPF MVVM in DotNet

I have an issue that, How to bind PasswordBox in WPF MVVM?   <PasswordBox Text="{Binding Password}" BorderBrush="#038EC7" Height="25" Width="300" Margin="0,15" Padding="3"&...

How to Run Linq Query in .Net to Get Subjectwise Average Score of a Student of Current Month

How to Run Linq Query in .Net to Get Subjectwise Average Score of a Student of Current Month.     public GetCalculatePerform(int? Student_ID, int? CourseID, int? SemID) { var newlist1 = dbcontext...

How to Distribute Jobs Fairly on Accounts - Distribution Algorithm in C#

I'm working on a project that publish to a multiple websites using a multiple accounts. each account can publish to a specific website. as shown in the 'Dict' below. The problem is I'm trying to distribute the publishing jobs on a...

Having trouble building left outer join with multiple conditions using Dynamic Linq

I am trying to build Dynamic Left outer join Linq query.   I took help from StackOverflow page titled "How do I do a left outer join with Dynamic Linq?"   I am getting the following error in "Se...

How to Store & Retrieve Data Without Pinging Server Multiple Times?

Hi,   Hope you are doing great. I would like to know what I can be using in order to not ping the server back for authenticating the user. Where do I have to store the data and retrive it without pinging the server multiple times. ...

Implement on-click Autocomplete Value While Data Binding in Subgrid - How To?

$("#txtautocompid").autocomplete({ source: function (request, response) { debugger; $.ajax({ url: '../WardManagement/WardResultEntry/autocomplete2', // url: '../WardMa...

JSON Issue - In Which Class Do I Need to Add Array Title?

Hi, i am very new to this, so please forgive me for stupid mistakes.   I am to create an android application that consume web services currently from IIS. Program that i am currently using: SQLserver , Visual studio for web, android st...

Best Hosting providers for .Net 4 / MVC 4 application and how to deploy the web application on iis server?

As I am a beginner in programming domain , I have developed an application in dotnet. The application is implemented in Dotnet framework 4/ MVC4. This is my first ever hosting experience so I'm confused because I don’t know much abou...

string manipulation & PDF file

First of all, thank you for trying to help me. It should be simple , but I think I am missing something I have an HTML file that it’s used to produce a pdf file and gets date from a screen selection It is about string manipulation (ex...

How to Insert, Delete, Update in GridView in ASP.Net using C#.?

Hi Guys I am beginner in asp.net mvc and currently working on asp.net project.Please tell me how to Insert, Delete, Update in GridView in ASP.Net using C#. I would really appreciate your help. Thanks

Manage new windows in GeckoFX webbrowser

Hi there. I have been studying web automation for a while, using GeckoFX. Now I have encountered a problem - I cannot found any information about how to control GeckoFX's Webbrowser in new windows. Opening popups is integrated in GeckoF...

Generating Charts from Data in MMSQL and sending them as attachment (PDF) in email

I am currently in a state of doubt whether I am doing the things in the right way. Basically, I have a task where data which is stored in a normalised db in MSSQL needs to be queried for so as to display them in different charts. These chart...

How to send emails in VB.NET using multithreading?

As I'm not familiarized with VB.NET I am requesting help for my last school project this year. So I have a ListView with many emails and want to send a certain message to those emails but using multithreading because If...

Gridview is only adding one item. However i want it to add both items

My listbox2 items are the items needed to be added as columns. i am using a button to add items from listbox1 to listbox 2. so lets say if listbox1 item x,y coordinate is added to listbox2 item then i need to add column x,y coordinate to the grid...

Gmail API C# code

hi , im working on a function that will save the attachment file in Email via Gmail using gmail API code(C#). but i keep getting an error that saying :  An unhandled exception of type 'Google.Apis.Auth.OAuth2.Responses.TokenResp...

Can someone help me annotate this code, I don't fully understand it

This was the only piece of code that I could find to clear all the radio buttons in my form but I don't know how to explain it. I've only been learning basic C# and can't find a clear explanation for the code or how it works. public IEnumerabl...

xamarin

how to learn xamarin

How to remove restrictions for a secured PDF..? C#

Hi guys, How to allow copy content option for a secured PDF. Currently am using Spire.PDF library, it is giving result as I except, it is a free version supports only for below 10 page PDFs, but my pdfs have more than 200 pages. Any other solut...

Problem in adding a button to a page.

Hi guys. I have a problem in adding a button to a page. When I add a simple button to a page and reload the page it loads correctly but when I click on the button I get the following error: "Failed to load viewstate. The control tree into which...

How to Hit Delete API of MVC5

Hi, I am trying to hit a MVC web API for deleting the record but i am getting the error that no resource found. I am able to hit the API using PostMan and fiddler but i am unable to hit it using Rest Clinet. Here is my code var request = ne...

Circular reference exception while Serializing DataTable object in .Net

How to serialize DataTable object in .Net Hi, While working in a .Net project, I am facing an Exception while serializing DataTable object using JavaScriptSerializer. The Exception I am getting is "A circular reference was detected while...

How to return an image from Asp.Net MVC Controller

Hi,      While working in a Asp.Net MVC project, I am stuck in a issue that how to return an image from MVC Controller ? The real senario is that I have to return an image among various images (that I have kept in the ...

How to Hide TabPages dynamicaly

Hi..! I am working on Windows application using c#, in which I am using a TabControl. What I have to do is to open a tabpage dynamicaly on user's choice i.e if the user clicks on the NewUser button then the "New User" tabpage should get open ...

AppendAllLines() function in .Net framework 3.5 or similar

Hi ! I was using System.IO.File.AppendAllLines() function in .Net Framework 4.0 but due to some reason I have to migrate my project into .Net Framework 3.5. But in .Net Framework 3.5 I am not able to use this function. Following is the ...

How to get value after merging two columns from two different DataTables?

Hi..! I am working on a Asp.Net application where I got stuck in a issue in which I have to merge two column values of different DataTable into another DataTable.... If anyone has any idea please help...! Thanks in advance

Does anybody know reliable way to get MAC address of Client PC using ASP.Net / C#

Does anybody know reliable way to get MAC address of Client PC using ASP.Net / C#. I am using framework 3.5. Below is the code I am using working fine on locally / IIS. But this works on a site having full trust level. But doesn't work ...
Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: