Hi folks,
I have a MySQL table that stores (amongst other things) a persons date of birth.
Is there any way to sort the table so the next due birthday is at the top?
I have the date stored in standard yyyy-mm-dd DATE format and seperate year, month and day fields so I can sort it by the first birthday of the year (ORDER BY month, day) but I can't seem to get any further.
Any help would be greatly appreciated.
Zagga
I'd like the user to specify a RSS feed address and serialize the information from it. I am not interested in the XML format, but populate a strongly typed object from the XML. My question is, is there a standard that all RSS feeds support (Do all of them have date, title etc)? If so, is there a XSD that describes this. If not, how do I handle serializing a RSS feed to an object in ASP.NET?
Let's say I have something like 30-10-2025 12:53, how could I convert that to an NSDate? I guess there's some class that takes this plus an format string that tells it how the date looks as a string, so it can parse it... where must I look?
I'm making an AJAX call in my symfony project, so it has an sf_format of 'js'. In the actionSuccess.js.php view, I call get_partial to update the content on the page. By default it looks for the partial in 'js' format since the sf_format is still set as 'js'. Is it possible to override the sf_format so that it uses the regular 'html' partial that I already have (so that I don't have to have two identical partials)?
hi,
I want to create one winform c#.net application that will record all the user activity happening on desktop.I want to create avi file for that record format.also want to upload that files to server shared folder.
Please provide me code or sample project which can work on any OS.including vista and win7.
also AVI file size should be compressed.
HI
when an object (having sub objects) is serialized using a BinaryFormatter, what exactly happens? how the object data is stored? how the strings used to map the objects store? I want to know the serialized stream format.
please help me ..
i have created http seesion, using the same http session, i would like to do some get and set operations.
Note : What ever the operation, data is present in XML Format, giving xml file as input. And need to fetch the status.
Is it possible using TCL curl.
Hi,
I need a C# function that takes 2 strings as an input and return an array of all possible combinations of strings.
private string[] FunctionName (string string1, string string2)
{
//code
}
The strings input will be in the following format:
String1 eg - basement
String2 eg - **a*f**a
Now what I need is all combinations of possible strings using the characters in String2 (ignoring the * symbols), and keeping them in the same character position.
Eg: baaement, baaefent, baaefena, basefent, basemena, etc
any help? :)
I need to get a list of tags in a text, make their contents bold, and remove them. Can't figure out how to make it.
E.g. with the following input:
foo [b]bar[/b]
The result should be:
foo bar
I use the following code to extract the tags:
Dim matches = Regex.Matches(OriginalRich.Text, String.Format("(\[{0}\])(.*?)(\[/{0}\])", tag), RegexOptions.IgnoreCase Or RegexOptions.Compiled)
Any help would be appreciated.
I want to create a listing view in which the record will be in this format(basically one record based on other, what approach i should follow) .
My table
Module1
Module1Feature
Module1Feaure2
Module1Feature3
Module2
Module2Feature
Module2Feature2
Module2Feature3
Basically Please Notice that the child records are based on the parent.
Is there any good tool or tool-chain that allows UML images in the .svg format to be created from a textual source file?
The reason for this question is that I want to automate the generation of these images to avoid having to manually create and update this set of images.
I'd like to map my Users to root - so '/:id'. I do the following now
map.connect ':id', :controller = 'users', :action = 'show'
... but I'd also like the links that are generated by Rails to have this format. Can I do a map.resources ... :as = :root or something similar?
Hello all!
I was thinking if there such a function for c language.
I have a char array with data from a text file and i need to convert it to hexadecimal format.
Thank you in advance!
Hello everyone,
I was wondering how I can format the textField that I'm using for a phone number (ie like the "Add New Contact" page on the iPhone. When I enter in a new mobile phone, ex. 1236890987 it formats it as (123) 689-0987.)
I already have the keyboard set as the number pad.
Thanks!
My Windows application GUI is accepting some required application configuration fields from the user. I need to store them of course, but I wanna hide these fields from the user.
I cannot use database to store these configs.
I want to avoid using app.config either. (No app.config encryption)
Any suggestions, Where and in which format i should store fields. (Field example is: Accepting database User credentials, Task Schedule info etc.)
I would like to parse this Gstring with groovy :
Format type : CodeClass, Name, Accession, Count.
def txt = """ <Lane_Attributes>
ID,1
FovCount,600
FovCounted,598
...
</Lane_Attributes> """
And get a map like :
Map = [ID:1, FovCount:600, FovCounted:598]
How can I :
- extract text between tag and ?,
- and convert to a map ?
I have this: 2010-04-08T01:01:00Z
I want to remove the 'T' and everything behind it as well.
Also I would like to rewrite the date into this format: 08-04-2010
How can I do this the easiest way?
Thanks
I have read articles about the differences between SOAP and REST as a web service communication protocol, but I think that the biggest advantage for REST over SOAP are :
REST is more dynamic, no need for creating and updating UDDI.
REST is not restricted to XML format. REST web services can send
plain text, JSON, and also XML.
But SOAP is more standardized (Ex; security).
So, am I correct in these points?
Thanks
how can we extract system time in vb and do calculation ie. adding or subtracing time then store change time in oracle database table in earlier format .
I would lean towards
if (object == nil)
but I've noticed in some tutorials the use of
if (nil == object)
Is this just a style thing, or is there some justified rationale for using either format?