Browse by Tags

Related Posts

  • Help regarding LINQ

    Hello Everyone, I am new to Visual Studio 2008. I want to use LINQ in my application. But i am confused whether i should use nHibernate or LINQ as OR Mapping. Can anyone help me regarding LINQ like: Features of LINQ Databases supported by LINQ(like Oracle, SQL Server, Postgre etc) Comparison between...
    Posted to Data Access and ObjectDataSource Control (Forum) by zeeshanfawad on 12-16-2008, 12:00 AM
    Filed under: .NET 3.5, .net framework 3.5, 2008, 3.5, ASP.NET 3.5, dot net 3.5, linq liqdatasource, Linq to Schema, linq to sql, linq, asP.NET 3.5 linq, Linq to Objects
  • Dynamic LINQ Objects

    I have spent quite some time Googling and looking around for anything relatively related to my subject, and have found very little. My scenario is this: I want to use LINQ in a web application, BUT I need the ability to dynamically create a Data Context, I believe it's called? The .dbml file that...
    Posted to Data Access and ObjectDataSource Control (Forum) by JMoore5268 on 09-17-2008, 12:00 AM
    Filed under: Query, sql, Visual Studio 2008, "Linq to Sql" LinqDataSource, .NET 3.5 SP1, asp.NET 3.5, asp.net 3.5 Linq, C#, data Acces, Data Access, Database, dynamic LINQ, LINQ in Action, Linq query, LINQ SQL Dynamic predicate builder, Linq to SQL, LinqDataSource, database connection, Linq, linq ado, LINQ databasecontext dbml, LINQ databasecontext dbml System, 3.5, Data Access connections, Data Access Application block, linq databasecontext
  • Slow LINQ database updates

    Hi, I am working with LINQ for the first time and everything seems to work except that I got a performance problem which I need some help on. I am inserting a new record in my database. Then I use the record's primary key to name some of the pictures. (which are not stored in the database but on...
    Posted to Data Access and ObjectDataSource Control (Forum) by dtromp on 08-25-2008, 12:00 AM
    Filed under: Database, LINQ in Action, LinqDataSource, LINQtoSQL, database connection, Linq, LINQ databasecontext dbml, 3.5, linq sql asp.net data compiler error, linq databasecontext
  • ddlProposalTypes' has a SelectedValue which is invalid because it does not exist in the list of items.

    PPDataContext db = new PPDataContext(); db.ObjectTrackingEnabled = false ; var eventTypes = from et in db.PP_Event_Types orderby et.SORT_ORDER, et.TITLE select new { eventType = et.EVENT_TYPE, title = et.TITLE }; ddlProposalTypes.DataSource = eventTypes; ddlProposalTypes.DataValueField = "eventType"...
    Posted to Web Forms (Forum) by irbanjit on 03-06-2008, 12:00 AM
    Filed under: VS2008 VS 2008 EXECUTABLE SIZE, .NET 3.5, .net framework 3.5, 3.5, ASP.NET 3.5, linq to sql, LinqDataSource, linq, .net, linq liqdatasource
  • LINQ to SQL Forum?

    Is there an official forum to discuss LINQ? Is this the right place? I've decided to dive in and play around with LINQ and I haven't been able to find much documentation as of yet and I'm coming up with several questions. I'm especially interested in using LINQ in BLL classes and what...
    Posted to Data Presentation Controls (Forum) by cyzfitz on 12-04-2007, 12:00 AM
    Filed under: Visual Studio 2008 LINQ to SQL, .NET 3.5, 3.5, ASP.NET 3.5, DataContext, linq to sql, linq
  • how to know the record I want to query doesn't exist via LINQ?

    Hi all: for example: testDataContext db=new testDataContext(); var res=db.tables.single(p=>p.columnName=="hi"); if there is a record in the database, it works well, but if there isn't , it will throw an exception, then , How could I know the record exists or not ? I don't think exception...
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by Moosdau on 08-13-2007, 12:00 AM
    Filed under: Orcas, .NET, .NET 3.5, 3.5, linq, VS2008
  • Re: help with linq where clause

    I understand your problem as: If Street parameter is empty then only city filter should be applied, and if this is so, then the best solution would be to use predicate expression that would help you in dynamically adding filters based on various conditions. See the following example to use predicates...
    Posted to Data Access and ObjectDataSource Control (Forum) by Revolutionist on 06-26-2009, 12:00 AM
    Filed under: Linq, LINQ samples, LINQtoSQL, asp.net 3.5 Linq, 3.5, filters, Linq query, "Linq to Sql" LinqDataSource, dynamic LINQ, lamba expressions, "Linq to Sql", linqtosql c#, .net linq c#, LInQ Search
  • Re: is it possible to use stored procedure(user defined procedure) in LinqDataSource ???

    It is possible to take the results from a stored proc and hook it into the linqdatasource and configure it in design mode. 1) Create a class that will hold the results of each row being returned from the stored proc. The class needs to be tagged with the [Table(name="PlaceHolder")] attribute...
    Posted to Data Access and ObjectDataSource Control (Forum) by Hypermac on 08-11-2009, 12:00 AM
    Filed under: Linq, linq databasecontext, LINQ Sproc Default Parameter, Linq to SQL, asp.NET 3.5, LinqDataSource, Visual Studio 2008, LINQ samples, LINQtoSQL, LINQ Issue Visual Studio 2008, asp.net 3.5 Linq, 3.5, asp 3.5 LINQ datatable where<>, "Linq to Sql" LinqDataSource, "Linq to Sql", Linq stored procedure, .net linq c#, linqtoSQL c# asp.net, <asp.net>
  • Re: Problem with declaring Anonymous types?

    I just ran into this same issue and here is my take on it (C#). I only tried this using a simplt if/else statement. I haven't tried it with multiple if/else if/else if/else... // First, declare the "default" query for you anonymous type. // I want this to return a new {int ProductID, string...
    Posted to Visual Basic .NET (Forum) by DANewell on 09-17-2009, 12:00 AM
    Filed under: .NET, LINQ, 3.5
  • inserting to details view

    I have a details view on my page which is linked to linq datasource. there is foreign key field in my table which I am not showing in the details view. I would like set that foreign key to value x when inserting a new record. how can do this.
    Posted to Data Presentation Controls (Forum) by irbanjit on 03-05-2008, 12:00 AM
    Filed under: 3.5, ASP.NET 3.5 Extensions, LINQ, linq to sql, LINQ : Return Value, LINQ : Update problem
Page 1 of 1 (10 items)