Forum: C# Sep 7th, 2005 |
| Replies: 2 Views: 2,118 Hi Toulinwoek,
Wouldn't it be nice if that were dynamic? :lol: How you might do this and whether you would want to probably depends on context. If you're dealing with strongly typed datasets,... |
Forum: ASP.NET Sep 7th, 2005 |
| Replies: 4 Views: 5,818 Hi aripaka,
To include a client-side script block from your asp.net code behind look into
Page.RegisterClientScriptBlock()
This is very useful for scripts you expect to use in many aspx pages.
... |
Forum: ASP.NET Sep 7th, 2005 |
| Replies: 2 Views: 1,694 Hi Jason,
Try rewriting/reorganizing the HTML body of your email to include the label2 inside the form tags--or a copy of the label. Then when you post to the admin page the contents of label2... |
Forum: ASP.NET Aug 28th, 2005 |
| Replies: 3 Views: 4,953 What is it that's not working? What is the error or exception you're getting?
You should be able to use the Update method to store data in the database, but your DataAdapter must be setup... |
Forum: ASP.NET Aug 19th, 2005 |
| Replies: 1 Views: 14,077 You might start with Forms Authentication in .NET. It automates the "remember me" cookie with the following method call.
FormsAuthentication.SetAuthCookie(userName, saveLogin);
Here's a place to... |
Forum: C# Aug 19th, 2005 |
| Replies: 7 Views: 2,475 How to best manage configuration information will depend on your situation, but XML is not a bad way to go in many cases. You can create a Configuration class with all of your variables, then just... |
Forum: C# Aug 19th, 2005 |
| Replies: 6 Views: 2,784 I've read dozens of C# and .NET books. The best, hands down, IMHO is Programming Microsoft Windows with C# by Petzold. It is focused on Windows Forms (desktop apps) rather than ASP.NET or ADO.NET,... |
Forum: ASP.NET Aug 11th, 2005 |
| Replies: 2 Views: 8,147 public void TestDoubleFormat()
{
string format = "0.00";
double d = 12;
string s = d.ToString(format);
d = 12.1;
s += ", " +... |
Forum: ASP.NET Aug 11th, 2005 |
| Replies: 2 Views: 7,216 Hi Madhusudhan,
Your question inspired me to write some in-depth articles on the subject. :eek:
I have dealt with this same problem before. I ultimately created several custom template... |
Forum: ASP.NET Aug 4th, 2005 |
| Replies: 3 Views: 2,282 Hi SelArom,
Glad I could be of service. :D
Personally, I rarely develop a web app at the root level. I always create it in a subdirectory such as "MyApp". To reference images, etc. I use a... |
Forum: ASP.NET Aug 4th, 2005 |
| Replies: 3 Views: 2,282 Hi SelArom,
An ASP.NET application can be created in the root.
1) In the New Project Window, when you select ASP.NET Application you are prompted for a location. VS.NET may suggest a location... |
Forum: C# Aug 4th, 2005 |
| Replies: 1 Views: 4,990 I think a Literal control might be what you're looking for.
Replace:
<link rel="stylesheet" type="text/css" href="a.css" title="OneStyle">
With:
<ASP:LITERAL id="litStyleSheet"... |
Forum: C# Jul 29th, 2005 |
| Replies: 3 Views: 17,114 Well, looks like it's time to go into full on debug mode. :eek:
First you'll need to determine whether the resources are actually getting loaded. Add some code to print out all the names in... |
Forum: C# Jul 28th, 2005 |
| Replies: 3 Views: 26,066 Oops. The last line should read
System.Web.Mail.SmtpMail.Send(to, from subject, body); |
Forum: ASP.NET Jul 28th, 2005 |
| Replies: 5 Views: 10,804 Mozilla will render widths correctly if it comes from the style attribute or a stylesheet.
Cheers,
Steve |
Forum: C# Jul 28th, 2005 |
| Replies: 3 Views: 17,114 Hi HLD77,
I had this problem for a long time before I discovered what was going on. The Toolbar icons are all loaded in an ImageList control. The ImageList control is associated with the Toolbar... |
Forum: C# Jul 28th, 2005 |
| Replies: 3 Views: 26,066 Hi Prasadd,
1) First the email syntax validation.
I have written an article on this at the following link. In short, you can use regular expressions:
Email Validation... |