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:101096
More Search Options
RSS Available
Matching Posts
Page.User.Identity.Name for use in Parameterized SQL Query.
I have this value placed on my page. <%=Page.User.Identity.Name %> and it prints out my logged in User Name. I would like to get it into ny sql statement. My code in code behind is: protected void SqlDataSource1_Selecting(object sender, SqlDataSourceSelectingEventArgs e) { e.Command.Parameters["@User"].Value = Page.User.Identity.Name.ToString(); } < asp : SqlDataSource ID ="SqlDataSource4" runat ="server" connectionString ="Data Source=WEST-E6340612F0\SQLEXPRESS;Initial
Posted to
Getting Started
(Forum)
by
westdh
on 7/8/2009
Filed under: C# VS 2008 sql 2008
Need Help with Execute StoreProcedure VWD 2008 Express
I need help on excuting a storeprocedure. I have been able to compile a working solution. But I get runtime errors. Because, I belive my code is not compatble with VWD 2008 and ASP.NET 3.5. the runtime error is: A critical error has occurred. -> Object reference not set to an instance of an object. Would some tell how to build the correct method for excuting a stored prodedure using the sp excute command. This does not work Conn:.Execute("WC_Orders_Compliance") in VWD 2008 express..
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
westdh
on 5/19/2009
Filed under: VWD Express 2008 and SQL Server 2008 VB
Cannot find Control .Index out of range
Compiles OK Runtime Error? A critical error has occurred. Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index protected void ListView2_ItemDataBound( object sender, ListViewItemEventArgs e) { if (e.Item.ItemType == ListViewItemType .DataItem) { Label lbl_Result = ( Label )ListView2.Items[0].FindControl( "resultLabel" ); // Display the e-mail address in italics. //Label EmailLabel = (Label)e.Item.FindControl("Email"); //EmailLabel
Posted to
Data Presentation Controls
(Forum)
by
westdh
on 5/6/2009
Re: ASP/VB.net Developer Needed
Why dont you implement this forum into your web site. I was able to download the previous version of this ASP.NET forum. Modify it to suit my needs and load it on my server and link to it from my customer Website and provide them with a forum for thier use. If You need someone to do that for I am available. westdh@charter.net
Posted to
Jobs
(Forum)
by
westdh
on 4/18/2005
Re: Datasource config wizard cant find business object?
We should have an online Readme where we could post a list of fixes for source code. The Readme would always appear at the top of the Forum. For each Forum that provides source.
Posted to
Visual Web Developer 2005 Express
(Forum)
by
westdh
on 1/9/2005
Re: Template in 2005
I didn't know 2005 beta1. Could run on a host?
Posted to
Visual Web Developer 2005 Express
(Forum)
by
westdh
on 12/22/2004
Re: To Beta or not To Beta?
Learn ASP.NET Period. It will not be a waste of time they will still be plenty of ASP.NET V1.1 that will need to be supported. Also a need to know in order to upgrade V1.1 to 2.0. Plus 2.0 could still be a year away. Plus if you want to continue coding the MS way V1.1 knowledge will help on your resume.
Posted to
Visual Web Developer 2005 Express
(Forum)
by
westdh
on 12/22/2004
Re: To Beta or not To Beta?
On the surface you mite be able to make that statement, but then what do you consider a great web site? Now, if you are considering data driven web sites you will need to know the database tools and data components. And as you get into specfic customer needs and requirements you will need to know the inter working of underlining code. Aslo it is a good idea to know how to build user and custom controls. I do believe that someday your statement will be correct and all we will need to know is component
Posted to
Visual Web Developer 2005 Express
(Forum)
by
westdh
on 12/21/2004
Re: To Beta or not To Beta?
At this moment in time you should try to learn both. The Welcome to the ASP.NET 2.0 QuickStart Tutorial at http://beta.asp.net/quickstart/aspnet/doc/default.aspx refers and suggest that you should be familiar with previous versions of ASP.NET. If you are new to ASP.NET, visit the ASP.NET v1.x Quickstart Tutorial to get started. Also the Starter Kits are a quick learn into version 1.1
Posted to
Visual Web Developer 2005 Express
(Forum)
by
westdh
on 12/20/2004
Re: SQL database question
You could build a sql script based on modifing the sqlTour or Geekspeak sql scripts and execute a Run command like ex. in the Tour or Geekspeak samples.
Posted to
Visual Web Developer 2005 Express
(Forum)
by
westdh
on 12/7/2004
Page 1 of 7 (64 items) 1
2
3
4
5
Next >
...
Last »
WindowsClient:
Snoop with 64 bit support
ASP.NET:
jQuery Hide/Close Link
ASP.NET:
Merry Christmas
TechNet Edge:
FPE Customer Story
Silverlight:
Being a writer, and having an editor. A Short Rant.
Channel 9:
Channel 9 Live at PDC09: Dr Brian Brooks (3M)
Channel 9:
C9 Lectures: Dr. Erik Meijer - Functional Programming Fundamentals Chapter 13 of 13
Silverlight:
Information for Silverlight HVP Developers…
WindowsClient:
Custom Content Loaders in Silverlight 4.0
WindowsClient:
MVVM Links\Info
TechNet Edge:
Check out how Dolly Parton uses IE8 and Web slices!!!
Silverlight:
A Silverlight HVP Update
Channel 9:
Channel 9 Live at PDC09: This Week on Channel 9 - PDC09 Daily Show Edition Day 1
Channel 9:
Maria Klawe: Scholar, Scientist and Microsoft Board Member
Channel 10:
Play the Bing Sherlock Holmes Game
Channel 9:
Channel 9 Live at PDC09: Loic Le Meur
Channel 10:
How to Delete Jump List Items
Channel 10:
Roll Back to Classic Network Indicator in Win7
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 2
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online