Search

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

Matching Posts

  • .NET Pet Shop 4.0 Caching

    Hello everyone, I was wondering how the caching in the .NET Pet Shop will increase the speed of the app. I was truly amazed with the results. The code below explains my test approach. The class offering the Cache storage is based on the Pet Shop example. using System; using System.Data; using System.Data.SqlClient; namespace ConsoleApplication1 { class Program { static void Main(string[] args) { int[] lengths = PrepareParamsArray(); DateTime start = DateTime.Now; for (var t1 = 0; t1 < lengths
    Posted to Architecture (Forum) by kliszaq on 6/26/2009
    Filed under: caching, C#, petshop 4, .net pet shop
  • Re: Where is my DataSet ?

    After many hours I have finally found the solution. 1. Rebuild the project that contains the DataSet. 2. Go to the other project (that contains rdlc), select Data -> Show Data Sources Ctrl + D,A. 3. On the Data Sources explorer click Add new Data Source. 4. Choose Object then from the proper namespace, select ds. 5. Go to Rdlc, then choose Report, Show Data Sources. 6. Select proper DataTable name. 7. Populate your dataset with the filelds from DataTable. 8. Don't waste 8h for looking for
    Posted to SQL Server Reporting Services (Forum) by kliszaq on 5/24/2009
  • Where is my DataSet ?

    I'am out of ideas. I have prepared report and I would like to bind it with the data from strong typed dataset. I have tried many ways, but the last was from the Data Sources Explorer. I have pointed out to create new DataSet from the database. having created the DS with to tables i went to the my rdlc form. I chose report -> data sources and wanted to select my dataset from drop down list. But I haven't found it. I had problems with that kind of binding earlier when I used a generlic list
    Posted to SQL Server Reporting Services (Forum) by kliszaq on 5/23/2009
  • Re: Nhibernate query

    Thx. This topic can be closed.
    Posted to Getting Started (Forum) by kliszaq on 5/16/2009
  • Re: Gridview - hide gridview row textboxes or checkboxe depending on data value

    Hi, I suggest you to bind your ItemInputType to the BoundField and set its Visible property to false. Then you can access this value through GridView5.DataKeys(i).Value
    Posted to Data Presentation Controls (Forum) by kliszaq on 5/12/2009
  • Re: Access RadioButton in GridView

    Hi, "The RadioButtons are automatically generated depending on the number of rows.". Could you explain it? Show us the code plz.
    Posted to Data Presentation Controls (Forum) by kliszaq on 5/12/2009
  • Re: multiple updates in gridview

    The solutoin is below, but still the update event goes 2 times, it shouldn't be like that, I havent yet figured out what was wrong with it. <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> < !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns= "http://www.w3.org/1999/xhtml" > <
    Posted to Data Presentation Controls (Forum) by kliszaq on 5/12/2009
  • Re: multiple updates in gridview

    Hi, plz paste the code behind and the aspx code. Use the "Source code" option (the last icon when you're creating the message").
    Posted to Data Presentation Controls (Forum) by kliszaq on 5/11/2009
  • Re: Two way binding repeater

    Helo, as about viewstate, indeed the viewstate in this case is better solution than sessionstate, the amount of the users won't be huge so the viewstate size is quite limited. But sometimes (rarely) the pages like to lose their viewstate :/ The solution with repeater elements is good, but I was trying to deal with it "other way" than usual. Thank you for your cooperation and the code
    Posted to Data Presentation Controls (Forum) by kliszaq on 5/11/2009
  • Re: Two way binding repeater

    Hi, thank you for your reply. I've implemented almost exact functionality, but it uses a generic list stored in session. But still in this solution we have to iterate through all repeater elements :(
    Posted to Data Presentation Controls (Forum) by kliszaq on 5/10/2009
Page 1 of 3 (24 items) 1 2 3 Next >