Articles & Videos
C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).
What is the difference and how would I "set" the following variables?
Dim s = New MailAddress
s = ??????
Dim t = New MailAddress()
I have coded in Visual Basic for a few years now and can figure most things out. But recently our company has decided to switch to coding in C# due to it being the choice of most of our manufacturing …
I have 3 radio button lists. I want to clear any selections that where made in one radio button list when another radio button is clicked on from a different radio button list.
I have tried using …
Which one of these 2 function is a better approach?? or maybe you have a better suggestion. Thanks!
protected Message ModifyMessage(Message message)
// some code that …
I am using Crystal Report with my C#.Net application.
My report prompts for multiple parameters. I want Crystal Report to prompt for each parameter in it's own window (see images …
I am working on a program which runs on Windows Server 2012 R2. The programming language is C#, using the .NET 4.5 environment. I am having an issue getting the program to communicate with …
I have created a folder in my vs2013 solution called Manuals and moved a pdf file into it and set the property to "Always copy". In my app I open and display the pdf file. Works great in the VS …
I am developing an ASP.NET application using C#.
I have a GRIDVIEW that contains a Dropdown list in 1 of its fields.
The Dropdownlist is defined below the error message.
The offending …
I've few HTML pattern that i would like to capture from a single RegEx expression, but i have difficulties to find the proper expression because some part are optionals.
Yet i've this Expression:
I am developing an ASP.NET application in C# using VS2010.
I use a gridview and within the grid, I validate an input date field titled "txtchkDt".
If the user inputs a date into this field in …
I am looking at the signing of a .NET application. It says:
"This CA Root certificate is not trusted because it is not in the Trusted Root Certification Authorities store."
Screenshots below …
I am developing an application in ASP.NET and I am trying to right justify a column in a GRIDVIEW. I use the following code in my .ASPX file but the values are not being right justified. Do you know …
I'm just looking for some higher level design guidance for this particular scenario.
The 'core' object in the system I'm developing is called a Study. This object along with the …
I am maintaining an ASP.Net application using C#.
If I have a date string in format "MM/dd/yyyy", for ex: 1/1/2004, do you know how I can convert this so that it gets padded with a high order 0 if …
When i insert to db the new row appears at the bottom of the gridview. I want the GridView to have the last inserted record at the top. to be sorted by ID descending.
Looking for some updated input from the EE community. I'm building an FFMPEG project that currently utilizes C#. We're currently hosting on Windows in the Google Cloud Engine environment. Being able …
In my C# application, when I publish it, can I have it create a directory and copy some files into it? Or is there a better way. I want to distribute a pdf manual with it. the help menu in my app…
I have two dates (sd, ed) that are essentially a range sd=startdate, ed=enddate
I want to iterate through each day of the range and sort of eliminate the weekends. Basically I want to take the …
I'm trying to figure out a way to display what is essentially an org chart from a dynamic set of data. I was using a nested repeater to display 2 levels, but I need a way to add a 3rd, 4th, etc. based…
I have the following TextBox/DatePicker in an ASP.NET web application
Is there any way for me to fire an event in my code behind when a date is selected? I'm struggling to even get a …
I have an app that I build in VS2013. I now have a need to build it with one "Conditional compilation symbol" possibly defined. that is, if the symbol exists, the name of the app and some other text…
I am using C# to use the Google Web Services - Directions API.
Can I use the DirectionsResponse and convert that to a Google URL?
Can I then copy it into a web browser to display the result?
I am maintaining an ASP.NET C# application that has a date field named "dtCreated" in a database table with the format varchar(10). This field has values in the format MM/DD/YYYY. For ex: 11/30/2016.…
i m show the data in gridview and now i wont to update data from gridview to database in C# by button click please help me
This article describes a simple method to resize a control at runtime. It includes ready-to-use source code and a complete sample demonstration application. We'll also talk about C# Extension Metho…
Hi, There are a lot of written methos of getting the difference between two dates, but I couldn't find the one I needed. I need to have a real difference like 3.75 months between the two dat…
9,008 points this week
David Johnson, CD, MVP
6,800 points this week
Centurion, South Africa
6,272 points this week
Railway Road Gurgaon, Haryana
5,900 points this week
Apopka, Florida, United States
5,000 points this week