Wrox Programmer Forums
|
ASP.NET 4 General Discussion For ASP.NET 4 discussions not relating to a specific Wrox book
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 4 General Discussion section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 10th, 2011, 03:18 PM
Authorized User
 
Join Date: Feb 2011
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default T-SQL

I've been working on membership pages to replace WSAT.

--> One could build an entity data model (.edmx) of the membership database, give the program read/write access, and pound away. That would be a pretty easy way to go, having read the asp .net 4 book.

--> Or, one could use the classes and T-SQL functions provided by "using System.Web.Security" (in C#). This is easy enough, but when doing this I miss having the built-in objects and intellisense provided with the entity data model. I find myself chopping up pages to make the presentation easy to manage.

--> I went poking around on the web and found somebody who was putting the information returned by the System.Web.Security classes into XML. That gave him some structure, but he was always having to specify details of grid controls and such. Grid sorting and paging becomes tricky. (I haven't figure out the trick yet, but having spent a day to get very little progress, I am loosing interest fast.)

Surely there is a better way! Where would I learn more about this?

Also, do you have a good reference for T-SQL itself, and how to turn those procedures into classes? I'll be tackling a bigger project next, and I would like to use T-SQL for that project.
 
Old August 15th, 2011, 09:26 AM
Authorized User
 
Join Date: Feb 2011
Posts: 13
Thanks: 2
Thanked 0 Times in 0 Posts
Default

I went back to the well (web) this weekend and cast a wider net. I found several relavent links:

http://support.microsoft.com/kb/320916
http://www.dbtutorials.com/advanced/...edures-cs.aspx
http://www.codeproject.com/KB/cs/simplecodeasp.aspx
http://www.csharp-station.com/Tutori.../Lesson07.aspx
http://www.csharpfriends.com/article...x?articleid=78
http://www.c-sharpcorner.com/UploadF...sOutsinCS.aspx
http://www.developerfusion.com/artic...-sql-server/3/

I would still appreciate some references. There appear to be books about SQL Server stored procedures, and books about asp.net, but no books that tie the two together. Even for the stored procedures, I'm having a bit of a trouble evaluation the options.





Similar Threads
Thread Thread Starter Forum Replies Last Post
SQL Exercises for PUBS and Northwind SQL Sevrer database JaideepC99 SQL Language 3 October 10th, 2011 04:17 AM
Can I host SQl 2008 R2 database in SQL 2005 Server? anantgupta ASP.NET 4 General Discussion 0 July 2nd, 2011 02:43 AM
Synchronization between SQL 2008 Express on local machine and SQL hosting server avidan ASP.NET 4 General Discussion 0 December 29th, 2010 12:31 PM
How Run .sql Script file in MS SQL Server 2000? aarkaycee SQL Server 2000 5 October 12th, 2009 05:43 AM
Move SQL DB from one sql to another sql server Israr SQL Server 2000 3 January 24th, 2005 02:13 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.