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 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.
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
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.
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 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.
We are currently building a WPF solution in Blend 3 and Intellisense is extremely slow.
Visual Studio 2008 and 2010 beta 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
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 :)
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"
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?
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.
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've got my interpreter up and running - quite bug-free and stable for now - now I want to add some visual options to my language to play around.
What is a good GUI library easy to use and mainly easy to embed and "link" to my programming language?
What general rules do I have to follow?
I'm currently on XP with Microsoft Visual Studio 2010.
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 need a java program to get the current date without timestamp
Date d = new Date();
gives me date and timestamp
But i need only date, without timestamp. I use this date to compare with another date object that does not have timestamp.
on printing
System.out.println("Current Date : " + d)
of d it should print May 11 2010 - 00:00:00 .
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
Hi,
I need to convert to the date format yyyy-MM-dd'T'HH:mm:ss from 2007-04-16T00:32:58-08:00 .
I need to convert to the date format EEE, dd MMM yyyy HH:mm:ss from Tue, 11 May 2010 09:02:08 GMT+00:00.
Any one help me to solve this.
Thanks in advance.
Does Team Foundation Server 2008 or upcoming 2010 work with perforce as the SCM tool? I haven't been able to find any documentation on the web indicating whether or not this configuration is supported? I apologize if this question has been answered elsewhere.
As the title asks, what's the difference between "Stop Debugging" and "Terminate All" in Visual Studio (I know those options are available in 2008, but not sure if it's called the same or something different in 2005 or 2010) ?
With the recent announcement of .NET 4.0 and Visual Studio 2010, it is becoming ever more difficult to keep track of what .NET Framework versions build on what version of the CLR and belong with which version(s) of Visual Studio.
Is there a definative table that shows these relationships?
Hey.
I'm trying to format a date from a string into another format.
For example: 2012-05-29 23:55:52 into 29/05 *newline* 2010.
I just don't get the logics behind NSDate and NSDateFormatter, I think..
Any help will be appreciated. Thanks :)
I need to get the exact start and end dates (month, day and year) of a given year.
E.g., 2008
Jan. 1, 2008
Mar, 30, 2008
Any thoughts on how to do this?
array = [2007, 2008, 2009, 2010]
array.each do |a|
#code to get array of date for a (year)
end
Hi all.I am trying to get date format from Day name and time like "Monday" and second string "08:15" and it must like 10:05:2010 08:15 and then I will make subtracting from date of today. DateTime.Parse("08:15") it works but it outputs todays date. I want to get date of day name. I also usedDateTime.Parse("08:15").AddDays(1)it gaves me next days date.Here I want to get date of next Monday with and "08:15" time.