Browse by Tags

Related Posts

  • Gridview problem

    Hi Guys, When I write the function DataSetDisconnected() under page load, the gridview displays the data but when I try to call the function under a button click event, it shows the error "Object reference not set to an instance of an object" in the line " gvRecord.DataSource = ds.Tables...
    Posted to Data Presentation Controls (Forum) by spillbean on 09-06-2008, 12:00 AM
    Filed under: ADO.NET, ASP.Net 2.0, gridview
  • How can I display 'All' or select just one value from a dropdown list to show up in a gridview?

    Hello, I would like to know how do I display all records, or show just one record in a gridview that will get its value from a dropdown list? I guess I would need to display an item in the dropdown list that will say 'All'. So how would I set my SqlDatasource with the query 'SELECT FULL_NAME...
    Posted to Data Presentation Controls (Forum) by xyz789 on 06-24-2008, 12:00 AM
    Filed under: sqldatasource, .NET 2.0, ASP.net 2.0, ASP.NET 2.0 Table Binding., dropdown, Dropdownlist, insert values into dropdownlist, Gridview, vb.net, Visual Studio .NET 2005, ADO.NET
  • A question regarding my checkbox control within my gridview.

    I have a situation when I select multiple rows from a gridview, I would like for the values to be displayed in a listbox. However, when I click the checkboxes inside my gridview, the last row selected is the only data that is being displayed. Here is the code behind being used. The chkAgent is the name...
    Posted to Data Presentation Controls (Forum) by xyz789 on 06-11-2008, 12:00 AM
    Filed under: sqldatasource, VB 2005, .Net 2.0, ADO.NET, checkbox, code, Controls, GridView, visual studio 2005, asp.net 2.0, ASP .NET 2
  • Question regarding the SqlDataSource control

    There is something I don't understand or I am just missing something here. Why is it that I can place an SqlDataSource1.Insert() or update, or delete, but not an SqlDataSource.Select() inside a button click event "for an example" without getting an Compilation Error? Thanks, xyz789
    Posted to SQL Server, SQL Server Express, and SqlDataSource Control (Forum) by xyz789 on 06-11-2008, 12:00 AM
    Filed under: SQL 2005 .NET, sqldatasource, Visual Studio 2005, .NET 2.0, ASP.net 2.0, Gridview, ADO.NET
  • Relations: parent row of DataRow is always Nothing

    hello, it seems that a parent row of a DataRow never gets fetched (=>is always Nothing). i've created two DataTables: - Employees(Id, Firstname, Lastname, DepartmentId) - Departments(Id, Name) and the following Relation: - EmpDeptRel which indicates that 1 department can have N employees and 1...
    Posted to Data Access and ObjectDataSource Control (Forum) by matthias.gloessl@joyn-it.at on 02-12-2008, 12:00 AM
    Filed under: nothing, objectdatasource, parent row, relation, ADO.NET, binding, Data Access, DataRow, DataTable, getparentrow, Gridview
  • Assess .Net Intranet Application

    I am assessing whether a .net intranet application system is of acceptable, reasonable quality. My criteria so far for this is on several fronts: - Architecture (e.g., is the architecture n-tier?) - Is the code easy to maintain? - Has the code been written with reuse in mind, or refactored? - Are there...
    Posted to Free For All (Forum) by dbrook007 on 01-04-2008, 12:00 AM
    Filed under: ntier, partial classes, persist changes, Report Viewer, solution project, system analysis", System Design, Technical Specification, UI Architecture, UI Framework, UI Process Components, VB, VB Class, VB Classes, vb.net, Web Forms, .NET, 3tier, 3-Tier Architecture, 3-tier programming, approach, architecture, Asp.Net 2.0 : java script, ASP.NET 2.0 NET SQL Server 2005 database connection error, asp.net tuning, assembly, authentication, Basic Architecture Design, Best Practices, bug, business logic layer, caching, Class Design, concurrentcy, Consistency in UI, css, CustomErrorPage, DAL exceptions, data access layer, data access object relational mapping, Data modeling, datagrid, datalogic layer, dataobjects, design pattern, Events, Generics, Globalization, database object, xml, entity, IIS, application state management, performance, Exception Handling, Exception Handling Application Block, Exception Handling Application Block Tutorial, ASP.NET Architecture, sql server, OOP, "system Design", arcitecture, business model, data serialization, GridView, Patterns & Practices, N-Tier, optimization, Reflection, web service, ADO.NET, Asp.Net 2.0, assemblies, Data Concurrency, database, http, methods, Website Problem
  • Re: objectdatasource rowcount after filter

    I couldn't believe there wasn't an easier way either...so I kept looking and here's what I came up with: The scenario here is that I have a GridView control bound to an ObjectDataSource. The ObjectDataSource business object is a DataAdapter. The GridView has paging enabled, however, the ObjectDataSource...
    Posted to Data Access and ObjectDataSource Control (Forum) by kylelang on 07-06-2007, 12:00 AM
    Filed under: objectdatasource custom+paging, objectdatasource gridview datatable, Table Adapter, TableAdapters, .net 2.0, ADO.NET, data set, data table, Gridview
  • Paging and GridView Visibility

    Alohas - - I am trying a test wherein I construct the ConnectionString and the rest of the GridView SqlDataSource dynamically. I have a simple page which lets me test out various paramters of the ConnectionString and then do a "try" to open the GridView. The final steps of that (successful...
    Posted to Data Presentation Controls (Forum) by KevInKauai on 06-19-2007, 12:00 AM
    Filed under: SqlDataSource, ADO.NET, Gridview
  • Multiple Database - GridView Sorting

    I'm able to successfully implement the GridView paging and sorting as explained by Scott Mitchell in this excellent article: http://msdn2.microsoft.com/en-us/library/aa479347.aspx However, in my case I have two connection strings for two different Oracle DB with identical schema, tables etc. I need to...
    Posted to Data Access and ObjectDataSource Control (Forum) by dministrator on 04-02-2007, 12:00 AM
    Filed under: page, paging, Sort, sorting, ADO.NET, DataSet, DataTable, Gridview, Merge
  • opening files directly from a web application

    Hi, I have a problem i'm hoping someone can help me with. I have a Gridview in an asp.net web application which contains a datatable made from a database+ a static string In this table there's only one column, which contains the path to a file that I need to open externally , meaning that I can't use...
    Posted to Data Access and ObjectDataSource Control (Forum) by Kargan on 03-21-2007, 12:00 AM
    Filed under: ADO.NET, C#, Gridview
Page 1 of 2 (20 items) 1 2 Next >