I have written a Web Service in C# using visual studio 2005. One of the functions is to generate reports using MS excel. The problem I have is the following.
While I am debugging the web se...
Hi,
C# asp.net
I have a gridview in place with a master edit and master save button that edits and saves for entire columns rather than just row by row etc....
The problem Im having i...
I'm trying to use the ternary operator to do the following:
int nRetValue;
// Do some stuff
(nRetValue == 1) ? MyCt1++ : MyCt2++;
This doesn't work, why?
(I want to increment MyCt1 if n...
I am not sure how to handle compile time errors that occur when a method has been removed or commented out.
For instance, I deleted a ToolStripMenuItem that has a method associated with it...
I've got a 3rd-party Access application that frequently flakes out and the vendors solution is to "recompile and then compact & repair" every morning. I do not want my users to have to manual...
Why is it the "Menus & Toolbars", "Common Controls", "Data" and other toolbar items are grayed out (disabled) in VS 2005/2008 while in design mode on a web form?
I've started writing a .net web service. I understand the concepts of how a service works but I'm looking for good information on how a client application would actually post to the web serivc...
hi please see the attached file for the complete code. i have a Gridview that's been populated from a database table. The Location column in the Gridview contains the link to a particular dir...
From another post on this site, I got the attached code snippet. The problem with this code is that it retrieves the first instance of Visual Studio that it finds. If multiple instances of VS ...
I need to create a Windows application in C# where the user can open a PDF document, and then use a pen like tool to make marks on the PDF and then save it. I have the code so that I can comb...
Please provide a few examples of what
Return 0 vs Return 1 vs Return -1 do.,
along with definitions of what they mean.
Hi
I have a table that has EmpID, and I create a column called EmpPic with expression as [ EmpID + '.jpg' ] because I do have employees pictures saved using their ID.
Finally, I added a ...
How can I enable save button if one of the controls changes. See attached file.
Hi,
I need to add a little JavaScript function in a C# asp.net file (part of a website).
This file doesn't allow for the <head>, <body> or <html> elements. It gives me the error:
"Only ...
I've declared the variable "singleEntry" below as a TextBox. Not sure I've I should have declared the variable type as String. None the less, I want to display the data you enter in a Textbox ...
I have a string which looks something like this
{Rare,Medium,Gennemstegt}{Pommes,Bagt Kartoffel{Hvidløg,Krydder,Smør}}{Sovs1,Sovs2,Sovs3}
it can ofcause change alot - depending on user inp...
Hi,
I have an Excel file with 3 work sheets namely (Order of Tabs is) 1)ZR 2)JIMP 3) STON
When I read them the Order is not accordingly .. The array is populated like list(0) = STON
...
Hi,
I'm working on this CMS (a website) in C# that has several .dll files in the Bin directory.
I've coded a .dll myself, but although I get no errors, it's not working. I suppose it mig...
Experts,
I have attempted to research the answer to this question, but have not been successful.
I am trying to insert an arrow at the end of the text of a LinkLabel, specifically Unicod...
I'm a C# developer getting belatedly into the ASP.NET aspect of the language. And read "web 2.0" on job descriptions.
Could someone tell me in layman's terms what this is? And what's it m...
I'm receiving the following error message while posting to a Web Service. "There is an error in the XML document" I really don't have much more information than its a pretty standard submissio...
Hi,
I have this function that accepts a string as parameter.
Problem is that the string has several "\" characters and I don't know how to escape them.
What I have:
ExecCommand("C:\P...
I've been looking throw all the example and I can't get them to work! I've a form that contains information on closing of the form I want to be able to automatically save the information if t...
C# - .NET WinForms
In my example there are 2 objects: the MainForm, which has a custom control "control1" in it, and a UserControl "control2" that becomes a child of the MainForm.
I need to ...
I need to store a list of Permission objects I will create and attach it to the Session object in ASP.NET 2.0 using C# and Visual Studio 2005. Could someone give me a tip how to do this?
t...