|
i don't know if the user will enter 2009 or 2008 or any month i want to take the data from the user
modified on Tuesday, June 2, 2009 4:19 AM
|
|
|
|
|
Then you just use variables in the call to the DaysInMonth method instead of the literal values used in the example.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
|
Have a look at this:
private void button1_Click(object sender, EventArgs e) {
button1.Enabled = false;
int year = dateTimePicker1.Value.Year;
int month = dateTimePicker1.Value.Month;
DateTime start = new DateTime(year, month, 1);
dateTimePicker1.Value = start;
int days = DateTime.DaysInMonth(year, month);
for (int i = 0; i < days; i++) {
dataGridView1.Rows.Add();
dataGridView1.Rows[i].Cells[0].Value = start.AddDays(i).DayOfWeek;
dataGridView1.Rows[i].Cells[1].Value = start.AddDays(i).ToShortDateString();
}
}
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
a very Clever man this what i want to reach thank you
|
|
|
|
|
Hi =),
I want to draw the content of a pdf or postscript file on on a graphics object.
I searched already, but i just found nothing useful.
Does anyone of you know how to do that ?
thanks in advance.
|
|
|
|
|
I want the browser(IE) to show empty in its window intially for a particular period of time,
How can I do this in c#?
Normally in VC, WM_PAINT is the message that makes a request to paint a portion of an application's window.
In c#, How can I paint the a portion of IE window?
Is there any other methods to achieve this?
|
|
|
|
|
Hello experts
I am deploying project1 which contain another 2 projects.when i finish setup and run it then that another 2 project forms not working.Is there any mistake done by me while deploying it?
tel me,project at finish line,Fast.
|
|
|
|
|
Good morning KIDYA
I you have a Solution with Two Projects , atleast one must Depends on another one, lets take an example
i have a Solution with a Website and a Class Project named (DAL) and another Class Project named(BLL), So you have to set a reference in the BLL Project to DAL and add a reference of a BLL in the Website.And when i create a Setup project Everything will work, i suspect that you did not add references to your Project.
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.somee.com
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
Hi all,
I need to execute a perl application from c#.net.
There is a perl application,It accepts 4 parameters and display the result.
Please guide me for below points
1.How to execute the perl application from C#.net?
2.How to pass the parameters to perl application from c#.net?
Please help me..
thanks in advance
|
|
|
|
|
Is that a problem for you: Link[^]
|
|
|
|
|
Hi,
Please help me to solve My problem. I am new To use Linq To Sql in VS 2008
Problem :
I am using Linq To Sql to develop window aplication. I have one dataclass1.dbml file on which i have drag and drop the database table that i required for writting linq queries. At this time it saves connection string in app.config file and settings.designer.cs file which is hard coded and this is what i dont want. Because Whenever I install My application(i.e. EXE) at the Client side it is not fix that the server name is same as in connection string. I need to change it at runtime because i need to provide server name and Database name that are on the remote server. So please tell me how can i provide the connection string at runtime.
Thanks
.
|
|
|
|
|
You can either use a Connection Dialog like this[^] and let the user select it, or use the techniques used in the article for filling the lists, to locate the server/database automagically.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hello Experts,
i have got above error in my project properties->Resources->There is already another resource with the name 'Project1'.and may be interrupting when i am deploying my project.
help me!!
|
|
|
|
|
I guess you already have a resource named project1.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Well man, I don't have much experience but the same thing happened to me, just like your explanation, In my case, adding a resource with the same name. To fix it.. open the file resource.resx and unregister repeated.
I hope this fix your problem and the future programers's problems
|
|
|
|
|
I've had occasions where it's been quicker to just
a) delete the Resources.resx file (in Solution Explorer under your project Properties) and
b) re-add the file (open up the project properties, click on resources and look for the blue-link offering to add the Resources files)
HTH
Matt
|
|
|
|
|
Respected Friends
I am Facing a Problem in Crystal Reports11.
I am using Border lines on total amount in report.
when i call this report in Visual Studio2005.
and when i view the report in Studio then it shows some border lines bold some unbold.
my product is at the stage to deliver our client so plz kindly solve this issue.
thanks and regards
Muhammad Ramzan Chaudhary
Software Developer Engineer
ramzan_danish@yahoo.com
modified on Tuesday, June 2, 2009 3:36 AM
|
|
|
|
|
I suggest you read the link in my sig, it has the answer to your questions.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
|
|
|
|
|
Sorry I dont underStand what you said.
|
|
|
|
|
Interestingly, I am also not sure what exactly you are asking.
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
|
seeramzanse wrote: Dear Listen first of all i want to clear that i am new in software development so i need much help
now listen
If you're new to software, why are you delivering products to clients, without having someone who knows what they are doing, internal to your project, who you can ask about this ?
Christian Graus
Driven to the arms of OSX by Vista.
Please read this[ ^] if you don't like the answer I gave to your question.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
|
|
|
|
|
Its my task to remove this bug.
And i have to report this to my project manager.
i am not alone our whole team is working on this project.
I am a part of this team.
and this product is nearly to deliver.
|
|
|
|
|
seeramzanse wrote: Its my task to remove this bug.
And i have to report this to my project manager.
i am not alone our whole team is working on this project.
I am a part of this team.
and this product is nearly to deliver.
So what?!
There are a set of rules[^] that you need to follow to ask a query here. If you can't keep it in accordance to that, you won't get any help. You may start by avoiding the word "URGENTZ". Nobody really cares if it is urgent.
It is a crappy thing, but it's life -^ Carlo Pallini
|
|
|
|