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:834178
More Search Options
RSS Available
Matching Posts
data binding question for a simple enhancement
I would like to display the albumn titles on the Photos.aspx and Details.aspx pages. I'm having trouble getting it to work. I thing the way I'm supposed to do it is to bind a control to the output of a SQL statement based on the query string. The query string contains the AlbumID. I've created a stored procedure that works. the code is: ALTER PROCEDURE GetAlbumTitle @AlbumID as int AS SELECT *, 0 AS NumberOfPhotos FROM [Albums] WHERE ([Albums].[AlbumID] = @AlbumID) RETURN I think I'm
Posted to
Personal Site Starter Kit
(Forum)
by
mreaves2008
on 12/11/2008
Filed under: data binding
Re: How to re-create Personal.mdf
I solved this by, deleting the *.mdf file, creating a new database (see above) and creating the tables & stored proc again using the personal-add.sql code in the SQL 2008 mgmt studio. I had to add permissions to the database folder for the user called SQLServerMSSQLuser$[hostname]$SQLExpress.... I got one of the other starter kits that uses a DB working then I established the same permissions. I hope that helps. I'm no pro. It took me most of the day. Cheers, Mike
Posted to
Personal Site Starter Kit
(Forum)
by
mreaves2008
on 10/30/2008
Re: How to re-create Personal.mdf
Thanks for that Serk4, but when you say "recreate it", do you mean in something like Query Analyser,.. in other word, run the SQL to recreate the tables / procs? How do I do that. If that's the way, which tool should I use?
Posted to
Personal Site Starter Kit
(Forum)
by
mreaves2008
on 10/25/2008
Page 1 of 1 (3 items)
Channel 9:
E2E: Brian Beckman and Erik Meijer - Co/Contravariance in Physics and Programming, 1 of 2
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online