User Profile

Collapse

Profile Sidebar

Collapse
SharpDeveloper
SharpDeveloper
Last Activity: Mar 8 '08, 12:30 PM
Joined: Feb 25 '08
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • function CreateBox()
    {

    var addRowTextNode1 = document.create Element('input' );
    addRowTextNode1 .setAttribute(' type','text','n ame');
    var x=document.getE lementById('for m1')

    x.appendChild(a ddRowTextNode1) ;
    myOnChange = new Function("e", "callChange()") ;
    addRowTextNode1 .onchange=myOnC hange ;


    }
    function callChange()...
    See more | Go to post

    Leave a comment:


  • What is the error that you are getting. Wothout the type of error its problematic to provide the solution....
    See more | Go to post

    Leave a comment:


  • qty on hand exceeds the reorder level by 10 or more

    select * from item
    where QOH >reorderlevel+1 0...
    See more | Go to post

    Leave a comment:


  • SharpDeveloper
    replied to check if a table exist in sql server
    in .NET
    You can use SQL DMO library to get the entire DB Schema information

    You can Query your respective database using this query

    Use this query from C# to get the table name/any other informations
    SELECT TABLE_NAME FROM INFORMATION_SCH EMA.COLUMNS WHERE TABLE_NAME='You rTableName'

    Hope this helps....
    See more | Go to post

    Leave a comment:


  • SharpDeveloper
    replied to How to Validate Textbox in ASP.NET
    in .NET
    Write a Custom JavaScritp function to validate the same and attach the function to the submit button.

    In pageLoad
    btnSubmit.Attri butes.Add("onCl ick", "javascript:ret urn ValidateRangeVa lue()")

    JavaScript
    <script language="javas cript" type="text/javascript">
    function ValidateNumber( iValue)
    {
    for(var i=0;i<...
    See more | Go to post

    Leave a comment:


  • Hi Davidson
    Try this out
    cell2.BackColor = Drawing.ColorTr anslator.FromHt ml("#C3E4F9")
    Hope this helps...
    See more | Go to post

    Leave a comment:


  • Hello
    You can use VBScript with ASP or only VBScript
    Use following steps

    'Declare Variables
    Dim rs, conn, DatabaseLocatio n

    'Get the location of your Access Database
    DatabaseLocatio n = Server.MapPath( "Employee.m db")

    'Create a ADO Connection Object
    SET conn=Server.Cre ateObject("ADOD B.Connection")

    'Assign the Provider
    conn.Provider=" Microsoft.Jet.O LEDB.4.0"...
    See more | Go to post

    Leave a comment:


  • Hello
    The SQL Insert Statement Syntax is like this
    Statement I
    INSERT INTO TABLENAME(COLNA ME) VALUES(COL_VALU E)
    Statement II
    INSERT INTO TABLENAME VALUES(COL_VALU E)
    The above query works without column name if you are specifying all the column values in the VALUES.

    Seems in this case
    sql = "INSERT INTO [database_name] Values('" & TextBox4.Text & "')"...
    See more | Go to post

    Leave a comment:


  • SharpDeveloper
    replied to SQL Function Help
    Hello

    Please find the draft copy of the function. Check the syntax as well.

    CREATE FUNCTION HasUserReceived Cloth(@clothing _id NUMBER)
    RETURNS int
    AS
    BEGIN
    DECLARE @ClothCounter int
    DECLARE @mORETHANYEAR INT
    DECLARE @RETURN_VALUE INT
    --Check in the movements table for this clothing_id
    SELECT COUNT(clothing_ id) INTO @ClothCounter
    FROM MOVEMENTS...
    See more | Go to post

    Leave a comment:


  • Hello
    I hope your exe program should be in the same directory as the .DLL.
    You can copy the .EXE to the .DLL project directory and try once.

    Happy Programming...
    See more | Go to post

    Leave a comment:


  • SharpDeveloper
    replied to javascript
    in Java
    Hi
    I hope you are using ASP.NET technology.

    The correct statement would be

    alert(document. getElementById( '<%=ddlCover.Cl ientID %>').value);

    It is document.getEle mentById not document.getEle mentsById

    Hope this helps....
    See more | Go to post

    Leave a comment:


  • Hi Wassim
    You can use validationGroup Property of Validation Control for both controls like Email Address RequiredFieldVa lidator and The Send Mail button.

    Say You have btnSendMail (SendEmail), btnSendImage(Se ndImage) and reqFldvalid(Req uiredFieldValid ator) email address (textbox).

    1. Click the RequiredFieldVa lidator control and in the ValidationGroup property specify btnSendMail.
    2. Click the btnSendMail...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...