User Profile

Collapse

Profile Sidebar

Collapse
Vkas
Vkas
Last Activity: Dec 31 '10, 06:11 PM
Joined: Feb 14 '09
Location: everywhere
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Vkas
    replied to How to center text field?
    you can use text-align Property in TD and TR , table tag
    try using this property in the tag which you want to center
    See more | Go to post

    Leave a comment:


  • How to insert simple record in a Access data base 2007

    I have a default .aspx form

    i HAVE 3 TEXT BOX
    1 DROPDOWN LIST IN MY DEFAULT PAGE.
    a access data base file at locaion C:\asp.netdb\fe edback.accdb

    I want to insert the values into the access database from this page

    my default.aspx code is
    Code:
    <%@ Page Language="C#" AutoEventWireup="true"  CodeFile="Default.aspx.cs" Inherits="_Default" %>
    ...
    See more | Go to post

  • Vkas
    replied to Problem IN Getting Data in Aspx Page
    yes my problem was solved
    See more | Go to post

    Leave a comment:


  • Deploying An ASP.NET WEb Application In Sharepoint site

    I want to deploy a Asp.net web application in Sharepoint Website ...

    What is appropraiate idea behind this


    2ndly i want ot add Some text box value form the ASp.net web application into the share point list?

    Any idea for this ??/
    See more | Go to post

  • Vkas
    started a topic Want to papulate Sharepoint list using ASP.NET Form

    Want to papulate Sharepoint list using ASP.NET Form

    hi

    I am Working in Moss !
    My target is to populate the share point list using asp.net web Application

    I had Create a website is Asp.net with a simple form having 3 text field and a button
    I had created a list in the Share point site named as "test" having 3 fields I.e(Name, address and Phone No)

    Target
    I want to populate that list of share point through the Asp.net Form...
    See more | Go to post

  • Vkas
    replied to How to check whether query executed or not
    in PHP
    ok i had got the solution with another logic thanks for you both for cooperation

    i had checked firstly the old password from the database by fetching the value

    then i compared and used if else simply
    See more | Go to post

    Leave a comment:


  • Vkas
    replied to How to check whether query executed or not
    in PHP
    so any other suggestion!!

    mysql_query returns 1 on both condition whether the row is effected or not
    See more | Go to post

    Leave a comment:


  • Vkas
    replied to How to check whether query executed or not
    in PHP
    my $result= mysql_query("Qu ery")
    rowsAffected = mysql_affected_ rows($result)
    if rowsAffected > 0
    Print success message
    else
    Print error message

    it gives error

    Warning: mysql_affected_ rows(): supplied argument is not a valid
    See more | Go to post

    Leave a comment:


  • Vkas
    replied to How to check whether query executed or not
    in PHP
    can you elaborate a little more so that i can reach with a solution
    See more | Go to post

    Leave a comment:


  • Vkas
    replied to How to check whether query executed or not
    in PHP
    i have only 1 row in the table simply

    can u tell what would be the return type of the mysql affected rows function ?

    can it be done like this


    Code:
    <?php }if($action=="Confirm"){
    $id=$_GET['id'];
    $oldpassword=$_POST['oPass'];
    $CNpassword=$_POST['CNPass'];
    
    $update= "Update `users` Set `user_pass`='$CNpassword' Where `campus_id`=1 AND `user_pass`='$oldpassword'";
    ...
    See more | Go to post
    Last edited by Atli; Apr 12 '10, 07:22 AM. Reason: Added [code] tags.

    Leave a comment:


  • Vkas
    started a topic How to check whether query executed or not
    in PHP

    How to check whether query executed or not

    i had created a form ! having
    three text box

    Old password
    New password
    Confim new password!!


    it is being validated by javascript with the following fuction

    Code:
    <script language="javascript">
    
    function checkempty(obj,msg){
    	if(obj.value==''){
    		alert(msg);
    		obj.focus()
    		return false;
    	}
    	return true;
    ...
    See more | Go to post

  • Vkas
    replied to Conerting Vb.NEt Code in Equalent c# code!
    ok thanks for the idea you mean to say i must have to attempt it by myself

    ok
    See more | Go to post

    Leave a comment:


  • Vkas
    started a topic Conerting Vb.NEt Code in Equalent c# code!

    Conerting Vb.NEt Code in Equalent c# code!

    hello i had created a Vb.Net Class named Database

    I want to make the same class for C# but i am little bit unfamiliar with the syntax can any of the People Convert the below code for C#

    Code:
    Public Class Database
        Private Shared mycommand As SqlCommand
        Private Shared dr As SqlDataReader
        Private Shared da As SqlDataAdapter
        Private Shared con As SqlConnection
        Shared
    ...
    See more | Go to post

  • i had almost done let me explain you again

    Code:
    <tr>
          <?php
    $query="SELECT * FROM campuses ORDER BY campus_id ASC"; 
    $result=mysql_query($query) or die(mysql_error());
    $rClr="ffffff";
    			  while($row=mysql_fetch_array($result)) {
    			   if($rClr=="ffffff"){
    			  $rClr="F7F7F7";
    			  }else{
    			  $rClr="ffffff";
    ...
    See more | Go to post

    Leave a comment:


  • this process works!!!
    but in this it tries to show all of the record in a single row by dividing that single row in several columns

    i want o display
    Campus name1 Capmus name 2 Campus name 3

    three values in a row
    See more | Go to post

    Leave a comment:


  • mean you want to say that

    Code:
    if($counter % 5 == 0) {
     echo "</tr>
    
    Remain content!!!!! here
    <tr>"
     }
    See more | Go to post

    Leave a comment:


  • Vkas
    replied to Problem IN Getting Data in Aspx Page
    ya i have done with both
    See more | Go to post

    Leave a comment:


  • showing data from mysql in horizontal manner using php and html

    I had one problem in php

    below is the code which fetches campus id and campus name form the mysql database and store them in two variables and using while loop i had fetch all the records from the Related table (Campus) by the code below
    Code:
                                                 <?php
    $query="SELECT * FROM campuses ORDER BY campus_id ASC"; 
    $result=mysql_query($query) or die(mysql_error());
    ...
    See more | Go to post

  • Problem in Asp page cannot get data from a html page

    my html page is (default.html)
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>BWR&MD</title> 
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
        <meta
    ...
    See more | Go to post
    Last edited by jhardman; Feb 1 '10, 06:49 AM. Reason: added code tags

  • Vkas
    started a topic Problem IN Getting Data in Aspx Page

    Problem IN Getting Data in Aspx Page

    I have created a page (HTMLpage1.html )
    which consist of a text feild and a dropdown menu and a button


    the code is
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Untitled Page</title>
    </head>
    ...
    See more | Go to post
    Last edited by Frinavale; Feb 1 '10, 05:25 PM. Reason: Please post code in [code] ... [/code] tags. Added code tasg.
No activity results to display
Show More
Working...