Tagged Questions
ASP.NET is a web application framework developed by Microsoft to allow programmers to build dynamic web sites and web applications.
0
votes
1answer
10 views
Could not load file or assembly 'System.Web.WebPages.Razor, Version=2.0.0.0,
I use ASP.NET MVC3 .NET4 Framework. My project is working on local but I send files to server and is doesn't work there.
In my server file is v2 now. If i send v2 file to server i get
Could not ...
0
votes
3answers
18 views
Match and replace first and last character in string
I would like to remove % characters from the start and the end of a string. For example:
string s = "%hello%world%";
Desired result: hello%world.
I know that I can fix this with some if cases ...
0
votes
1answer
9 views
Read From Excel To GridView In ASP.NET
I want to read data from Excel file xlsx and bind the data to GridView. But when I try in this way I get the following exception
The Microsoft Access database engine cannot open or write to the file ...
0
votes
0answers
4 views
DNN production site backup on localhost keeps redirecting to Production URL
I am trying to install a production DNN site on my local computer. For it I hosted the production site on my Windows 7 PC with IIS 7.
I have removed all entries from PortalAlias table except one that ...
0
votes
3answers
25 views
culture for datetime in c#
Hi all I have written a code to parse datetime as follows
if (DateTime.TryParse(dsVchRecord.Tables[0].Rows[0]["Date"].ToString(), out _dtVoucherDate))
_dtVoucherDate = ...
-1
votes
1answer
13 views
Live data web page
Need advice about creating live data display web page. Developing platform is asp.net, but you can suggest anything that can accomplish this? Also, if possible some kind of programming workflow?
...
0
votes
1answer
18 views
SqlDataSource makes DropdownList results to one item that is duplicated in the list for displaying in GridView
I have a Visual Studio 2010 asp.net page in VB where I have joined multiple tables with the SqlDataSource to display specific columns in a gridview. After the table join, I have a dropdownlist where I ...
1
vote
1answer
41 views
EF extension method: “This function can only be invoked from LINQ to Entities.”
I have made an extension method to EF entities:
public static IEnumerable<T> WildcardSearch<T>(this IEnumerable<T> entity,
string ...
0
votes
1answer
19 views
Aspx file in two master pages
I have a page on a website that uses a master page and a child page. I would like to use the child page to create a new page on the website, but with a different master page.
Is it possible to do ...
0
votes
0answers
12 views
Bind GridView From Excel File Throws Permission Exception
I want to read columns from Excel file (xlsx) and bind the values in GridView. But this throws the following exception
The Microsoft Access database engine cannot open or write to the file ''. It ...
-4
votes
0answers
12 views
Asp.net database and gridview control?
write a program to connect to ms access database given below and display all the data in a gridview control. import the System.Data.Oledb namespace at the beginning of the program.
database name : ...
0
votes
1answer
12 views
how use PopupControlExtender with conditions
i have an asp.net Button, i want when a user click on that button:
if there is any Session["id"] for that user, user will be redirect to
another page
2.if not show a PopupControlExtender and show ...
-1
votes
0answers
5 views
Browser can't find www.dnndev.me to install DotNetNuke
0
down vote
favorite
I am working with asp.net and I want to install DotNetnuke (I really need to install it). I have installed it on another computer in the company where I am doign my internship ...
0
votes
1answer
39 views
Why does Visual Studio's MVC template set ViewBag.Title in views rather than in the corresponding controllers?
Taken from index.cshtml:
@model MvcMovie.Models.Movie
@{
ViewBag.Title = "Details";
}
<h2>Details</h2>
<fieldset>
<legend>Movie</legend>
<div ...
1
vote
1answer
14 views
Max pooled connection timeout
I have this web app and my users often seem to be getting this error when logging in:
"Timeout expired. The timeout period elapsed prior to obtaining a
connection from the pool. This may have ...