User Profile

Collapse

Profile Sidebar

Collapse
Madzone
Madzone
Last Activity: Mar 25 '07, 09:54 AM
Joined: Mar 14 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Madzone
    replied to DateTimePicker
    in .NET
    If you are using ASP.net Then there must be an event called Selection Changed.

    try writing code in that event.
    See more | Go to post

    Leave a comment:


  • Madzone
    replied to Security Exception in ASP.NET application
    in .NET
    By Default

    ASPNET or IUSR account which is used to execute ASP.net websites has only guset permissions. you must sent executeable permission for your website to some Administrator Level account. in that case you will be able to access registry. otherwise it will throw an exception
    See more | Go to post

    Leave a comment:


  • Madzone
    replied to Windows service
    in .NET
    Code:
    System.Diagnostics.Process objProcess = new System.Diagnostics.Process();
    objProcess.StartInfo.FileName = "FULL PATH TO FILE";
    objProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
    objProcess.StartInfo.UseShellExecute = true;
    objProcess.Start();
    See more | Go to post

    Leave a comment:


  • I dont think so , by default there is any function or not but you can try to use this on

    in DATALIST Control there is an evet called Item Created in that event you can do one thing . check here your lable.text.leng ht is more then xxx number of characters , then delete the remaining string.

    Code:
     void Item_Created(Object sender, DataListItemEventArgs e)
          {
    
             if (e.Item.ItemType == ListItemType.Item
    ...
    See more | Go to post

    Leave a comment:


  • Madzone
    replied to MultiLine Data Split Problem
    in .NET
    Hello

    I fixed the Proble

    the solution was

    Code:
    string[] str = this.txt.Text.Split((char)13);
    See more | Go to post

    Leave a comment:


  • Code:
    using System.Web.Mail;
    
    
    MailMessage mail = new MailMessage();
    mail.From = "abc@mm.com";
    
    mail.To = Some Email;
    mail.Cc = Some Mail;
    
    mail.Subject = "Inspection Request";
    
    String strMessage = "Blah Blah Blah"
    mail.Body = strMessage;
    mail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1");
    ...
    See more | Go to post

    Leave a comment:


  • Madzone
    started a topic MultiLine Data Split Problem
    in .NET

    MultiLine Data Split Problem

    Hello

    I am developing software for a machine, i receive data from machine in this format



    Now i want to devide this entire string into a string array,
    How can i do that ?

    I m writing Code like this

    Code:
    string[] str = this.txt.Text.Split("\r\n",StringSplitOptions.None);
    Can any bod please help me to split the string by each line....
    See more | Go to post
No activity results to display
Show More
Working...