If I want to convert an integer to a string, I neeed to find how to add leading zero's
For example,
int minute = 9;
I'd like the minuteStr == "09"
I do not want to add a leading z...
I have an object with several methods, but I would like to block other objects from overriding it.
Can I use the word "sealed" or "final"?
How do I accomplish this?
newbiweb
Greetings all
I am experimenting with various ways of positioning buttons (typically Insert, Edit, Delete, etc.) on a form (at the bottom of the form is a statusbar with various pieces of i...
I see that the Global.asax is one good place to look, in the Application_Start function.
Where do I find the Session start?
Are there any other places where I might consider instantiatin...
My application contains a reference to an assembly that is part of a different application. That assembly DOES NOT ship with my application. The location of that assembly can vary depending...
I'd like to become familiar with using MSMQ and hopesomeone has a simple C# starter program they can share with me.
Thanks,
newbieweb
if accessing database call (via internet) -- is blocked initially by a firewall (after a fresh install, firewall need to approve the new appliction etc) -- there is approx a 30-second delay be...
I am using C# and have Form1 and Form2. Form1 is my main form which loads first. Form1 has a menu item which then opens Form2. Form2 recieves input from user for desired opacity of Form1. Wh...
Hi,
I am planning to create an online league table, matches etc.. I would like to be able to have a function that will create a auto list of matches for each team to play each other without...
Hi,
I need to retrieve, insert and update data from a table in MSSQL for every 10 seconds. How can I write a console program runnning as service in windows 2003 server by C#?
Is there...
I am developing an application in C#, that connects through COM to a C++ application, which is developed by a third party.
I recieved instructions from the C++ aplication developers, that ...
I can't believe how difficult this is. I am converting from Infragistics to ASP.NET DataGrid.
I have data that takes up 2 columns and ten rows. I then have 3 additional columns I need to...
Hello,
I want to create a user's profil.
It will be in 3 forms.
1st form : there will be textbox, checkbox,.... with login, password,.... and a next button that display form2.
2nd fo...
Howdy :D
I have an Array that is full of numeric ID's (some of the ID's are the same).
string strResultTotal = string.Empty;
strResultTotal = Convert.ToString(Session["titulo"]) ...
hi, i have the code:
obj.Junio2008 = dr.GetDecimal(dr.GetOrdinal("Junio2008"));
but do not work when database sqlserver 2005 Junio2008 = NULL
can you help me?
Please see the attachment. This will explain thing better.
Basicaly, when the Back to Login Page button is selected, the application goes to a page with double login pages. I only need the ...
I am developing one webapplication in asp.net with c#. My requirement is I want to show my account details including password in a datagrid but password must be in hidden format like ****...
Hi,
I am creating an administration section to edit, delete and add data. I would only like the user who is logged in as admin to be able to view this page else take the unauthorised user t...
I would like to draw a cicle on top of a panel I create in design
How do I do this?
Here's my code for the circle
//get the Graphics object from the PaintEventArgs
Grap...
Greetings all
I am trying to create a SIngleton class (see attached) and get complaints: "Error 3 A get or set accessor expected ".
What have I missed?
in advance, thanks!!!
...
Currently we are going to migrate from .net 2.0 framework to .net framework 3.0/3.5.In this we will build service oriented arch(SOA).There we need heavy use of WCF,WPF..etc...can anybody provi...
Hi experts, is there a way to set in VS 2005 such that "the debugger will pause when the value of a variable has changed" ?
I'm trying to add text with the inches sign i.e. 2" into my C# program but it gives me a newline constant error.
cbosize.text = "2""
How do I do it?
i've tried:
cbosize.text = @"2"" ...
Good afternoon expert,
Created a web site in Visual Studio 2205 using C#. Worked well for several days.
Today when I checked it in the browser I got The beige screen with trhe red font\
...
public static void OutputFooter(int count)
{
Excel.Range range0 = excelWorkSheet.get_Range("G15", "G" + (count-1).ToString());
Excel.Ran...