User Profile

Collapse

Profile Sidebar

Collapse
dotNetDummi
dotNetDummi
Last Activity: Apr 21 '08, 03:55 PM
Joined: Nov 6 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • dotNetDummi
    started a topic Converting data into Word Doc(Read Only)
    in .NET

    Converting data into Word Doc(Read Only)

    Hi experts, I have a task to print some data into a word document .I need to set the word document to readOnly.

    It's working but user still can edit. Is there any thing I can do whereby user cannot edit the document?

    Code:
    //        Word.ApplicationClass oWordApp = new Word.ApplicationClass();
                //        object missing = System.Reflection.Missing.Value;
                //        object readOnly = true;
    ...
    See more | Go to post

  • dotNetDummi
    started a topic Validator in gridview
    in .NET

    Validator in gridview

    Hi experts,

    I need a validator in my gridview.
    When the user update a field in the gridview, I need to check if the email is valid.
    How can I do that?

    Below is my gridview.
    Please help. Thanks!

    Code:
    <asp:GridView ID="gv_retrieve" runat="server" AutoGenerateColumns="False" CellPadding="3"
            ForeColor="Black" GridLines="Vertical"
    ...
    See more | Go to post

  • dotNetDummi
    replied to Joining table
    er, nono. sorry typo. all apid should be userid..
    the data are working already.

    anyway, i've change my database. no more composite key and it's working. Thanks for your reply though....
    See more | Go to post

    Leave a comment:


  • dotNetDummi
    started a topic Joining table

    Joining table

    I've two tables where their composite keys are foreign keys that references each other.

    table1 (projId, userId, name, add)
    table2 (projId, userId, status, responseDate, reason)

    I need to retrieve table1(name,add ) and table2( status, responseDate, reason) with projId only..

    my query is
    Code:
    Select ap.name, ap.add, p.status,
    p.responseDate, p.reason 
    from table1 ap, table2 p
    ...
    See more | Go to post

  • dotNetDummi
    replied to Uploading document in C#
    in .NET
    I apologise that I didn't start a thread but continue from this.

    I've used this method to save file into my server and it's working.
    Now I need to provide my users to download them with a button.

    May I know how to do that? The response.redire ct is not working for me.

    Code:
    protected void btnLink_OnClientClick(object sender, EventArgs e)
        {
            String pid = Convert.ToString(Session["pid"]);
    ...
    See more | Go to post

    Leave a comment:


  • dotNetDummi
    replied to C# Web-App: Automatic Send Email
    in .NET
    Hi, Thanks for your reply.
    I know the basics of sending email.
    Er, I am not sure about windows service.
    Do you have any links which is relevant that I could refer?
    Thanks...
    See more | Go to post

    Leave a comment:


  • dotNetDummi
    started a topic C# Web-App: Automatic Send Email
    in .NET

    C# Web-App: Automatic Send Email

    I am working on a web-based app, and I need to implement a function whereby it checks the dates daily, and send reminder email automatically.

    May I know how can I do that? I saw some websites that mentioned about Console Application and Windows Scheduler.
    Is that what I need? If so, how can I link to my app?
    Otherwise, what are the methods that are available?

    I'm new to C# and asp.net, please help....
    See more | Go to post

  • dotNetDummi
    replied to Updating Primary Key
    Ok! Thank you ver much!!!
    See more | Go to post

    Leave a comment:


  • dotNetDummi
    started a topic Updating Primary Key

    Updating Primary Key

    Hi experts,

    (I hope I didn't post my question in the wrong category of the forum)
    I am using in C#, Asp.Net, SQL Server for my project.
    I have a situation whereby I need to update a primary key.

    In my table, I have these columns:
    proj_id, emp_name, emp_email

    I have the following method

    public static void updatePID(Strin g newpid,String oldpid)
    {
    ...
    See more | Go to post
No activity results to display
Show More
Working...