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:785821
More Search Options
RSS Available
Matching Posts
Loop through data?
I want to check the dataset for a value and then use a style to edit how the display looks. In other words for each task that is complete I want to change the text to gray and put a line through it. Can this be done without writing a complex loop independant of a web form?
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
chekmate
on 10/31/2008
Re: Cookies not working
Response.Redirect("nextpage.aspx") It should work, but it doesn't.
Posted to
State Management
(Forum)
by
chekmate
on 8/18/2008
Re: I need help with Cookies
I tried what you suggested but it didn't work either. To test it again, I wrote this: If Request.Cookies( "EmployeeID" ).Value = 3 Then Response.Write( "Hello" ) It gives me this error.... Object reference not set to an instance of an object. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException
Posted to
Getting Started
(Forum)
by
chekmate
on 8/17/2008
Re: I need help with Cookies
It's not working with sessions either!! ARGH <% @ Page Language ="VB" AutoEventWireup ="false" CodeFile ="JeffTest.aspx.vb" Inherits ="Sales_JeffTest" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> < html xmlns ="http://www.w3.org/1999/xhtml" > < head runat ="server"> < title > Jeff Test </ title > <
Posted to
Getting Started
(Forum)
by
chekmate
on 8/16/2008
I need help with Cookies
When I view my site I can see the result of Response.Write(Request.Cookies( "EmployeeID" ).Value) which is the number 3, but nothing shows up from the formview. I am at a complete loss here. <% @ Page Language ="VB" AutoEventWireup ="false" CodeFile ="JeffTest.aspx.vb" Inherits ="Sales_JeffTest" %> <! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
Posted to
Getting Started
(Forum)
by
chekmate
on 8/16/2008
Re: Cookie Help
Now I am able to see the cookie on the page I am writing it, but as soon as I redirect to the next page the cookie seems to disappear. For example, Response.Redirect( "/Admin/Default.aspx?id=" & Request.Cookies( "employeeid" ).Value) takes me to the page with the id set to a number, but once on that page I cannot read the value from the cookie itself
Posted to
Getting Started
(Forum)
by
chekmate
on 8/15/2008
Cookie Help
My site was working a week ago, and now suddenly it isn't. I can't get it to read the cookies I am saving. Maybe you can help. This is how I am writing the cookie: Dim cookie As HttpCookie = Request.Cookies( "EmployeeID" ) If Request.Cookies( "EmployeeID" ) Is Nothing Then Response.Cookies( "EmployeeID" ).Value = Request.QueryString( "employeeid" ) Response.Cookies( "EmployeeID" ).Expires = DateTime.Now.AddDays(7) End If And now I can't
Posted to
Getting Started
(Forum)
by
chekmate
on 8/15/2008
Cookies not working
Can someone tell me why I am not able to save the cookie as the value of the session? Response.Cookies( "EmployeeID" ).Value = Session( "EmployeeID" ) Response.Cookies( "EmployeeID" ).Expires = DateTime.MaxValue
Posted to
State Management
(Forum)
by
chekmate
on 8/14/2008
Re: LIKE in SQL to compare dates
Limno, I took out the gridview and put in a new one and it worked fine. I wish I could send you the one that wasn't working, but I didn't save it. Do you think it could be I had a field, like an ID, that wasn't filled in and yet was required? Or would that produce an error? Anyway, thanks tons.
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
chekmate
on 7/3/2008
Re: LIKE in SQL to compare dates
Okay, strange thing. Your query works perfectly when run as a test or by itself, but as soon as it is run in ASP.NET it fails. I have no idea why it wouldn't either. I am not changing anything. Hmm. Thoughts?
Posted to
SQL Server, SQL Server Express, and SqlDataSource Control
(Forum)
by
chekmate
on 7/3/2008
Page 1 of 9 (87 items) 1
2
3
4
5
Next >
...
Last »
ASP.NET:
Tip#100: Did you know… How to view ASP.NET trace information?
ASP.NET:
Passing anonymous objects to MVC views and accessing them using dynamic
Channel 9:
Channel 9 Live at PDC09: Coding 4 Fun
Channel 9:
Channel 9 Live at PDC09: Stephen Toub
WindowsClient:
Mouse Gestures for Internet Explorer
Channel 9:
Controlling concurrency in Rx
Channel 9:
Dev Tools Ecosystem Summit Videos Available
WindowsClient:
Using Cerebrata's Cloud Storage Studio To Download IIS logs from Multiple Instances of Windows Azure
TechNet Edge:
TechNet Radio: Office 2007 Setup and Configuration (Part 1)
Channel 10:
How-To: Listen to Your Zune Pass Music on Your WinMo Phone
Channel 10:
Share Your Screen with SharedView
Channel 10:
Get Microsoft Tinker Game For Free
Channel 10:
LG eXpo WinMo 6.5 Unboxing Video
Channel 9:
ADFS 2.0 RC is Here!
Channel 10:
Bing Reference Updated with New Sidebar Features
Channel 10:
Look Behind SurfaceScapes
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part I
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online