Search

You searched for the word(s): userid:647413

Matching Posts

  • Cache is not available exception when using ObjectDataSource ASP 2.0

    Hi, I am using I am using the Cache object to store DataTable object and I bound the Select method of ObjectDataSource to the object and method that populates the ObjectDataSource. When the ObjectDataSource invokes the bound method, it throws the ‘Cache is not available exception’, any help would be appreciated. I also used HttpContext.Current.Cache; Every time I revisit that page with Server.Transfer, it cleares the Cache Sample code: 1 Public Function GetCompanies() As Data.DataTable
    Posted to Web Forms (Forum) by hedroj on 10/20/2006
    Filed under: ObjectDataSource DataSet reuse, Data Access
  • Re: Strongly typed DataSet connection string

    First, I would like to thank you BardMi. You solved my problem too. Second, I have the following issue: Auto generated SQL inserts uses ExecuteNonQuery which returns the number of rows effected; howevere, I need the ID of the inserted row. The SQL inserts that are generated appends Select statement with Scope_Identity() but are not used due to the use of ExecuteNonQuery. Question: Is there a way to resolve this problem? The way I am doing it right now is via a global replace with a custom method
  • Re: Reflecting the Programmatically selected row on the GridView

    Thanks jcasp. I should add that the selected index being set through custom event I am firing from a separate control. Any way, I have solved the problem by a different approach. Used a method in a my base class.
    Posted to Data Presentation Controls (Forum) by hedroj on 5/19/2006
  • Reflecting the Programmatically selected row on the GridView

    Hi, I am setting the selectedindex of the GridView to its previous row, but the GridView keeps the old row selected. If I debug, I see that the selected index has been changed but not reflected on the control. Any suggestions? Thaks in advance Ihab
    Posted to Data Presentation Controls (Forum) by hedroj on 5/17/2006
Page 1 of 1 (4 items)