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:701190
More Search Options
RSS Available
Matching Posts
Re: Automatic mail notification based on time
The link above is about using SQL Server to create a batch job and send email using database mail, and that was my first thought. But If you want to do it purely through an ASP.Net app, then you can use the Global.Aspx to kick off a timer object that fires once a day, and then when it does you could check the database for records that match your criteria and then email them in a loop. Alternatively you could look into using Windows Workflow Foundation (WF). Basically you'd create a simple workflow
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/7/2008
Re: [Serializable] Attribute - Why?
I believe any performance implication would be very, very slight... all the attribute does is add a bit of meta-data to the compiled MSIL. It's only ever used by the serializers which check if the attribute exists before allowing the class to be serialized. The basic XmlSerializer doesn't need the serializable attribute, but it ignores any protected and private member variables, i.e. it only serializes public variables and properties. The binary Serializer takes everything, public and private
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/7/2008
Re: How can i access data from peachtree into my asp.net application?
I think you need an add-on to get access to the data - try http://www.peachtree.com/sdk/multiware.cfm
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/6/2008
Re: Big Problem my app end
Are you actually getting an exception? You'll also need to give us the context in which you're putting this piece of code, i.e. is it in the page load event handler for example?
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/6/2008
Re: Sending mail
SendToQueue sounds like it's using Message Queueing as part of it's processing. If that's the case, that can provide a nice way of levelling out demand so you can ensure you're not swamped with requests to send out emails (or do some other expensive piece of processing), but it's not an answer to your problem in itself. Email isn't a guaranteed delivery mechanism. Message Queuing potentially is, but only between message queues and the applications that use them, which excludes
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/3/2008
Re: Encapsulate logic when a record is updated
You can use LINQ to SQL or Entity Framework (it's big brother) to do this for you if you want... just point Visual Studio at your database, tell it what tables you want to generate code for and it'll generate all the CRUD functionality plus object orientation-friendly classes to program against so you never have to think relationally. I'm side-stepping a HUGE argument in favour of using stored procedures for create, update and delete functionality here... There are lots of advantages
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/3/2008
Re: Unable to find controls in "view Source"
As Haissam says, the datalist control you put on your ASPX page is actually rendered as standard HTML tables. All the ASPX server controls (textbox, labels, images etc) that you put into your ASPX pages are actually changed by the ASP.Net process running inside your web server into standard HTML. You need to remember that the page you actually develop is just a template, not the final thing that's sent down to a user's browser. ASP.Net takes that template, runs your code against it as well
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/3/2008
Re: Main box (Inbox and Sent box)
Yes, it's pretty easy, but you're just re-inventing Outlook (or any other email client) to do this... But if you're sure it's what you want to do, then you just need a table with columns for senderId, recipientId, messageReadFlag and messageText. When the employer sends a message, it just creates an entry in this table with the employer's ID as the SenderId, the recipient's ID as the RecipientId (obviously), set the messageReadFlag to false to start with since the recipient
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/3/2008
Re: Collection keys
What type of collection? Do you mean a Dictionary, or HashTable or something? In the Dictionary<TKey,TValue> class, you've got two properties, one for Keys and one for Values. You can use a foreach loop to iterate through all the keys and values in the collection by using these properties.
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/2/2008
Re: Casting a Session object to a List<T>...
You're not actually creating a List<Note> (i.e. the generic typed list collection), since you didn't give it a type to create. On line 5, you need to use the line: private List<Note> Notes = new List<Note>(); Line 15 should become: Notes = (List<Note>)Session[ "Notes_" + Sitecode];
Posted to
Getting Started
(Forum)
by
griff_1000
on 10/2/2008
Page 1 of 24 (238 items) 1
2
3
4
5
Next >
...
Last »
Channel 9:
Ping 42: Is Microsoft cool? Photo DNA, Win7 tool, 10k MIX contest
Channel 9:
Jafar Husain: Silverlight Toolkit and Rx, Part 1
Channel 9:
Francesco Logozzo - Static Checking with Code Contracts for .NET
Channel 9:
Channel 9 Live at PDC09: Doug McCuistion, NASA
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 3: Configuration
Channel 9:
Reading Debate with Bill Buxton
Channel 10:
Reading Debate with Bill Buxton
WindowsClient:
Build WPF Data Controls for Outlook Addins Easily with VS2010
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 2
Channel 9:
Channel 9 Live at PDC09: .Net Rocks Part 1
Channel 9:
Channel 9 Live at PDC09: Wei Zhu (Facebook)
WindowsClient:
WPF Manipulation Basics
ASP.NET:
High CPU in .NET app using a static Generic.Dictionary
TechNet Edge:
Deploying Silverlight - Why and How
WindowsClient:
Windows Client Developer Roundup for 12/21/2009
IIS.NET:
SiteShell
Silverlight:
4 Calendars & Plans for 2010 / 5770
ASP.NET:
ASP.NET MVC 2 and Visual Studio 2010
ASP.NET:
Moving your ASP.NET Application to Windows Azure – Part II
Silverlight:
HVP – Core Scaffolding and Updated News
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online