Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:45679
More Search Options
RSS Available
Matching Posts
Re: Attempted to read or write protected memory. This is often an indication that other memory has been corrupted
I was getting this same exact message. Cryptic. The error came up when my aspx page attempted to execute an OleDBCommand against Oracle 10g client. Then I realized that I was missing the command parameter that was specified in the query. Looks like instead of giving you a pretty message, you get this ugly one. Hope This Helps, Brian
Posted to
Migrating from ASP.NET 1.x to ASP.NET 2.0
(Forum)
by
brianphilpot
on 7/3/2007
Re: MSBuild error: Failed to map the path
I was having the same problem, then I tried this: Originally, I was opening the website in VS 2005 by using the following process File -> Open Web Site -> Browse to directory in FILE SYSTEM and click OK When I changed this process by instead going: Files -> Open Web Site -> NOW CLICK ON Locall IIS on the left of the new dialog box and browse to the application directory and click OK. Now when I do a build it goes through flawlessly, no errors. Hope this helps others. Thanks, Brian
Posted to
Configuration and Deployment
(Forum)
by
brianphilpot
on 7/3/2007
Is it possible to access a procedure of a user control from a sibling user control?
If anyone can help with this I would greatly appreciate it... I have a hosting page named default.aspx which contains two user controls control1.ascx and control2.ascx instantiated as ctl1 and ctl2 respectively. Control1.ascx and control2.ascx each have code behind files, and in them each has a procedure named LoadData.. which simply loads the control (populates gridviews, etc.) I can easily call ctl1.LoadData from the code behind file for default.aspx to load the data in ctl1. Is it possible to
Posted to
Web Forms
(Forum)
by
brianphilpot
on 12/10/2006
Need Help Setting DataList ItemTemplate Dynamically
Please Help! I am looping through a recordset and dynamically generating several datalists with the following code: conGetData.Open() With sqlCommand.ExecuteReader() If .HasRows() Then Do While .Read() Dim dlDataList1 As New DataList dlDataList1.ID = "dlDataList" & .Item( "ID" ).ToString() dlDataList1.RepeatColumns = 3 dlDataList1.DataSource = GetServiceList(.Item( "ID" ).ToString()).Split( ", " ) dlDataList1.DataBind() plhPlacHolder.Controls.Add(dlDataList1
Posted to
Data Presentation Controls
(Forum)
by
brianphilpot
on 8/31/2006
Re: Unable to retrieve datakey from gridview.
Ultimately, I would like the value. However, when I try what you wrote I get this message: Data keys must be specified on GridView 'grid1' before the selected data keys can be retrieved. Use the DataKeyNames property to specify data keys. Even though I have specified the DataKeyNames attribute of the gridview control. The reason I showed the count in my example is only because the count always results in zero, meaning no matter what I seem to do, no datakeys are being passed from the gridview. Any
Posted to
Data Presentation Controls
(Forum)
by
brianphilpot
on 2/23/2006
Unable to retrieve datakey from gridview.
Hello, I have a gridview control which I am populating by binding to a DataSource instead of using the DataSourceID feature of .Net 2.0. See below: aspx page with gridview: < asp : GridView DataKeyNames ="ID" CellSpacing ="1" CellPadding ="2" RowStyle-CssClass ="lightblue" Width ="100%" ID ="grid1" AutoGenerateColumns ="False" runat ="server"> < Columns > < asp : BoundField ReadOnly ="True" HeaderText ="ID" DataField ="ID" /> < asp : BoundField ReadOnly ="True" HeaderText ="Locs
Posted to
Data Presentation Controls
(Forum)
by
brianphilpot
on 2/23/2006
Accessing page properties from within a class
Does anyone know how to configure a class (not the associated code-behind) so that you can access page objects? For example you have a simple default.aspx page with a label control: <asp:Label ID="lblTest1" runat="server"> Then you have the associated codebehind default.aspx.vb: Private Sub Page_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load HelloWorld.Add() End Sub And you have a class file in the App_Code folder: Public Class HelloWorld Public Shared
Posted to
Web Forms
(Forum)
by
brianphilpot
on 2/3/2006
Basic Question on ASPX and partial classes
Hi, When you create an aspx page (default.aspx) in Visual Studio .Net 2005 it automatically creates the corresponding class file (default.aspx.vb) and it gives you intellisense and recognition of each of the objects within the aspx page. For instance, if I create a dropdownlist in default.aspx file named ddlAuthors then try and access ddlAuthors.SelectedValue in the default.aspx.vb file, it finds ddlAuthors using Intellisense and prompts me with the available properties, methods, etc. for ddlAuthors
Posted to
Web Forms
(Forum)
by
brianphilpot
on 2/3/2006
Re: Viewstate seems to be such a performance hit.. any better option?
Scott, But if I load it in each page_load won't and disable view_state I will lose the selected item from the dropdown list, won't I? I mean that is why I was using view_state, just to keep the selected item from the dropdown on postbacks. Thanks, Brian
Posted to
State Management
(Forum)
by
brianphilpot
on 1/26/2006
Viewstate seems to be such a performance hit.. any better option?
Hello, I have a dropdown that has over a thousand entries in it. If I keep viewstate enabled for it, then it creates hundreds (maybe thousands) of lines of viewstate. However, if I disable viewstate, then I do not maintain the value for the dropdown on postbacks (which I need.) Is there some best practice recommendation regarding performance in such a situation? Any recommendations are welcome and appreciated. Thanks, Brian
Posted to
State Management
(Forum)
by
brianphilpot
on 1/23/2006
Page 1 of 2 (19 items) 1
2
Next >
TechNet Edge:
Windows Server 2008 R2 Quick Look #3 - PowerShell V2
ASP.NET:
2009 Blogged - Greatest Hits
WindowsClient:
2009 Blogged - Greatest Hits
Channel 9:
Nikolaj Bjørner and Leonardo de Moura: The Z3 Constraint Solver
Channel 9:
MEF & Silverlight 4 Beta - Part 2, Imports & Exports
Channel 9:
MEF & Silverlight 4 Beta - Part 1, Introduction
WindowsClient:
The (Near) Final Word on Multi-Monitor Taskbars for Windows 7 - Ultramon vs. DisplayFusion
WindowsClient:
Looking back at 2009, and forward to 2010
Silverlight:
Polling Video – A Viable sub-second alternative?
TechNet Edge:
Windows Server 2008 R2 Quick Look #2 - Active Directory Recycle Bin
Channel 10:
I'm a Windows 7 PC Themes
Channel 10:
24 Years of Windows Box Art
WindowsClient:
Silverlight tutorial: HOW TO build CommandLink Control in Silverlight with Expression Blend 3 and Behaviors
ASP.NET:
Converting an RGB Color To Hex With JavaScript
Silverlight:
Silverlight HVP Design – Configuration & Scenarios
Channel 9:
Channel 9 Live at PDC09: Day 3 Welcome
Channel 9:
Channel 9 Live at PDC09: TWoC9 Day 3
Channel 10:
Microsoft's Mobicast: Stiched Cell Streams
Channel 10:
Festive Bing
TechNet Edge:
How Microsoft Reduces Operational Risk through Business Continuity Management
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online