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:842598
More Search Options
RSS Available
Matching Posts
ObjectDataSource, DataSet with Foreign Keys, and Select Order
A TableAdapterManager works just great when you have a dataset containing tables with foreign keys. The tableadapter manager does inserts and updates in the order needed, whereby parent tables are inserted/updated before child tables. But what about filling those tables with initial rows? I have a web page with multiple ObjectDataSource controls that I want to use to fill a dataset with related tables. However, I can't control the order that the select statements occur. So what happens is that
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
jasscat
on 9/2/2009
System.ObjectDisposedException: Cannot access a closed resource set
I have a local resource file in my application that I'm accessing using strongly typed properties created with the StronglyTypedResourceBuilder. I access this resource file a couple of different ways. At first, I'm creating a DataTable of resource keys/values like this (using the strongly typed Resource Manager property of the resource class) : IDictionaryEnumerator _reader = resourceset.GetEnumerator (); while ( _reader.MoveNext ()) { DataRow dr = dt.NewRow (); dr["Name"] = _reader
Posted to
Localization
(Forum)
by
jasscat
on 7/2/2009
Can a control skin be applied to another page element?
I have a web page that essentially is composed of a table with two rows, each with two cells (only I'm not really using a table, I'm actually using div areas). In three of those cells, I have a FormView control. The FormView controls make use of a skin. The skins are defined in multiple themes which the user is able to choose. So, depending on the theme chosen, all three FormView controls will have the same look. To illustrate, my page code looks something like this: <table> <tr>
Posted to
Master Pages, Themes and Navigation Controls
(Forum)
by
jasscat
on 4/24/2009
Re: Data bound percentage formatting
Ah, that works perfectly. I had something like that with the concatenation but I didn't put the integer and conditional format in parentheses. Thanks a bunch.
Posted to
Data Presentation Controls
(Forum)
by
jasscat
on 4/7/2009
Re: Data bound percentage formatting
Yes, I could set the text property in code behind, but I was trying to avoid doing that. You know, one of those "there's got to be an easy way to do it the way I need to do it" things.
Posted to
Data Presentation Controls
(Forum)
by
jasscat
on 4/7/2009
Re: Data bound percentage formatting
It doesn't work for me. I'm getting a "server tag not well formed" error when I use: Text='<%# String.Format("{0:0'%}", Eval("commission")) %>' Do I have the correct string? Or is String.Format not allowed in this context?
Posted to
Data Presentation Controls
(Forum)
by
jasscat
on 4/6/2009
Data bound percentage formatting
I'm using a data binding expression in a form and I want to show the bound value as a percentage. My original expression looked something like this: <%# Eval("commission","{0:p}") %> However, this doesn't work for me because my value is an integer, not a decimal, and the format string multiplies the value by 100. I did read that putting a single quote in front of a percentage sign would prevent multiplying by 100 (as in string.Format(”{0:##.00′%”, 1.23) will yield
Posted to
Data Presentation Controls
(Forum)
by
jasscat
on 4/6/2009
Re: IE 8 and Asp .Net errors
Problem solved, sort of. Seems like any time I had any kind of localhost error, I kept getting kicked to the DNS error page. I finally just set all settings in Internet Explorer to defaults and that cleared things up. Some setting was probably changed when I installed an add-on. I still don't know what was changed, but at least I can see error messages again.
Posted to
Free For All
(Forum)
by
jasscat
on 3/24/2009
IE 8 and Asp .Net errors
I figured I'd post this in this forum since it's really an Internet Explorer 8 issue, although it occurs when I'm doing ASP .Net development. I recently installed Internet Explorer 8. After correcting a lot of issues, such as getting the menu control to work in IE 8, I continued testing the app I'm working on . But I'm having a hard time fixing errors. That's because whenever I get an ASP .Net error in IE 8 (the infamous yellow error page) I see the error page for a brief
Posted to
Free For All
(Forum)
by
jasscat
on 3/23/2009
Re: SqlCacheDependency and order of operations
You mean that the sql statement that your dependency will use to determine whether a result set has changed (so that the cache will be cleared) has to be executed after instantiating the sql depedency object in order to establish an initial result set to compare against, right? It doesn't matter whether you read into a dataset or execute reader. That's so important to know. I don't know why this isn't pointed out somewhere. Again, I wonder how many other people have torn out their
Posted to
State Management
(Forum)
by
jasscat
on 3/14/2009
Page 1 of 3 (24 items) 1
2
3
Next >
TechNet Edge:
Windows Server 2008 R2 Quick Look- Installing the Migration Tools
WindowsClient:
My latest videos – WPF, Silverlight, Sensors, and PDC09
WindowsClient:
Developing an installer for your Surface application
ASP.NET:
Visual Studio 2010 and .NET 4 Update
WindowsClient:
Microsoft’s product placements in The Big Bang Theory
Channel 9:
Channel 9 Live at PDC09: Martin Cron
Channel 9:
Channel 9 Live at PDC09: Erik Meijer and Thomas Lewis
WindowsClient:
Download Data Services Update for .NET 3.5 SP1
Silverlight:
Extending the SMF for the HVP
Silverlight:
Extending the SMF for the HVP
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 12 of 13
Channel 10:
Bing Maps Update: Map Embeds and Draggable Routes
WindowsClient:
New WPF Showcase: WEB Touch
ASP.NET:
ASP.NET MVC 2 RC Released
WindowsClient:
Very exciting Microsoft Pivot from Live Labs
WindowsClient:
XAML for UI & .rc files
TechNet Edge:
DNS Security (DNSSec) Overview
Silverlight:
Silverlight 4 demos from my PDC Keynote now available
Channel 9:
Channel 9 Live at PDC09: Dave Campbell
Channel 9:
Channel 9 Live at PDC09: Yousef Khalidi
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online