Browse by Tags

Related Posts

  • DataKeys lost with Linq DataSource

    Hello, I've been struggling with this, and it's time to ask for help. I have a DataGrid with a couple of BoundFields and a couple of ButtonFields. In order to process a ButtonField, I need that DataKey (PartnerListingID) for that particular row. It worked fine until I switched to LinQ and bound...
    Posted to Data Access and ObjectDataSource Control (Forum) by urtlking2jo on 01-28-2009, 12:00 AM
    Filed under: databinding, datakey, Linq, Gridview
  • How to input words inbetween gridview results

    Ok I got the values in the Gridview and shows date and time. Is there a way to show the word "at" before the actually time? protected void btnSubmit_Click(object sender, EventArgs e) { if (Request.QueryString["salonid"] != null) { _salonid = Convert.ToInt32(Request.QueryString["SalonID"...
    Posted to Getting Started (Forum) by kbainey1 on 12-13-2008, 12:00 AM
    Filed under: LINQ, gridview
  • GridView RowDeleting with LINQ

    Hello all, I know how to do it with another methods, but.... I have a GridView databinded with a LINQ query: MyApp.Data. MyAppDataContext db = new MyApp.Data. MyAppDataContext (); gvUsers.DataSource = from u in db.Users orderby u.Name select u; gvUsers.DataBind(); How can I get the PK to delete a row...
    Posted to Data Presentation Controls (Forum) by Juanje on 11-24-2008, 12:00 AM
    Filed under: linq, GridView, RowDeleting
  • Multiple selection in listbox to reflect in Gridview result

    I have a few listboxes which hold data that serve as a search criteria. So, the search criteria data is selected within each list box and a search button is hit. On hitting search, a gridview is populated with the respective data that satisfies that search criteria.I presently works for the selection...
    Posted to ASP.NET 3.5 Extensions Preview (Forum) by renitdaniel on 09-16-2008, 12:00 AM
    Filed under: .net 3.5, C#, LINQ, GridView
  • Re: GridView and Many-to-many relationships with LINQ

    I figured out how to do it by looking at this page: http://msdn.microsoft.com/en-us/library/aa479347.aspx . I used an ObjectDataSource to associate the results of my DAL class with the GridView. I am able to do editing, deleting and even sorting and paging. All I had to do was change the method signature...
    Posted to Data Presentation Controls (Forum) by mariovargas@thecourier.com on 09-15-2008, 12:00 AM
    Filed under: object data source, linq, GridView, many-to-many
  • GridView and Many-to-many relationships with LINQ

    Hello all, I am new to ASP.Net 3.5. I have worked with the 1.1 Framework for many years and just recently started with the latest version. I need suggestions or help with this problem. I am creating an application where an Administrator manages several Host accounts. Each Host account can be managed...
    Posted to Data Presentation Controls (Forum) by mariovargas@thecourier.com on 09-12-2008, 12:00 AM
    Filed under: linq, GridView, many-to-many
  • LINQ - GridView problem

    I am using a GridView to display customers from Northwnd database. I enter a letter in a textbox to be used as a filter. I use LINQ to filter the Customers table and be a datasource for the GridView. This works and I can repeatedly change the filter letter and get the correct customers in the GridView...
    Posted to XML and XmlDataSource Control (Forum) by CharlesSmith on 09-12-2008, 12:00 AM
    Filed under: .net 3.5, LINQ, GridView
  • datakey, gridview, databinding

    hi all. i use a code like this. protected void GridView1_RowDataBound( object sender, GridViewRowEventArgs e) { if (e.Row.RowType == DataControlRowType .DataRow) { ListBox List1 = ( ListBox )e.Row.FindControl( "ListBox1" ); MyDataContext db = new MyDataContext (); var CustomerShopping = from...
    Posted to Data Presentation Controls (Forum) by ashkant on 09-11-2008, 12:00 AM
    Filed under: Query, databound, datakey, Linq, Gridview
  • Re: GridView e.SortDirection always ascending

    quick and dirty, but it works, I needed it fast, so this works.. handles sorting based on selected datafield... since I only had two cols no biggie, but this could be a real pain... but storing sort direction is on the developer to figure out when using LINQ stuff... I'd love to see a better working...
    Posted to Data Presentation Controls (Forum) by hooplafoo on 07-25-2008, 12:00 AM
    Filed under: linq, GridView
  • GridView: Check if entry has Image or not

    Hi all I've a GrivView where I'm showing the entries of a table. each entry MAY (but doesn't have to) have an Image which is read through a handler. The problem is that if there's no image for an entry, the cross-icon is shown. Is there a property that signals me if the Image control...
    Posted to Data Presentation Controls (Forum) by KingDario on 07-09-2008, 12:00 AM
    Filed under: Handler, image, linq, GridView
Page 1 of 2 (15 items) 1 2 Next >