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:607787
More Search Options
RSS Available
Matching Posts
Re: using tokens for email template
currently I have this code: public class Token : IEnumerable { private string[] elements; public Token(string source, string firstname, string lastname, string email, string customer) { // Parse the string into tokens: Dictionary<string, string> token = new Dictionary<string, string>(); token["{{FirstName}}"] = firstname; token["{{LastName}}"] = lastname; token["{{email}}"] = email; token["{{customer}}"] = customer; elements = source.Replace("This", "Hello"); //(t, token[t]); } // IEnumerable
Posted to
C#
(Forum)
by
mmeenagh31
on 1/6/2006
using tokens for email template
I'm looking for some help to develope an email module which allows a user to specify an email template upto 5 templates and use delimiters to specify username, address details and passwords. eg To {{name}} {{Address}} - like mail merge. the name and addresses are stored in database. I have this code "private string[] elements; Tokens(string source, char[] delimiters) { // Parse the string into tokens: elements = source.Split(delimiters); } // IEnumerable Interface Implementation: // Declaration of
Posted to
C#
(Forum)
by
mmeenagh31
on 1/5/2006
Re: Dropdown list box - limiting number of items displayed
I want to show all the rows but limit the number displayed at a time to 5. Marty
Posted to
Data Presentation Controls
(Forum)
by
mmeenagh31
on 9/28/2005
Dropdown list box - limiting number of items displayed
I'm trying to create a drop down listbox which shows all the states in the US but the dropdown listbox shows to many of them at once i want to limit the number to 5 and not 30 which it shows now. I think this is a simple questions but can't find the solution anywhere. Regards, Marty
Posted to
Data Presentation Controls
(Forum)
by
mmeenagh31
on 9/28/2005
Re: Creating an email mock system
Got no feedback, maybe was a bit to much to ask Marty
Posted to
Web Forms
(Forum)
by
mmeenagh31
on 9/28/2005
Re: Downloading file from DB and Response.Redirect problem in C#
Any help would be great, even how i could do the download function differently so i don't get this problem
Posted to
Data Presentation Controls
(Forum)
by
mmeenagh31
on 9/27/2005
Downloading file from DB and Response.Redirect problem in C#
I've written this code to download a file from the database : protected void __Files_SelectedIndexChanged(Object sender, EventArgs e) { int fileid = Convert.ToInt32(__Files.SelectedDataKey.Value); VendorItemFileEntity file = new VendorItemFileEntity(fileid); byte[] Buffer = file.Content; string filename = file.Filename; Response.ContentType = "application/octet-stream"; Response.Clear(); Response.AddHeader("Content-Disposition", "attachment;filename=" + filename); Response.OutputStream.Write(Buffer
Posted to
Data Presentation Controls
(Forum)
by
mmeenagh31
on 9/26/2005
Re: gridview and binding with middle tier
So how do i implement sorting in gridview?
Posted to
Data Presentation Controls
(Forum)
by
mmeenagh31
on 8/18/2005
Re: gridview and binding with middle tier
Got it figured out used this code: public delegate void GridViewDeleteEventHandler ( Object sender, GridViewDeleteEventArgs e); void __Dependencies_RowDeleting( Object sender, GridViewDeleteEventArgs e) { GridViewRow i = __Dependencies.Rows[e.RowIndex]; int dependancyid = Convert .ToInt32((( Label )i.FindControl( "__DependancyId" )).Text.ToString()); Vendor .deleteDependancy(dependancyid); BindData(); } had to declare delegate first before i could specify rowdeleting code. so all i had to do in gridview
Posted to
Data Presentation Controls
(Forum)
by
mmeenagh31
on 8/17/2005
Re: gridview and binding with middle tier
This is my HTML code not much to it: < asp : GridView ID ="__Dependencies" runat ="server" AutoGenerateColumns ="False" AllowPaging ="True" PageSize ="5" OnRowDeleting ="Delete" < Columns > < asp : TemplateField HeaderText ="Vendor Item"> < ItemTemplate > < asp : Label ID ="__vendorItem" runat ="server" Text =' <%# Bind("itemNumber") %> '></ asp : Label > </ ItemTemplate > < EditItemTemplate > < asp : TextBox ID ="TextBox1" runat ="server" Text
Posted to
Data Presentation Controls
(Forum)
by
mmeenagh31
on 8/17/2005
Page 1 of 3 (22 items) 1
2
3
Next >
WindowsClient:
Windows Client Developer Roundup for 12/28/2009
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
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online