I want to convert a tab delimited text file to a XML file. I was able to do it with a single character delimiter. But how do i extend it to tabs? I am coding in C# and using Visual Studio 2010.
Whether anyway to find first date and last date in a month. Suppose have the date today as 21-04-2010, i want to find the first and last date of this month in php. I did this in mysql, but i need in php. Any one can help, Thanks in advance.
Since the release of VS 2010 I've seen F# more strongly advertised by Microsoft. What are the core benefits of using this language? What problems does it most naturally lend itself to? What is the learning curve like?
I have a complex inheritance structure in my data model. A majority of classes in my model (which is designed in VS 2010 with a DB generated by it after) are derived from 3 basic classes. And only these 3 classes can be found among the context members. How do I use all the derived classes at all?
I have a certain config.xml file in one of my projects (Silverlight class library) in a folder in the solution. It's build action is set to content. In that same project I am trying to load the xml file by saying:
XDocument xml = XDocument.Load("/config.xml");
This unfortunately is not working. Upon inspecting the xap file, I see that the xml file is not being copied to it. I am using Visual Studio 2010 RC.
Hello TO All:
I saw the Example of Mr. Bob regarding Delphi 2010 Datasnap, I am impressed. But my question is what if the client is connected thru proxy server? how could I define the proxy in the client?
thanks...
Hi ,
I added Designer support for my control.
I got the following exception when setting the property value like below.
var colStyle = visibleColumn.Properties["PropertyName"].SetValue(Value);
The same above code works fine for VS 2010 project
but it shows the following exception for VS 2008 project
InnerException: System.Reflection.AmbiguousMatchException
Message="Ambiguous match found."
Source="mscorlib"
when ever i write the following line of code any where in any app i program with delphi
ShellExecute(self.WindowHandle,'open','www.yahoo.com',nil,nil, SW_SHOWNORMAL);
kaspersky 2010 beeps this message
''behavior similar to pdm.hidden data sending. detected''
why is that and how do i get rid of this
note: i am using delphi 2007
We are in the process of integrating ASP.NET Business App with Sharepoint. I have some Design questions.
Requirement - From ASP.NET buz application we upload document to Sharepoint Doc Lib 2010 using Web Services. And perform a Search using Serach web service. I would like to know from group are there any disadvantages doing this? Performance etc .. What kind of seacurity consideration i need to be thinking of.
Default syntax for Header set Expires is
Header set Expires "Wed, 21 May 2010 20:00:00 GMT"
and default syntax for ExpiresDefault is
ExpiresDefault A2592000
OR
ExpiresByType image/gif A60
I want to use such a syntax for Header set Expires, that is I want to pass an expires time in seconds after access. how can i do this ?
Hello,
I am trying to parse dates in RFC1123 format (Thu, 21 Jan 2010 17:47:00 EST).
Here is what I tried but none worked:
DateTime Date = DateTime.Parse(dt);
DateTime Date = DateTime.ParseExact(dt, "r", null);
Could you please help me out with this?
Thanks,
Ruby :)
When I change on proxy-server page from cnn.com (I add javascript, that call document.location), result of the document.location is some url of advertisement: http://ads.cnn.com/html.ng/site=cnn_international&cnn_intl_pagetype=mmst&cnn_intl_position=336x850_rgt&cnn_intl_rollup=asia&page.allowcompete=yes¶ms.styles=fs&tile=5656033441721&domId=894131
and not current url:http://edition.cnn.com/2010/WORLD/asiapcf/04/13/soccer.world.cup.pakistan/index.html?hpt=C1
Do you know, where can be problem?
We are currently building a WPF solution in Blend 3 and Intellisense is extremely slow.
Visual Studio 2008 and 2010beta 2 do not have any problems, Blend 2 did not have any issues either.
How would it be possible to disable Intellisense in the XAML editor.
Many Thanks,
KShaban
Hi all,
I have to make a custom webpart in sharepoint 2010 to customize defaults form of SP List.
But, the custom form i make have a field must get/set data to field of other list.
Sample :
I make a custom create custom Editform.aspx for List A by add a webpart to this page, that add. but in it have a text box that load data from a field in List B. is it possible to use method FieldName in TextField class ?
Thank alot.
Assume in my text box user enter like
18-06-2010 ,
Validation RULE if date is greater then current date then program should through the validation error like ,
PELASE ENTER PAST OR CURRENT DATE, DONT CHOOSE FUTURE DATE ,
Thanks
My Items table contains items with each item has a specific date. I want to generate a report that displays items between two different dates. For example, I'd put two timedatepicker controls so the user selects From: 24/9/2009 To: 19/3/2010 and then press a button to generate a report of items between these dates.
I'm using Report Viewer control btw not crystal report.
I'm building a bulletin board site (in 2010) and I'm sure this must be simple but again it doesn't seem so. Anyway on my default page I have a query webpart showing the latest items and what I need is just a button at the top of the page "Add new item" which would show the popup and allow users to complete the form just like it works on the display list items form.
I've looked at AllItems.aspx but can't even see the "Add new item" button to copy!
Any ideas?
Thanks
Dan
strdate=15/06/2010
DateTime dt = DateTime.Parse(strdate, System.Threading.Thread.CurrentThread.CurrentCulture.DateTimeFormat);
i cannot able to get the datetime value as dd/mm/yyyy.
it is giving exception 'string is not recognized as a valid datetime'
oly if it is in 06/15/2010 it is working. how to get the same format in dt.
In my 2nd ASP.NET MVC project I'm facing a very weird problem: when I call the SubmitChanges method of the DataContext class, nothing updates in the database. It's weird because everything works fine with my first project.
I'm using a remote database created in Sql Server Management Studio, I tried doing some queries there and in Visual Studio 2010 (where I have the connection to the database), they all work.
Where might the problem be hidden?
I'm trying to use a WSDL Top Down approach to create a Web Service in Visual Studio 2010.
I used Eclipse's WSDL GUI Editor to generate a WSDL file (CalculatorWSDL.wsdl) which uses the SOAP method for communication.
I also used wsdl.exe to generate a C# file (Calculator.cs).
Now, I'm not sure what to do next. How do I actually use the Calculator.cs on the server and/or client?
Hello,
I am trying to find a good resource on web and load testing. I'm using Visual Studio 2010 ultimate and, while i'm sure it is too early for much material to be released, i'm hoping there are some good resources for Visual Studio 2008 that are still relevant. While MSDN has some good information I'm looking for something more cohesive that i can view on my way to/from work - hence a book or a video
Thanks in advance,
JP
I have a table of events with a recorded start and end time. I want to find all events that occur on a specific date. Some events started a year ago and some will continue farther ahead.
I would like to be able to pick for example May 20, 2010 and find all events occurring on that date.
I have the date format string dd-mm-yy. Please can you tell me how to add hours and minutes to the string (i.e 13-03-2010.21.03) ....
DateTime.Today.ToString("dd-mm-yy") ?
In the upcoming release of Sql Server 2008 R2 (aka Sql Server 2010) can I write:
a) SSRS Extensions (eg Custom Authentication) against the .Net 4.0 runtime?
b) Sql Server CLR procedures in .Net 4.0?
Thanks,
Dan