you can always invoking a Delegate, which will call the registered private method
Satish
you can always invoking a Delegate, which will call the registered private method
Satish
HI All, Need some suggestions. suppose, I have a free Blog hosting site like blogspot.com and i want to restrict each blog size to not more than 20MB,to do this i need to calculate the size of the Blog hosted on the server how do i calculate the size of every blog? Thanks in advance,
Satish
when i enter http://PC-Name in IE, its showing up the IIS start-up page as expected, but when i tried with http://SubDomain.PC-Name looks like request is not at all reaching the IIS on my system rather its trying to connect internet. Why its connecting to internet instead of loacalhost? do i have to install any DNS related software on my system, if yes please let me know the Names for windows 7. FYI... Am trying to create sub domains using url rewrite Module in IIS 7.5 on windows 7 Thank you.
Satish
Am setting up an application on my system which has been working for years. it internally calls some XX Web service. When I run this application its throwing the following error (but it is working properly on other systems) System.Net.WebException: The request failed with HTTP status 407: Proxy Authentication Required ( The ISA Server requires authorization to fulfill the request. Access to the Web Proxy filter is denied. ). at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall) at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters) i tried the following this to resolve this, but still getting the same error 1. Tried to bypass this proxy for the web server hosted machine in Machine.config file 2. Gave admin rights to ASPNET account and some other accounts. Please advice on this, i need to get it resolve with out making any code changes. Thank you,
Satish
<I have written code to test the SqlDataAdaptor's LoadOpton functionality for LoadOption.OverwriteChanges. But the code that i written is not working.. Values are not getting overwritten Here are the values which i am getting when i run the code ***Default*** Original Value: Chai, Current Value: Chai ***Values Before Reload*** Original Value: Chai, Current Value: Coffee ***LoadOption.OverwriteChanges;*** Original Value: Chai, Current Value: Coffee Expected results are ***Default*** Original Value: Chai, Current Value: Chai ***Values Before Reload*** Original Value: Chai, Current Value: Coffee ***LoadOption.OverwriteChanges;*** Original Value: Chai, Current Value: Chai Here is the code which i have written. i scratched my head almost 2hrs couln't get any answer. Please let me know where i have done wrong.. protected void Page_Load(object sender, EventArgs e) { DataSet poductsDS = new DataSet(); string query = "Select ProductName, UnitPrice from Products"; string _conStr = System.Configuration.ConfigurationManager.ConnectionStrings["NorthwindConnectionString"].ConnectionString; SqlDataAdapter da = new SqlDataAdapter(query,_conStr); da.Fill(productsDS); Display(productsDS, "Default"); //updating table filed values DataRow row = productsDS.Tables[0].Rows[0]; row["ProductName"] = "Coffee"; Display(productsDS, "Values Before Reload"); //Reloading SqlDataAdapter da2 = new SqlDataAdapter(query,_conStr); da2.FillLoadOption = LoadOption.OverwriteChanges; da2.Fill(productsDS); Display(productsDS, "LoadOption.OverwriteChanges;"); } private void Display(DataSet ds, string Heading) { Response.Write("***" + Heading + "***"); Response.Write("<br/>"); DataTable table = ds.Tables[0]; DataRow row = table.Rows[0]; Response.Write(string.Format("Original Value: {0}, Current Value: {1}", row[0, DataRowVersion.Original].ToString(), row[0, DataRowVersion.Current].ToString())); Response.Write("<br/>"); Response.Write("<br/>"); }
Satish
modified on Sunday, October 4, 2009 5:09 AM
Multiple instances of the browser is sharing the same session state. how to make use of different session for different instance of browser? we are storing the session in DataBase. Thanks in advance for your suggestion.
Satish
modified on Monday, September 14, 2009 3:13 AM
Hi Want to know how to disable session/cookies for a specific page in webapp. is it possible to do and how? Thanks in advance.
Satish
I believe you are using paging feature for displaying 2000 rows in grid view. Transfer 2000 rows across the network will take long time and application becomes very slow. Instead of that you can write a stored procedure, which will fetch only those rows which are supposed to display on a particular page ( suppose if page size is 20 and User clicks on 3rd page your stored procedure should fetch the rows from 41 to 60 records) you can find variety of stored procedures on the net for doing this, just Google.
Satish
Use window service to do this
Satish
Try this out - its free http://urlrewriter.net/
Satish
You can do this, check the below links on cross page posting http://msdn.microsoft.com/en-us/library/ms178139.aspx http://www.beansoftware.com/ASP.NET-Tutorials/Cross-Page-Posting.aspx
Satish
check this may help you http://www.geonames.org/export/[^]
Satish
if you are using oracle the following query can be used to retrieve the table names based on the column-name select * from dba_tab_columns where lower(owner) = 'order_schema' and lower(column_name) like '%column-name%'
Satish
Hi, How does AutoEvent wire up works in ASP.net? I mean what are internals, where it registers the event? Can i check the registered code in tools like reflector or something else? Thanks in advance.. Satish
Satish
How to keep open the multiple panes in AJAX Toolkits Accordion control?
Satish
modified on Monday, February 2, 2009 3:29 AM
Thanks Sebastian, this answer means a lot to me
Satish
DAC is implemented in sigleton pattern not the webapp. My concern is when DAC is singleton, single instance will be shared across all the session. When single instance is being served by one user request and other user is trying for it should second user need to wait for it to get access? I am totally confused how it will share the single instance across all the session. If the single instance serve each user request sequentially one after other, application will become slow, or mybe i am thinking completely wrong way. Please clarify me, Thanks in advance
Satish
modified on Thursday, January 29, 2009 3:42 AM
Does a Data Access Component has any impact on the Web application performance if it is designed using SingleTon design pattern?
Satish
Hi How to generate dynamic sub domains like in blogspot.com. My requirement is, user will fill the form where he gives his desired Sub domain name. When user submits the form, system should generate sub domain like .Mysite.com Any information / resource or design related docs/urls on this would do a great help. Thank you in advance
Satish
Hi, Hi I have 3 tables, one is master table( EMP) and other two are child tables (Emp_Dep and Emp_Jone). Example: EMP EmpId Name 1 ABC 2 XYZ Emp_Dep EmpId DepId 1 2 Emp_Jone EmpId JoneId 1 4 I have created these 3 tables and defined Relation objects between these three tables. My problem is the order of updating in my application, Case1: If I update the tables in Emp_jone, Emp_Dep and Emp order, I am getting “constrain failed” exception, when I have add a new employee and linked with a Department and Jone. This would be resolved if I update in Emp, Emp_Jone and Emp_Dep order Case2: If I deleted an existing employee, who has been liked with some Department and jone, and I update in Emp, Emp_Jone and Emp_Dep, I will get same constrain failed exception, to resolve this I will have to update as specified in Case1 order. Could you please give me some suggestion to resolve this without any intermediate updates? Regards, Satish
Satish