.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Top 5 Contributors of the Month
Post New Web Links

Contains v begins with int

Posted By:      Posted Date: September 10, 2010    Points: 0   Category :ASP.Net
Hello,    How can I make this query work: int searchText = "9"from c in storedb.Product_Categories.AsEnumerable()                        where c.Category_Key.StartsWith(searchText)                        orderby c.Category_Key I am using it in a repository for a Jquery Autocompete, But when I type "9" I want to to show all results where first letter is "9" then"98" should show all results with first letters as "98". Thanks 

View Complete Post

More Related Resource Links

SP 2010 Form Based Authentication username begins with "i:0#.w|"

Hello there! For the life of me, i can't figure out why SharePoint keeps putting the phrase "i:0#.w|" infront of everyones username / accounts. Both on mysite and portal sites. A quick bing search revelaed that i am not the only one: http://fangdahai.blogspot.com/2010/06/i0w-is-still-there-in-sharepoint-2010.html. Anyone have a solution to fix this annoying problem? Thanks!

start animation that begins with current value (handoff)


I have a WPF Datatemplate that contains a some DataTriggers that start animating the color of a visual. How can I start the animation beginning with the actual value the color propery currently has? Since there might be another animation currently acitve I can not start a new one but when I remove the animation using DataTriggers ExitAction and RemoveStoryboard the position property is set back to its default value. Instead I would like handoff one to the other.

Is this a limitation of WPF that simply can not be done?

<DataTrigger Binding="{Binding Path=State}" Value="Active">
        <BeginStoryboard x:Name="activeStoryboard" HandoffBehavior="SnapshotAndReplace">
                <ColorAnimation To="Green" FillBehavior="HoldEnd" Duration="00:00:0.25" 
                                Storyboard.TargetProperty="Color" />
        <RemoveStoryboard BeginStoryboardName="activeStoryboard" />
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  Silverlight  Others  All   

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend