|
How much you got? How much not to tell your instructor that you're asking for code?
|
|
|
|
|
I know who can help, your professor!
Look dude, in your text it says:
Course: Diploma in Engineering Informatics
Module: IT7133 – Principles of Computing
So it looks like you're going for some diploma. What good is it for us to do your homework / class assignments for you? Anybody here will tell you to take a stab at it yourself and when you run into trouble, ask questions, show your work, explain what happened and what you expected to happen. In other words, show the effort yourself and there will be plenty of help here.
Most of us here have already passed these courses.
|
|
|
|
|
Can you help pay my bills? Can I send you my mortgage payment for this month? Can spare the cost of child care? Can pay my MSDN subscription? If you not willing to pay any of these, why should I code your assignment.
|
|
|
|
|
Noone is going to help you do your project from scratch. Try some stuff, and request for help on any issues you run into.
|
|
|
|
|
What I don't get about the homework beggars is why you would even want someone else to do this for you. If you can't do these sorts of things on your own then why are you even wasting your own time? You will have no chance of ever being successful professionally unless you can do these things yourself, so why waste anyone's time?
Find a different career path as this one obviously doesn't suit you.
|
|
|
|
|
Actually, this may already be “second” or “third” hand …
He’s already promised someone that he’ll do it for $25.00; now he needs to find someone whole will do it for less than that … and so on; and so on.
(Just give them the source code to “anything”; they’ll never know the difference).
|
|
|
|
|
Hi Techies,
I am using .NET framework 4 chart controls in my system .I have a pie chart which represents the percentages of the user answering questions for each subject(e.g. history,maths etc).So,when the user answers few questions and then views the pie chart, it will show how many answers are correctly answered in each subject. I need to show the percentage of wrong answers in a subject within the pie slice showing the correct percentage (e.g: user answers 5% questions correctly, and 1 % wrong which has to be showed in a different colour ). So,basically I need to show a shaded region in a different colour within a pie slice which has its own colour which is set. E.g: In a blue region,I need to show a part of it as red.Is there any way this could be done??
It would be really helpful if you could give me some ideas on how to do this.
Thanks a lot for the help.
|
|
|
|
|
Dear Sirs,
I've looked and looked and can't seem to come up with the perfect solution. So, since CodeProject is perfect, this will cure my problem.
I'm getting System.String datetimes from a server (Microsoft CRM if you care). They're in SQL format ("2010-07-23T17:14:40-04:00"). I want to read that in as a .net System.DateTime type with the timezone information preserved, then convert it to local time. This process happens in various timezones, and I'm having trouble staying in synch. Basically, I get lots of CRM records from CRM server (which seems to stamp all the timezones with this Brazilian time (-4)), and I want to write down in my config file the latest one I saw (so I don't go back and pick up values that I already have). I would like to write it down in local time, though. Here's a distillation
I want to take the string "2010-07-23T17:14:40-04:00" and, run some code
System.Datetime Get_Local_DT(string val);
that will return "2010-07-23 15:14:40" in Central time (-6) and "2010-07-23 16:14:40" in Eastern Time (-5). Let me know what you think.
In Christ,
Aaron Laws
http://ProCure.com
|
|
|
|
|
See the System.DateTimeOffset datatype.
|
|
|
|
|
Hi,
I wanna know if is possible to put a iframe in masterpage file and the contentplaceholder inside the iframe.
Thanks.
|
|
|
|
|
This has nothing to do with C#. You'll want to ask this in the ASP.NET Forum[^].
|
|
|
|
|
Yes its possible, you could try that instead of spending time in writing question.
TVMU^P[[IGIOQHG^JSH`A#@`RFJ\c^JPL>;"[,*/|+&WLEZGc`AFXc!L
%^]*IRXD#@GKCQ`R\^SF_WcHbORY87֦ʻ6ϣN8ȤBcRAV\Z^&SU~%CSWQ@#2
W_AD`EPABIKRDFVS)EVLQK)JKQUFK[M`UKs*$GwU#QDXBER@CBN%
R0~53%eYrd8mt^7Z6]iTF+(EWfJ9zaK-iTV.C\y<pjxsg-b$f4ia>
-----------------------------------------------
128 bit encrypted signature, crack if you can
|
|
|
|
|
Hi all,
I'm developing a custom WebPart written in C# for MS Project EPM 2007 (Sharepoint 2007 engine), using Visual studio 2008, VseWss 1.3 and the .Net framework 3.5.
I also installed the ASPAJAXExtSetup.msi file and added the AjaxToolKit.dll binary into my project.
My Webpart display a simple DateTime.Now (among others). I wish to use an updatePanel and a Timer to refresh my string every second but unfortunately it doesn't work...
Here is my code:
protected override void CreateChildControls()
{
base.CreateChildControls();
try
{
if (ScriptManager.GetCurrent(this.Page) == null)
{
this.Controls.Add(new ScriptManager()
{
EnablePartialRendering = true
});
}
UpdatePanel updatePanel = new UpdatePanel();
updatePanel.UpdateMode = UpdatePanelUpdateMode.Always;
this.Controls.Add(updatePanel);
lblTimer = new Label();
lblTimer.Text = DateTime.Now.ToString();
updatePanel.ContentTemplateContainer.Controls.Add(lblTimer);
Timer timer = new Timer();
timer.Enabled = true;
timer.Interval = 2000;
timer.Tick += new EventHandler<EventArgs>(t_Tick);
}
catch (Exception ex2)
{
Literal ex2b = new Literal();
ex2b.Text = ex2.ToString();
this.Controls.Add(ex2b);
}
}
protected void t_Tick(object sender, EventArgs e)
{
lblTimer.Text = DateTime.Now.ToLongTimeString();
}
What is the problem?
Thanks in advance
|
|
|
|
|
I'm not sure it is wrong the way it is, however I tend to set all timer parameters before enabling/starting it.
|
|
|
|
|
First, this should have been in the SHAREPOINT forum.
Second, you have to do better than "it doesn't work". What doesn't work? What is happening?
Are you sure the required entries for ajax have been made to the web.config?
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
First, this should have been in the SHAREPOINT forum.
Sorry, I will know it for next posts.
Second, you have to do better than "it doesn't work". What doesn't work? What is happening?
Nothing happens. My string stays fixed.
Are you sure the required entries for ajax have been made to the web.config?
Yes, I am.
Thanks for your help
|
|
|
|
|
Hi,
I've followed the following post ( http://blogs.msdn.com/b/sharepoint/archive/2007/03/02/integrating-asp-net-ajax-with-sharepoint.aspx[^]
but I have a problem for adding a ScriptManager into SharePoint MasterPage.
There is no "<WebPartPages:SPWebPartManager id="m" runat="Server" />" tag in my default.master file so i've added the script manager (<asp:ScriptManager runat="server" ID="ScriptManager1"></asp:ScriptManager> ) somewhere else in the file but when I try to upload the file, I get an error: "unknown server tag 'asp:ScriptManager'" and in my webpart page (with a try/catch), i get the following: "System.InvalidOperationException: The control with ID 'updatePanel1' requires a ScripManager on the page..."
How to solve the problem?
Thanks in advance
|
|
|
|
|
crosslink06 wrote: There is no "<webpartpages:spwebpartmanager id="m" runat="Server">" tag in my default.master file
Impossible
crosslink06 wrote: requires a ScripManager on the page..."
Quite obviously the script manager must comee BEFORE the control that is trying to use it. That's why script manage is placed at the top of the page.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Here is my default.master file:
X
modified on Sunday, August 1, 2010 6:20 PM
|
|
|
|
|
Why are you wasting space and time by posintg this? No one asked for it and the time you wasted to do so could have been spent determining where this crap came from, it is not the default master page for MOSS or WSS
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
OK - Furthermore, it was not the correct master page, sorry about that.
I've added the AJAX tool kit .dll, edited the web.config and the the correct default.master files, then resetted IIS, built and deployed my solution.
Now, I get an error when I do a postback from my webpart. In addition, even if I modify and deploy the solution, nothing happens, the webpart seems to be blocked...
Thanks for your help
modified on Sunday, August 1, 2010 6:54 PM
|
|
|
|
|
|
Indeed, with a Timer it's working but during a post back, I get a javascript error:
"Sys.WebForms.PageRequestManagerParserErrorException: The message received from the server could not be parsed. Common causes for this error are..."
That why I tryed to follow your trick: http://msdn.microsoft.com/en-us/library/ff650218.aspx[^]
For that, I downloaded the following http://www.microsoft.com/downloads/details.aspx?FamilyId=91f3c22c-8be7-4721-9449-84f699337d55&displaylang=en[^]
Then deployed the solution containing the AjaxSupport.dll into my server and add the reference into my web part project.
Then, I added the following within my default.master file
<%@ Register
Assembly="Microsoft.Practices.SPG.AJAXSupport, Version=1.0.0.0, Culture=neutral, PublicKeyToken=8768CCAE1C3C9EB2"
TagPrefix="spg"
Namespace="Microsoft.Practices.SPG.AJAXSupport.Controls" %>
<spg:SafeScriptManager ID="SafeScriptManager"
runat="server"
EnableUpdatePanelSupport = "True"
/>
Then, in my web.config, I added a safecontrol tag and resetted IIS:
<SafeControl Assembly="Microsoft.Practices.SPG.AJAXSupport, version=1.0.0.0, Culture=neutral, PublicKeyToken=87###########", Namespace="Microsoft.Practices.SPG.AJAXSupport", typeName="*", Safe="True" />
Now, I'm getting an error by uploading my default.master file:
"The Control type 'Microsoft.Practixes.SPG.AJAXSupport.Controls.SafeScriptManager' is not allowed on this page. The type is not registeres as safe".
Need some help, please.
Thanks
modified on Tuesday, August 3, 2010 5:52 AM
|
|
|
|
|
I've found! The problem didn't come from the environment but from my code.
I tried to set visible a textbox which didn't exist yet.
Thanks for your help.
|
|
|
|
|
Hi,
I have a DataTable that is being generated during runtime with values from the memeory. Now my question is,is there a way you can run a sql query against the data in the datatable so that it can return data in a specifik format?
In my datatable there is for example three columns called A,B,C and I want to do someting to retrieve that data with the column names Name,Surname,Age instead of A,B,C for example. Like giving an alias to the column names when retrieving the data from the datatable.
Any Help is greatly appreciated.
|
|
|
|