Architecture :: How To Make "Watch This Item" On My Page
Nov 29, 2010
I am facing a decision now on how to make a "watch this item" function, like the one on ebay!I was thinking to make a SQL datatable with two fileds, for example: UserID and ItemID, anto store data there,
but I am afraid if I do it like this, my server performance will slow down. For example if I have about 10.000 users and everyone is watching just about 5 items, then my datatable will have about 50.000 entries. I am not really familiar with server performans when dealing with such big datatables. What do you think? Am I going to face problems with server performance
if I do it this way?Second method that I was thinking is to automatically create a datatable for every user in which ItemID will be stored later. With this method I will not have a huge datatable, but then I will have about 10.000 small datatables. Is this a better method?
View 6 Replies
Similar Messages:
Aug 27, 2010
in asp.net can i make public objects on my page, for example
public Customer cust1 = new customer();
and use this object on my entire code?
what are the drawbacks of creating public objects??
a single object will be created for all users??? or each user will have a different object?
View 2 Replies
Jul 23, 2012
I have a datalist with each row has two item ' code' and 'column', onmouseover datalist row i want show cursor as ' Pointer', and click of that row i want redirect the user with value of code to the other page .... as i am using that code value as query string .. how can i make datalist row clickable on mouseover
Here is my datalist:
<asp:DataList ID="DataList1" runat="server" RepeatColumns="2">
<ItemTemplate>
<table border="1">
<tr>
<td style="width: 150px">
[Code] ....
View 1 Replies
Feb 2, 2011
I'm trying to built in my web site the possibility to loud equal fields in the "select" page(when the user select item , I would like items that are related data in the "name column"ill be fire hopefully I'm clear That I have tried doing was in my repository I have written:
[Code]...
View 10 Replies
Jul 30, 2010
I am working on 3 tier architecture: UI, BL, DAL. In my UI i have following code for Asynchronous page processing:
[Code]....
But I want a database fetch operation to be performed in this asyncronous method. And due to 3 tier arch. i am unable to do this in UI Layer. Can anyone guide me that how can I implement Asynchronous processing in 3 tier architecture? Note: If you are going to place EndAsyncWork1 in DAL then show that how can I return a value back to UI layer from this function.
[Code]....
View 1 Replies
Nov 29, 2010
1. Desktop based application - Developed in VB2. Web based application - Developed in Asp.Net 2.0 and C#The above two uses same database in SQLI do have proper class library/business logic in desktop based application in VB. Now I need to use the same library in ASP.net web based application so that I can change at one place and both the versions will work fine with replacement of one dll.hat is the best to make classes in VB, VB.NET OR C# so that I can use at both end easily.1. If I write Activex dll in vb, the internet articles tells about low performance because of Interop services.
View 2 Replies
Jan 22, 2010
Task is to develop class libraries that can be re-use in projects but assambies should be copy righted. By this I mean developer will not give the code of class libraries to the clients yet they will provide the code of there sites/ applications, these libraries will be used just as internal development libraries. I want to make Business Logic Layer, DAL, Business Objects as class libraries
Q1. How I can control unathorised use of libraries ?
Q2. How to make assamlies non extendable ?
Q3. What security measurs I should take on this.
View 6 Replies
Sep 24, 2010
I have a requirement related to subdomains. Here are the details.I am using .NET 4.0, IIS7, ASP.NET 4.0. I have an web application hosted as "mycompany.com". I have some clients, say client1, register at my site. I want to give him a
[code]...
View 3 Replies
Jan 4, 2011
I have an application running on my Home pc and with which i also have expose a webservice. But it is on my local machine.
My question is that i dont have any webserver purchased and i want to call my this local webservice from any where on internet. Is there any free service available on internet which can proxy my local webservice on internet?
View 3 Replies
Nov 15, 2010
I'm working on a webforms aspx app (not MVC) and I'm not sure if I should just create separate pages or somehow make multiple views on the same aspx page for the following scenario: Basically, I need to give the user the option to view a set of data a few different ways (essentially different group by's from a data perspective)... the data is always the same, its just a matter of how to arrange on the page...
each way I need to present the data will essentially consist of 2 repeaters, one nested inside the other. The outer repeater will display a nice header section with the nested repeater showing the list of items under that heading. view by book title (title is outer repeater, with the book list being the nested repeater, yes, multiple books with same title for this example - the app has nothing to do with books, this is just to illustrate)
Book Title: A Good Story
Author - Publisher - ISBN
Dan Johnson - Smith Publishing - kjdkjfd99898989
Susan Day - Smith Publishing - aa777fd99ff
Greg Greger - Corp XYZ - amkj897hgrt554
Book Title: Another Good Story
Author - Publisher - ISBN
Frank Franky - Corp XYZ - kj3kjfd9d9980
Jason Cambel - Smith Publishing - 7g7fddddttt
Jill Breker - Smith Publishing - d9ddt523321
Or, view books by publisher (here the publisher would be the outer repeater and the list, with different fields compared to first view, is the nested repeater.
Publisher: Smith Publishing
Title - Author - ISBN
A Good Story - Dan Johnson - kjdkjfd99898989
A Good Story - Susan Day - aa777fd99ff
Another Good Story - Jason Cambel - 7g7fddddttt
Another Good Story - Jill Breker - d9ddt523321
Publisher: Corp XYZ
Title - Author - ISBN
A Good Story - Greg Greger - amkj897hgrt554
Another Good Story - Frank Franky - kj3kjfd9d9980
so what do I do here? Just making separate pages is simple and would work, but is there something else I should be considering? There will be 3 different views, so 3 pages total if I went that route. Something is making me think I should be doing this all within one aspx page? maybe just toggling the visible property of the repeater controls? but then I was thinking each of these repeater controls is databound, and I assume even if they are not visible they still incurred database hits to get the data, right? and that could be bad?
View 4 Replies
Jul 29, 2010
I want to make an proposal to migrate an ERP like software from Delphi to .Net.The existing software is in Delphi 6 and it is a desktop application.I want to highlight the benefits of moving to .Net (May be Web application) rather than upgrading to latest version of Delphi.
[code]...
View 2 Replies
Mar 24, 2011
I am using aspnet menu control and i want to hide the item initially on page load and show the item after an event is trigger say button lick event Can any one give me an example?
View 6 Replies
Nov 9, 2010
I am planning to create HR Management System using asp.net & sql server 2005. In this application we need to manage different kinds of Employee Documents like Offer letter,Salary certificate etc.. Now,What we need is we will store templates for these documents(ms word,excel) in the application and needs to genereate these documets corresponding to the selected employee like mail merge.
View 3 Replies
Aug 9, 2010
I have a listview set up in "flow" mode where the existing records are all on an extended page so you can scroll down to any record.
The InsertItem Template is in the first position, making it easy to insert a new record.
And one can scroll down the page to any record, click the edit button and update that record -- nice having everything on one scrollable page.
I am running into a problem with validations. I have validation controls restricting inputs for all the textboxes on the Insert Item template. They work fine. And on Item Inserted I am running a page validation:
Page.Validate()
If Not Page.IsValid Then
e.Cancel = True
End If
which works fine also.
The problem occurs when I scroll down to an existing record, and go to edit it. I have all the same validation constraints on the textboxes for the EditItemTemplate as I have on the InsertItemTemplate. But I cannot successfully do a page validation on updating the record. The code I am using on update is:
Protected Sub LVRentals_ItemUpdating(ByVal sender As Object, ByVal e As System.Web.UI.WebControls.ListViewUpdateEventArgs) Handles LVRentals.ItemUpdating
Page.Validate()
If Not Page.IsValid Then
e.Cancel = True
End If
End Sub
This results in a Cancel even if there are no validation errors on the InsertItemTemplate because the Page.Validate() seems to be causing the InsertItemTemplate to think its fields should be filled out also.
Here is the code for a typical entry of the InsertItem Template:
[code]....
All the controls in the Edit Item template are part of ValidationGroup "edit1" and those of the InsertItem Template are part of ValidationGroup "edit2"
How can I get around receiving validation errors on the InsertItem Template when I am trying to validate just the EditItemTemplate when both are present on the page?
View 2 Replies
Feb 22, 2011
I added a watch expression for HttpContext.Current.Session
I can see the Count being equal to 2 but I can't find the actual content. Where do I find the content of the session while debugging?
View 2 Replies
Sep 9, 2010
I have a textbox that searches the listbox below it and selects the text that I types in the textbox. Now although the item is selected in the listbox I have to scroll to the end to see if the item is selected ornot
IS there a way that I can make the list box scroll to the selected item?
View 27 Replies
Aug 8, 2010
how to make ajax combo next item from enter key
View 6 Replies
Jan 6, 2011
If I have an Access database with two tables, called 'Users' and 'Items', what is the method to create a watch list, so a user can login and see the list of items they have chosen to watch (as you can in ebay for example)?I thought the solution might involve using code to modify the relationships between the two tables, but am not sure how this would work in practice.I've searched for answers, but have not made any progress,
View 4 Replies
Apr 27, 2016
I done my c# code to stop watch
protected void tm1_Tick(object sender, EventArgs e)
{
long sec = sw.Elapsed.Seconds;
long min = sw.Elapsed.Minutes;
long hour = sw.Elapsed.Hours;
Label1.Text = hour.ToString("00") + ":" + min.ToString("00") + ":" + sec.ToString("00");
[code]...
When i stop the stop watch i want to display the stopped time in msg box how i get it?????
View 1 Replies
Nov 26, 2010
I develop one simple application in this application i want to upload a small video and i watch that uploaded video any player .
View 1 Replies
Sep 3, 2010
I was debugging my web project and faced a problem that I don't know how to watch content of hashtables or similar data structures.
For example, I have assigned before that Session["errorMessage"]="Hewstone we have a problem here...". What is my actions in order to watch that string in watches list?
View 10 Replies
Apr 10, 2013
Any program to Watch videos of YouTube in GridView ASP.Net ...
View 1 Replies
Nov 9, 2010
I am using a radiobuttonlist in my project. Where i want to hide one of radiobuttonlist item visible true or false. according to the selection of the country. I am able to hide the radiobutton but the corresponding text is still displayed. How to hide both radiobutton and also the related text.
View 10 Replies
Jun 18, 2010
how do i make the item list appears next to the bullet point?
example,
option 1 option 2
rather than
option 1
option 2
View 10 Replies
Jul 15, 2010
Is there any way to monitor asp.net session state in order to watch object size, or is there any other practice to find out a way to lighten asp.net session?
View 1 Replies