votes
Lambda expression
How can I exclude ids from list collection. I would like do do something like this Where(Function(name) name.id <> "100" And name.id <> "101") using the in operator?
blah blah blah is here! blah blah » Close
How can I exclude ids from list collection. I would like do do something like this Where(Function(name) name.id <> "100" And name.id <> "101") using the in operator?
How can I append to the current date time stamp? For example; I have a datepicket that only passes date, but I need to append the timestamp before saving it in c#, any idea ????
How can I convert the line below line to vb.net var query = from u in db.Users select new { FirstName = u.FirstName, LastName = u.LastName, FullName = u.FirstName + " " + u.LastName };
Having the following rows Maskid. Desc. Cost 1. One. 5 1. One 10 2. Two 20 How can I get the following result 1 one 15 2. Two 20 Using linq
var emailRegExp = /^([a-zA-Z0-9]{1}|[a-zA-Z0-9]{1}[_a-zA-Z0-9-])+(\.[_a-zA-Z0-9-]+)*@([a-zA-Z0-9]{1}|[a-zA-Z0-9]{1}[a-zA-Z0-9-])+(\.([a-zA-Z0-9]{1}|[a-zA-Z0-9]{1}[a-zA-Z0-9-])+)*\.([a-zA-Z]{2,6})$/; How this be convert to vb.net? Thank ...
If I have the following string "localhost/mypage.aspx?Flag=Y", using regular expression in c# how can I extract MyPage.aspx and Flag="Y"
Need a regular expression in javascript to validate if a "&" or "*" exists in the string
The code below when it's being ran I'm getting a promt to Open\Save, how can I open the created word document in the browser window withot the prompt. FYI, I'm exporting crystal report to memory stream. Thanks System.IO.MemoryStream s = ...
Calling RemoveAll on a collection, is there a way to wire an event so as the collection item is being removed a method will be triggered?
How can I compare 3/11/2010 5:45 Pm to 3/11/2011 5:46 Pm, to see if they are equal or not in JavaScript.
public enum CssTypes { background, background-color, background-image } How can I make the above enum a valid one? Thanks
"^([0-9]|[1-9][0-9]|100)(\\.00)?$", how can I fix this regular expression to only allow input 1.00 and 100.00(no inputs of 0.00 allowed). Thanks
Need regukar expression to remove "," and "." from a string in javascript