User Profile

Collapse

Profile Sidebar

Collapse
ssmeshack
ssmeshack
Last Activity: Jul 2 '10, 06:14 AM
Joined: Jul 16 '08
Location: Malaysia
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • ssmeshack
    started a topic My form data not going through email...
    in PHP

    My form data not going through email...

    Hai there,

    I have doing php code for form data to be send to email.
    But it is showing...



    Here is my code for html form...
    Code:
    <body>
    
    	<div id="emailform">
    	<form action="email-thankyou.php" method="post" name="contactForm" onsubmit="return validateForm(this);">
    
    <p><strong>Name:</strong>
    ...
    See more | Go to post
    Last edited by Atli; Oct 2 '09, 11:55 AM. Reason: Replaced real email address with an example address.

  • Thanks r035198x and kenobewan,

    Can you tell me how to check whether data is returned to gridview? Im still a newbie and learning. Can you help me?

    Thanks again.

    -Meshack
    See more | Go to post

    Leave a comment:


  • ssmeshack
    started a topic Prompt no data when there no data in gridview
    in .NET

    Prompt no data when there no data in gridview

    Hi All,

    Im using VWD 2008 and C#. Im using the code for search data. The seaching is success and no error. But here I want to add is, when the gridview return null value (which means there is no data from search query)...
    I want to show label "No Data".

    I tried to add this code to the code below:

    Code:
    if (gvTicket.DataSource == null)
            //{if (GridView1.DataSource == null)
    ...
    See more | Go to post

  • Stored Procedure - Auto rotate staff with where clause.

    Hai all,

    I have problem here. Im using VWD with C#. Database Sql Server 2005. I have done auto rotation for staffname where autorotation = 1.

    It was no problem until I add a new user with autorotation = 0. Where in adding new ticket form the staffname which is autorotate will appear in the label. But here it only show the new user that I add. It didn't rotate where actually it should not show the staffname if autorotation...
    See more | Go to post

  • I always do like what Aziz suggest....
    See more | Go to post

    Leave a comment:


  • Hi All,

    I have another question here. I have done with the integration with database.
    Now my ddlLevel dropdownlist have integration with 2 tables. First is ddlUserlevel table for list down the itemlist. Another is Staff table which is here it retrieve data from the table to dropdownlist.

    The problem is when I try to view the the page where ddlLevel is, it prompt error
    that
    [HTML]'ddlLevel' has...
    See more | Go to post

    Leave a comment:


  • Hi Joedeene,

    Thanks for your comment. Now i got it. Integrate with a database. Thats great idea. I didnt even think it. Thanks again.

    -Meshack...
    See more | Go to post

    Leave a comment:


  • Hi Vivek,

    Thanks for the guidance. It working well. But the thing is I want the listitem added permanently. The one give was temporary. Can you help me with this.

    Thanks again.

    -Meshack...
    See more | Go to post

    Leave a comment:


  • How to add listitem in dropdownlist using C# behind code.

    Hi All,

    Im using VWD 2008 (c#), I have a question here.

    Im having a dropdownlist like this:

    Code:
    <asp:DropDownList ID="ddlIssue" runat="server" AutoPostBack="True" 
                                    Height="24px" onselectedindexchanged="DropDownList2_SelectedIndexChanged" 
                                    style="font-family: 'Arial'; font-size:
    ...
    See more | Go to post

  • ssmeshack
    replied to Convert Date Time Format
    in .NET
    Thanks Frinny,

    Your idea is great. There is only one error that I figured out. The following code with correction. And FunTime column is DateTime object.

    Code:
    DateTime funTime = (DateTime) reader["FunTime"]; 
    Time1.Text = funTime.ToString("hh:mm ss tt");
    Thanks again for your help.

    -Meshack...
    See more | Go to post

    Leave a comment:


  • ssmeshack
    started a topic Convert Date Time Format
    in .NET

    Convert Date Time Format

    Hi all,

    Im have a problem here. Im using VWD 2008 (c#) and Mysql 2005. I dont know how to convert datetime data that i retrieve from mysql database to only date or time. Can anyone help me? Here is something that i tried to do.

    Code:
     Date1.Text = Convert.ToString(reader["FunDateTime"], (MMMM d, yyyy));
    //"MMMM d, yyyy",
    Time1.Text = Convert.ToString(reader["FunTime"], (HH:mm ss
    ...
    See more | Go to post

  • Hai r035198x,

    Its working well... thank you very much...

    -Meshack
    See more | Go to post

    Leave a comment:


  • hi r035198x,



    thanks for reply...
    union can merge but not as i want....
    if i use union, it will look like this...

    Code:
    select Ticowner, count(TicStatus)as "resolved"
    From Ticket
    where Ticstatus = 'resolved'
    Group by Ticowner
    Union
    select Ticowner, count(TicStatus)as "UNresolved"
    From Ticket
    where Ticstatus <> 'resolved'
    ...
    See more | Go to post

    Leave a comment:


  • ssmeshack
    started a topic Can anyone help with merge sql statement.

    Can anyone help with merge sql statement.

    Hi there,

    Im trying to do a table view with each of the statement will give output in each column. but i dono how to combine this two statement to become one sql statement. Please help me.

    Code:
    RESOLVED
    select Ticowner, count(TicStatus)as "resolved"
    From Ticket
    where Ticstatus = 'resolved'
    Group by Ticowner
    
    
    UNRESOLVED
    select Ticowner, count(TicStatus)as
    ...
    See more | Go to post

  • ssmeshack
    replied to Need help in Interop.office C#.
    in .NET
    Hi insertAlias,

    thanks for ur help.... the link that you gave me is helping....
    thank you again......
    See more | Go to post

    Leave a comment:


  • ssmeshack
    started a topic Need help in Interop.office C#.
    in .NET

    Need help in Interop.office C#.

    Hi all,

    Im a newbie. Im using microsoft office 2003 and Visual Web Developer 2008 (C#). Im doing a report and my friend suggest to interop.office. excel. But i really dont understand anything.

    Can anyone help me with this. Can give some links that contain tutorial about it? please...

    Thanks in advance.

    Regard,
    Meshack
    See more | Go to post

  • Hai Kevin,

    I have tried div tag also but it seems no change at all. Is there any other way to correct this problem.
    Thanks for ur post.

    Meshack....
    See more | Go to post

    Leave a comment:


  • ssmeshack
    started a topic Problem with min-height... (Please Help Me)

    Problem with min-height... (Please Help Me)

    Hai all,

    Im having problem to set minimum height to <td> tag. It only takes height only not min-height. Im ie7 browser and developing web based system in Visual Web Deveploper 2008 (C# .Net).

    Here is the entire code:
    Code:
    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default2.aspx.cs" Inherits="_Default" %>
    <%@ Register TagName="Ticket"
    ...
    See more | Go to post

  • Hi,

    I also having the same problem.
    Here is the code im using. Im using hyperlink in gridview to get the data to update form.
    im using .net 2008 with c#.

    please anyone can help me?

    Code:
    SqlConnection conn = new SqlConnection("Data Source=MIS_HP;Initial Catalog=DBhelpdesk;User ID=sa;Password=sapassword");
            conn.Open();
            SqlCommand comm = new SqlCommand("SelectUserByStaffID",
    ...
    See more | Go to post

    Leave a comment:


  • Hi,
    Thanks. There is no error showing. But when I click the update button there is no update happens.

    Here is the method for calling the stored procedure:
    Code:
    protected void btnUpdate_Click(object sender, EventArgs e)
        {
            System.Data.SqlClient.SqlConnection conn = new SqlConnection("Data Source=(local);Initial Catalog=DBhelpdesk; Integrated Security=SSPI;");
            conn.Open();
    ...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...