Advertisement

Experts have come up with some helpful tips for getting a solution to your problem fast.

 

Welcome! If you have any general questions about Experts Exchange, feel free to ask me.

 
Time Tested MS Visual C# Solutions: 1376 - 1400 of 1623
 
Attached is a picture of a web page with test data.  I need to be able to open the documents when I click on the link. Any ideas? Currently I am using the below code snippet.  But when ...
Hi experts,          I could not apply the font size from codebehind. I tried 2 things, lblQuestion_1.Text = "<a style=font-size=24px;font-family=Tahoma href='./Default.aspx?mid=" + s...
I was on an interview today and was asked the difference between using a ref variable and an out variable as a parameter using C#.  My answer was not that good. What would you say? thank...
Hello Experts, I am using the chosen date from a DateTimePicker as a paremeter in a method (MethodA()) on a Windows form in C#. Currently I have to select a new date from the DateTimePicker...
Attached is a JPEG of a page on lambda expressions where I saw something I am not familiar with. When create a new Person object, the values were passed in with the columns name.  It looks ...
Hi, I am looking for the most efficient way to trigger an event in C# at a specific time (specific day and hour).  My app will be running as a windows service, so I need it to be as efficient...
hi, I have got a runtime error why creating image from a stream of bytes, the error is Parameter is not valid. here is my code:
I have been using the Application property of the System.Web.UI.Page class frequently. However, I want to centralize some of the functions that use this object in my Business Logic Layer which...
The title seems to be too naive, but I have this issue that I could not get an answer. I have a button in an asp page, which when clicked by an user has to go to server fetch the mail addre...
Can someone tell me how to bring back the dropdown in Standard bar in VS 2005? In this dropdown I should be able to select these items: Debug Release Configuration Manager...
I have a class outside the mainForm with a method in it.  I want to make that method run as a separate thread.  If that method calls other methods in the same class, are they all part of the s...
What purpose does this notation serve? "@UserID"
This is the code that generated this error:  (Funny thing is if I copy the outputted value of the trnDate var and put it in single quotes the records are set in the DB just fine.  However if I...
I'm news on a project and trying to understand some new things I am seeing in the code. For example, this:         private readonly IAuthorizationService authorizationService; is decl...
i have added a button to my detailview that should send and email of certain fields. Below is an example of the code behind the scenes. protected void Button1_Click(object sender, EventArgs...
Hi, I have this C#/ASP.NET .aspx page. I have the following relevant code at the beginning: <script runat="server"> public string ID=""; protected override void OnLoad(EventArgs...
I need to declare and construct a generic list that will contains an object called "Statistics" Could someone please provide me the format for the declaration, constructor and accessors? ...
I want to use this simple code:             if (employeeID == null && yearEligible != null || employeeID != null && yearEligible == null) because I believe it is the same as:         ...
Hi, I'm building this module for a site I'm building in C#/ASP.NET The code follows my signature. I'm getting an error on line: Response.Write(IDPost); saying: "The name Resp...
In my C# .NET application I have 2 UserControl objects - PatientInformationBasic and PatientInformationDetail The PatientInformationBasic collects basic attributes such as Last Name, first Na...
Have a web browser created within a windows application (winform c#). On the same winform, have a couple of buttons -- would like to be able to press one of the buttons for example -- and t...
I have below code in C# with Connection String and using store procedure with @JobID but its not working. Could u tell me where im making the mistake please.... Also I put the connection strin...
Hi, I am working localization in asp.net using c#. And able to do it. Now I want to change the global as well as local resource filesdynamically. Please help with sample code in c#. ...
I am developing an windows application where i  have a list box that contains several items now what i want that user can choose that he can take print start print from item 2 to item 5 not al...
Hi, I appreciate this is quite a noob-ish question but how do you access elements on your main form (often Form1.cs) from another class? For example I have several classes (one for exam...