- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
22 Posted Topics
Re: You can use following to setup session timeout for whole application in web.config. [CODE] <sessionState mode="InProc" timeout="5"/> [/CODE] This will remove session after 5 minutes of inactivity. | |
Hi, I have two datatables with studentId field and I am trying to join them using LINQ. The code is working fine in development environment but in production environment it is not giving the expected result. It is not filtering the data that I am trying to filter through LINQ … | |
Hi folks, I am trying to prevent multiple postbacks from a button. When user clicks the button it becomes disabled but still i end up having multiple entries of same data in the database. Is anything wrong the way I am disabling my button ? [CODE] StringBuilder sbValid = new … | |
Hi Folks, I have created a login page that allows user to login to the system. I have a table in database called Users (userid, password, roleid) . When I try to login with proper user id and password the system let me login and redirects to proper page but … | |
Hi I am using ASP.NET to upload files that is to be stored in MSSQL Server 2008 as varbinary(MAX). I have issues with opening scanned pdf files once users upload them. The issue is happening very randomly (say 20% of the files cannot be opened .). It seems something is … | |
Hi, I am trying to send email from my website using Exchange server 2008. The setting is like my web server is on different machine then my exchange server. when I try to send email from my website using exchange it gives me an Exception "Unable to Connect to the … | |
Re: Use port 587 for gmail SMTP I am using it and works like a charm. use the following settings in your web.config [CODE] <system.net> <mailSettings> <smtp from="you@gmail.com"> <network host="smtp.gmail.com" password="yourpassword" userName="you@gmail.com" port="587"/> </smtp> </mailSettings> </system.net> [/CODE] | |
Re: Make sure the label you are trying to access in code behind Page_Load() method is actually there on the aspx page. Check its ID attribute . You can access that particular label via its id and assign its text property to whatever you want it to be. [CODE] Label1.Text="This is … | |
Re: Remove DropShadow=true attribute from modal popup extender | |
Hi, I worked on an application for 5 months and there are different levels of user access to the system like Administrator, Staff, Student etc. I used form based authentication and created different directory for each user type and then set role's access in web.config as follow : [CODE] <location … | |
Hi, I have two master pages in my site. One for the general pages that users can view without logging in (Site1.Master) and one for the pages that user can view after logging in (Site2.Master). Now once the user is logged in and say access Search.aspx page which has Site2.Master … | |
Is it possible to do a page postback after endREquest() or in the endRequest() ? I have a button in update panel that I allow user to click just once as the process took bit of time to finish. I used following code to achieve that but now my application … | |
Hi, I am trying to create a mailbox on exchange server 2007 using power shell command via ASP.NET page. I am using windows impersonation to do this. I ma able to connect to my exchange server box but when I try to invoke the Mailbox-Create command the webpage displays "Connection … | |
Hi All SQL Gurus, I am working on a project for a college. I have to generate a unique student Id for each student. I know I can use IDENTITY column to achieve this but I have rather complex situation here. My studentID field is string because they want it … | |
Hi, I have hosted a website that has MSSQL Server 2005 database on different machine. I am using the following connection string [code]<add name="ConnectionString" connectionString="Server=mssql2005.ableos.com.au;Database=visualinventory_ableos_com_au;Uid=myuserid;Pwd=mypassword;Integrated Security=True;User Instance=True" providerName="System.Data.SqlClient" />[/code] I am getting the following error. [B]A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server … | |
Re: It is definitely a DLL problem. Your server and local machine may not be using the same version of Oledb. | |
Re: use ASP.NET AJAX Extension or simply the AJAX toolkit . [URL="http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CascadingDropDown/CascadingDropDown.aspx"]http://www.asp.net/AJAX/AjaxControlToolkit/Samples/CascadingDropDown/CascadingDropDown.aspx[/URL] | |
Re: Array get instantiated when you create it with new keyword: integers = new int[10]; // size array declaration can just create a reference. int[] integers; // declare array | |
Re: use RegularExpression validators or simply set textbox's maxlenght property to 12 and 8 respectively. | |
Hi there, I am using third party ActiveX control in my application. It requires RecordSet as a input parameter to its method. I am programming my application in C#. When I call the method after creating RecordSet it throws an exception "ActiveX cannot create an object". What is the potential … | |
Re: Put Console.ReadLine() when your app is exiting while loop. By that way you can keep your app running till user enter something. | |
Re: New in ASP.NET is GridView and DataList. AJAX Extension |
The End.