Integrated Development Environment from Microsoft targeting ASP.Net applications
Questions tagged [visual-web-developer-2010]
151 questions
0
votes
1 answer
OptimisticConcurrencyException thrown for a simple fetch/update method
Environment
Entity Framework 4; Visual Web Developer Express 2010; Database first; SQL Server Express
Question
I want to fetch a row from the database, update one field and save back to the database.
Why does the following method throw an…

Mark_Gibson
- 922
- 1
- 12
- 32
0
votes
2 answers
How to get requesting url when user is redirected to login page by web.config in asp.net
My web application immediately redirects users to a login page via web.config. How can I get the url that requested my page? I tried using the Request paramaters in Page_Load of the Login.aspx page but that didn't work.

Troy Mitchel
- 1,790
- 11
- 50
- 88
0
votes
1 answer
How to create a 'fresh' session when the page is re-opened
I am very new to basic programming, and I'm currently creating a webpage that handles bookings and when the booking has been made, it stores the $ value of the booking and the amount of the booking in session variables. How do I make it so that when…

Ashley Krynen
- 31
- 6
0
votes
1 answer
Gridview not allowing paging
I have a gridview on a asp web page and the formatting works fine except when I add AllowPaging or if I set the location of the gridview. Here is the gridview code that I am using.

Tim Vavra
- 537
- 1
- 19
- 35
0
votes
2 answers
Class file doesn't compile outside of App_Code folder
I am using Visual Web Developer Express 2010 edition.
I have chosen "New Website" (and not New Project) to build a website.
My project is targeted for .NET 2.0
I have a class file which I originally created under the App_Code folder. I instantiated…

user93353
- 13,733
- 8
- 60
- 122
0
votes
1 answer
Removing the Visual Studio / Visual Web Developer 2010 Express debugger and debugging JavaScript in the browser's debugger
When I set a break-point in my JavaScript code in the browser's debugger provided by its developer tools plug-in, I get a message saying that one or more processes are already attached to this, so it can't set a break-point or debug the code in the…

Water Cooler v2
- 32,724
- 54
- 166
- 336
0
votes
1 answer
Error with EntityDataSourceExtention to Enable Insert(): "type or name EntityDataSource could not be found"
In Visual Web Developer 2010, I'm trying to implement the extension to EntityDataSource described on this page that enables Insert() to be used as a…

GG2
- 179
- 10
0
votes
1 answer
GetTable is not a member of DataContext
I'm attempting to read from a SQL-Server database using LINQ like so:-
Public Module MyMod
Public db As MyDatabaseDataContext
End Module
Partial Public Class MyDatabaseDataContext
Public ReadOnly Property MyProperty As MyTableRow
…

Brian Hooper
- 21,544
- 24
- 88
- 139
0
votes
1 answer
Refresh Visual webpart through Javascript in sharepoint 2010
I have added visual webpart in home page. Can any one provide me java script to refresh this Webpart for every 2 minutes.
Thanks for your time.
Regards,
Sandy

santosh kondapalli
- 121
- 16
0
votes
1 answer
Are you missing a using directive or an assembly reference. Visual Studio WebDeveloper 2010
So I'm having a little trouble trying to figure out what exactly I'm doing wrong here.
I'll give you a basic rundown of what I've been doing.
I am creating a Details with and one line of data is a boolean, We were using a CheckBoxField originally…

Josh Bent
- 1
- 1
- 2
0
votes
2 answers
how do i add a script to an aspx form in visual web developer
I've searched the net and watched videos on this but no one really helps. What I want to do is add an already typed java script file to my aspx form in Visual web developer.
All tell me that i should just add: