User Profile

Collapse

Profile Sidebar

Collapse
vishalgupta
vishalgupta
Last Activity: May 6 '08, 12:16 PM
Joined: Jun 29 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Display the each category name in the table as a link

    in the following code i am trying to display the each category name in the table as a link to cat.html [code=php]
    <html>
    <head>
    </head>
    <body>
    <?php
    $str1="<a href=cat.html>" ;
    $str2="<//a>";
    $user_name="roo t";
    $password="";
    $database="myfo rum";
    $server="localh ost";
    $db_handle=mysq l_connect($serv er,$user_name,$ password);...
    See more | Go to post

  • vishalgupta
    started a topic asp.net : c# : sql
    in .NET

    asp.net : c# : sql

    can i by any means display the sql query executed in the asp .net using Response.Write( ) [except for the Response.Write( "select * from t1;")];]
    See more | Go to post

  • vishalgupta
    replied to stored procedures
    by "defined previously" i mean that ...
    a friend of mine has given me a database with some tables and stored procedures
    i can use select * to view the tables ....but how do i see the stored procedures defined by him in the database???...g onna try ur command
    See more | Go to post

    Leave a comment:


  • vishalgupta
    started a topic stored procedures

    stored procedures

    how can i view the stored procedures defined previously in a given sql database (mdf file)?
    See more | Go to post

  • vishalgupta
    started a topic ap .net : gridview
    in .NET

    ap .net : gridview

    i display record in a gridview using a sqldatasource control using a custom sql statement.

    sometimes there is no record returned by the custom sql statement and so the gridview is empty and so there is nothing displayed on the screen.

    how can i display the message "No results found" when the gridview is empty?
    See more | Go to post

  • vishalgupta
    replied to asp .net : user
    in .NET
    i do not want to create a new user

    is it possible to change the password without knowing the current password ?
    See more | Go to post

    Leave a comment:


  • vishalgupta
    started a topic asp .net : user
    in .NET

    asp .net : user

    can i change the password of any user stored in aspnet_Membersh ip without knowing the current password ?
    See more | Go to post

  • vishalgupta
    started a topic asp .net and access
    in .NET

    asp .net and access

    i have placed a grid view and and accesscontrol on my page..
    i have enabled the editing/deletion options.

    when i connect it to a database provided by microsoft itself it can edit/delete the record in the database but if i make a database in access and connect it to the accesscontrol and grid view the records are displayed but they cannot be edited/deleted even after clicking the edit/delete links the grid view.
    why is...
    See more | Go to post

  • i am sry but the above link doesnt slove my problem

    i have a link on my page which points to default5.aspx
    but as default5.aspx does not exist on the server the Application_Err or is invoked :
    void Application_Err or(object sender, EventArgs e)
    {
    Server.Transfer ("default.aspx" );
    }
    which tansfers the user to default.aspx but shows default5.aspx in the address bar.
    now if i...
    See more | Go to post

    Leave a comment:


  • vishalgupta
    replied to Create simple shape editor
    in C
    if you have a drawn a figure
    you know its coordinates
    you know the present coordinates of the mouse
    by comparing these coordinates ..u get to know whenever the user has selected the figure and then you accordingly draw some figures and lines or clear some figures and lines to present it in such a way that the user has selected the picture and edited it
    See more | Go to post

    Leave a comment:


  • this wont work as i have to display the url that the user has clicked
    i.e http://localhost:1126/N/default5.aspx

    but customerror displays
    http://localhost:1126/N/default.aspx.../default5.aspx
    in the address bar

    is there some other way to do this??...
    See more | Go to post

    Leave a comment:


  • vishalgupta
    replied to Create simple shape editor
    in C
    selecting them and editing them will require mouse programming where you will have to campare the co-ordiantes of your figure and that of mouse and program accordingly. .....
    See more | Go to post

    Leave a comment:


  • vishalgupta
    replied to getting the last part of a string
    in .NET
    you can call the Split() as / as the delimiter
    using UBound you can access the last element of the array formed by split() which is what you want to extract....
    See more | Go to post

    Leave a comment:


  • c# : asp.net : problem wit session and server.transfer

    i have

    void Application_Err or(object sender, EventArgs e)
    {
    Server.Transfer ("default.aspx" );
    }
    in global.asax

    now when i use any state bags like Session["sno"] = "new";
    whenever the user clicks on link to a page that does not exist on the server, Application_Err or() executes but Server.Transfer does not and it shows that the page...
    See more | Go to post

  • i ried sending to gmail too but the mails do not reach..

    if my code is right then why are the mails not reaching any of the specified email addresses....
    See more | Go to post

    Leave a comment:


  • vishalgupta
    replied to asp.net : c#.net : static variables
    in .NET
    by client i mean :

    if i host a site made on asp.net in which i declare a static variable var = 0
    and as i said i increment it at times in my program

    now if someone view my website he sees the value to var as 0 and now it gets incremented till 10
    while this user is viewing my website some other user starts viewing my website...now will he see the value of var as 0 or 10 ???
    See more | Go to post

    Leave a comment:


  • vishalgupta
    started a topic asp.net : c#.net : static variables
    in .NET

    asp.net : c#.net : static variables

    i declare a variable :

    private static int var=0;

    many a times in my code i increment the value of var
    suppose the current value of var is 10

    now if a different client request the page will it see the value of var as 0 or 10 ??
    will there be different instances of static variable for different cllients or only one instance for different clients??
    See more | Go to post

  • vishalgupta
    started a topic asp.net : c#.net : difficulty in sending emails
    in .NET

    asp.net : c#.net : difficulty in sending emails

    when i use the code :
    [code=cpp]
    private void Report(int var)
    {
    var++;
    String ToEmail = "";
    String FromEmail = "";
    String Bdy = "";
    ToEmail = System.Configur ation.Configura tionManager.App Settings["EmailRepor tTo"];
    FromEmail = System.Configur ation.Configura tionManager.App Settings["EmailReportFro m"];...
    See more | Go to post

  • vishalgupta
    replied to c# - WEB - Difficulty in hyperlinks
    in .NET
    thnks for the replies...javas cript rocks!!!
    See more | Go to post

    Leave a comment:


  • vishalgupta
    started a topic c# - WEB - Difficulty in hyperlinks
    in .NET

    c# - WEB - Difficulty in hyperlinks

    i want to create a hyerlink that points to some other adress and when clicked on transfers the user to another address.
    e.g. :-
    i have the link : HyperLink1 [DO NOT CLICK THE LINK]
    this points to www.yahoo.com [we can see it in the status bar when we roll our mouse over the link] but when clicked on it should transfer us to www.google.com.
    i am working on asp.net using c#.net and am not able to figure as to how to create...
    See more | Go to post
No activity results to display
Show More
Working...