Quantcast
Channel: CodeProject Latest postings for ASP.NET
Browsing all 3938 articles
Browse latest View live

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 Article


How 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 Article


Store 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 Article

msbuild 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 Article

MVC 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 Article


MVC 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 Article

The 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 Article

Removing 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 Article


Checkboxlist combobox in Asp.net

Hi I want check box list combobox control in asp.net can any one help me? Thanks

View Article


Re: 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 Article

textbox does not begin with the number

I want to know how to validate a textbox does not begin with the number 2

View Article

asp.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 Article

Formatting 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 Article


Using 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 Article

Open access file inside web browser

I need to open access file (accde) inside web browser in asp.net,what do I do?

View Article


Two 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 Article

Handle 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 Article


asp.net Emergency Assistance

asp.net Sql server add GridView export excel but only information

View Article

String 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 Article

Outlook 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
Browsing all 3938 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>