ASP.NET - why Loading the dropdown takes a time when i want to check the hosted url not my local hos
Asked By Myla Rajani on 22-Jun-12 08:11 AM
Hi All,
why Loading the dropdown takes a time when i want to check the hosted url
But in my local host it is working fine When i change the Location Index i will call a stored procedure
that stored procedure takes 1 or 2 seconds but it is taking 3 minutes to load ythe data
Thanks in advance.
Peter Bromberg replied to Myla Rajani on 22-Jun-12 12:36 PM
Post some sample working code. There isn't enough information in your post.
[)ia6l0 iii replied to Myla Rajani on 22-Jun-12 12:37 PM
There are lot of other factors that influence User Interface Rendering.
First and foremost thing, that comes to my mind is the network latency. Network Latency is the time taken for the result to reach the client from the webserver. Note that there can be additional overhead in the web server, that takes the data from the stored procedure and may involve other computations on the webserver side.
Use Network monitoring tools such as Fiddler/Http Analyzer to find the network latency time or the round trip time.
If you can use fiddler, this is how it would look. See the "Statistics" tab.
Hope this helps.
Jitendra Faye replied to Myla Rajani on 25-Jun-12 02:20 AM
These is commom case , if you are running your application in localhost then your system will be fast but if you will run your application in server then it will be slower that localhost, this is because request and response time will be more in network environment.
it also depends on data tranfer rate in network.
SqlDataSource .NET Framework
Framework I have a problem configuring a SqlDataSource. 1. I click Specify SQL Statement or stored procedure 2. When I try to select a stored procedure that dropdown is greyed out. The radio button for stored procedure is greyed out. I use VS studio 2008 sp1. What am I doing wrong? - - Arne Programming http: / / www.softcircuits.com Yes, the connection strings is there because dynamic sql works. Stored proc is greyed out. - - Arne Garvander (I program VB.Net for fun and C# to
Studio .NET 28-Oct-12 08:20 PM I'm passing a parameter to a stored procedure stored on my sqlserver, or trying to atleast. And then firing off the update command that not changing my data on my server when I do so. I'm filling a dropdown list from a stored procedure and I have a little loop run another sp that grabs what the selected value should be in the dropdown list when the page loads / refreshes. All this works fine, just not sp that should t change the data from the page when I try to. This is what the stored procedure looks like: ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [CODE] ALTER PROCEDURE [dbo].[UPDATE_sp] (@SelectedID int) AS BEGIN UPDATE [Current_tbl] SET
how to create crytal report using dataset for sql stored procedure in asp.net with c sharp Hello Saran, Here are the steps given below to you must have to set datasource and dataset for the report.set your datasource as stored procedure, from the wizard.and that will return set of records . that you can configured according client and enter you SQL server address , username , password and pick database name from the dropdown. Now design the report , drag and fields from Database fields in field explorer and which c10a917c6521 hi, Try below code for example to you for creating report using sql stores procedure using CrystalDecisions.CrystalReports.Engine; using CrystalDecisions.Shared; using System.Data; using System.Data.SqlClient; protected
Hi, While selecting a Country in country dropdown, corresponding state should be populate in the state dropdown. And, am passing a parameter(Selected country) in a stored procedure(SQL) named Country_Selected_State_Retreive. And, am executing this sp with an error is prompting " Could not find stored procedure 'Country_Selected_State_Retreive 1'. " when a country is selected in the country dropdown. Could sombody have a
I am trying to create a stored procedure to run a drop down list (ddl) where once you select a school in the Begin Select Faculty From S_Stats Where Campus_Name = @SchooolName End Note if here faculty name are stored in faculty column in S_Stats table than it is perfect other wise if this column table also. hope this helps u You can create a simple SP like this; Create Procedure sp_GetFaculty(@campusName nvahchar(200)) AS Select Faculty FROM S_Stats WHERE Campus_Name = @campusName GO And you can call this SP on selected index change of school dropdown. . . . . and pass selected school name to this SP. It will return you all facualties according to passed school name. . . . . . Try this. . . . . . . . Okay so I used this for my stored proc. . . . _ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ __ Update PROCEDURE Psp_GetFacultyValueFromSchool - - Add the parameters for the stored procedure here (@campusName char
Hello all, Somebody please help me by modying this code.when i retrieve the Login value through stored procedure call, though i give the correct user name and password i am getting the error 0].Rows[0].ItemArray[2].ToString() = = Password)) { return 1; } else { return 0; } } else { return -1; } } Stored Procedure: CREATE PROCEDURE GetUserLogin( @UserName varchar(50), @Password varchar(50)) AS select UserName, Password From Login where UserName able to figure out what's happening within a minute or so. hi, check your dropdown if you have binded any Id for the value field instead of DropDownList1.SelectedValue try
stored procedure question SQL Server
I need to create a stored procedure thats take a parameter, then within that stored procedure I need to run a select statement based on a different parameter. so I need to take that customerID and do this if @@rowcount = 0 '' i need to exit the stored procedure else 'do this select salesprice, make, model, year, salesman from salesTable where custId = customerID 'then
Map DataTable / Stored Procedure Output To Class Properties By Robbe Morris
Map DataTable / Stored Procedure Output To Class Properties By Robbe D. Morris Printer Friendly Version Robbe Morris Robbe & Melisa Download C# Source Code ADO.NET Code Generator - Map DataBase Objects To .NET Classes And Stored Procedures This article is a culmination of two previous articles: XmlSerializer to Serialize Class to alternative to strongly typed datasets for mapping ADO.NET resultsets (DataSet and DataTable) returned from stored procedures. Another goal of this design is to better structure source code to make it has the following specific goals in mind: 1. Each set of code for its corresponding stored procedure should be able to be checked out without tieing up code for other stored procedures
Stored procedure with mulitple items passed in string SQL Server
I am getting multiple selections from a ListBox and want to send it to a stored procedure to use in a where clause. Something like: SELECT Name, Address FROM Company WHERE Status sql to handle this? Thanks, Tom SQL Server Programming Discussions SQL Server (1) WayDECLARE (1) Stored procedure (1) Varchar (1) Class (1) Kill (1) ListBox (1) TomIf (1) Tom If you searched com / blogs / tonyrogerson / archive / 2007 / 03 / 18 / passing-an-array-of-values-to-sql-server-stored-procedure-without-parsing-string-manipulation.aspx and the most comprehensive of articles at http: / / www.sommarskog
Restrict values coming from Sqlserver Office
Hi, I have a stored procedure that accepts parameters to restrict the selected values returned by the procedure. For example, the stored procedures accepts a supplier code to select and return only products associated with that code Now I'm aware of filtering and conditional formatting but this relies on the stored procedure returning all suppliers and their products and doing the restriction within InfoPath. My question rely as a web service in such a that the parameter is passed on to the stored procedure as described above? Thanks. - - Regards, Bowie M InfoPath Discussions InfoPath 2007 (1) InfoPath (1) Database