System.InvalidOperationException TimeOut Expired.
The timeout period elapsed prior to obtaining a connection from the pool. This may have occurred because all pooled connections were in use and max pool size was reached. I am running this application...
View ArticleHow to send a mail from local SMTP server.
Hai All, Could anyone please tell me how to configure Local SMTP server and how to send mail through C# code. Regards,Rajesh KAndepu
View ArticleStore gridview selected row values in sessions
I want to store the values of a Gridview selected row in sessions through a button field in the gridview but its giving me a "Index out of range " error at GridViewRow row =...
View Articlemsbuild with no Visual Studio (Yes Windows SDK installed & Copy Local=true)
A project gets built fine from Visual Studio without a problem from developers work station. Now we need to move it to DEV and UAT server. I've been struggling all day trying to get my ASP.NET project...
View ArticleMVC Razor: Dynamically displaying and hiding UI text controls in the parent...
I need to be able to figure out something very difficult. How do I create a parent Controller that dynamically hides and shows partial View's UI controls after the parent View's ActionLink controller...
View ArticleMVC Razor: Getting a user id stored in Entity Framework when calling the...
I need to be able to figure out something very difficult. I have to create an MVC controller that will display the "User Profile" View (shows user information) when the "Display User Profile" View's...
View ArticleThe connection String property has not been initialized? Error
Hello: i am using this kind of code for connection to the data base. using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Data.SqlClient; using...
View ArticleRemoving a Sub Page_Load()?
Hello I have three files in my simple 'Registration form' project - it inserts new user details into a MS Access database - comprising an aspx, aspx.vb, and a Web.config file. If I may post some of...
View ArticleCheckboxlist combobox in Asp.net
Hi I want check box list combobox control in asp.net can any one help me? Thanks
View ArticleRe: How to get values from dynamically created controls
Hi, I have Create Dynamic Controls on dropdown SelectedIndexChanged event protected void ddlcount_SelectedIndexChanged(object sender, EventArgs e) { Table tbldynamic = new Table(); for (int i = 1; i...
View Articletextbox does not begin with the number
I want to know how to validate a textbox does not begin with the number 2
View Articleasp.net
You are using a ASP.NET and ADO.NET to create an accounting application for your company. You are writing code to run a set of stored procedures that perform posting operations in a database at the end...
View ArticleFormatting problem with Expandalbe .NET Gridview
I am using the demo provided with the An Expandable .NET Gridview article. When I expand and contract the same row twice, the first time it works OK, but the second time all the content on the detail...
View ArticleUsing ViewBag values set in a Controller for conditional logic in the...
Is it a bad pratice to add a value to ViewBag and hide and show controls based on it's value? Example: @if (ViewBag.Role == "Admin") { @Html.TextBoxFor(m => m.UserName) @Html.ValidationMessageFor(m...
View ArticleOpen access file inside web browser
I need to open access file (accde) inside web browser in asp.net,what do I do?
View ArticleTwo ASP.Net Web API quesitons?
1. Do I put my website in the same VS project as the Web API project, or a seperate one? It really isn't clear. 2. Is the authentication cookie based or token based? Thanks
View ArticleHandle Bad characters
Hi I'm having web application connect with sql dbase. When i read data from database and render it to textbox control i used HttpUtility.HtmlDecode to render it, but there is windows application and...
View Articleasp.net Emergency Assistance
asp.net Sql server add GridView export excel but only information
View ArticleString or binary data would be truncated
Hi Friends, plz help me with this error My Error is : An exception of type 'System.InvalidOperationException' occurred in System.Data.dll but was not handled in user code Additional information: The...
View ArticleOutlook integration with asp.net web application
Hi, I want to integrate outlook in my asp.net web application.I want to show <b>Outlook calendar</b> in my application.But I don't have any idea how to show.Please Help me.
View Article