User Profile

Collapse

Profile Sidebar

Collapse
femina
femina
Last Activity: Aug 25 '08, 11:37 AM
Joined: Dec 7 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • femina
    replied to Hidden Field Value_Changed Event Not Firing
    in .NET
    so if the Value_Changed event triggers between post backs
    lets assume textbox value is "femina" for the first time i click a button and if i change my text box value the next time say "fayaz" and then i click my button.
    Now will the Value_Changed event be triggered since i have assigned my hiddenfield value with the textbox value each time before submitting the button
    Code:
    void ValueHiddenField_ValueChanged
    ...
    See more | Go to post

    Leave a comment:


  • femina
    started a topic Hidden Field Value_Changed Event Not Firing
    in .NET

    Hidden Field Value_Changed Event Not Firing

    the ValueHiddenFiel d_ValueChanged event is not firing
    please help me how to trigger my value changed event so that Message.Text that is "The value of the HiddenField control is " + ValueHiddenFiel d.Value
    is displayed in my web page

    Code:
    <script runat="server">
    void ValueHiddenField_ValueChanged (Object sender, EventArgs e)
      {
    
        // Display the value of the HiddenField
    ...
    See more | Go to post
    Last edited by femina; Aug 22 '08, 01:35 PM. Reason: proper title

  • femina
    replied to DROPDOWNLIST databound and unbound
    in .NET
    so my table design also does not need to be modified
    thanks so much
    See more | Go to post

    Leave a comment:


  • femina
    replied to DROPDOWNLIST databound and unbound
    in .NET
    sir i sorted out the problem
    my SQLSERVER Employee table had empname datatype as nchar(10)
    so Femina had still 4 spaces after the word
    i changed it to nvarchar(25) and the problem was sorted out
    thanks for the attention given to my question
    See more | Go to post

    Leave a comment:


  • femina
    replied to DROPDOWNLIST databound and unbound
    in .NET
    i checked it out sir(with my Employee table also),
    its Femina only
    no problem with the case
    See more | Go to post

    Leave a comment:


  • femina
    started a topic DROPDOWNLIST databound and unbound
    in .NET

    DROPDOWNLIST databound and unbound

    i have a confusion
    please help me with the reason
    in my ASP.NET web page i have two drop down list
    DropDownLis1 is unbound and DropDownList2 is data bound to my table named Employee

    Code:
    //unbound (items are Apples,Oranges,Grapes,Fruits)
    string s="",str="";
    foreach (ListItem li in DropDownList1.Items) 
            {
               bool b = li.Text.Equals("Apples");
    ...
    See more | Go to post

  • femina
    started a topic ASP.NET Session_OnStart event not firing
    in .NET

    ASP.NET Session_OnStart event not firing

    I am trying to work out an example in ASP.NET
    i have problem with the session_onstart in the global.asax file
    the "UsersOnlin e" doesnt get updated when i request the webpage again(if iam wrong) or in another browser please help me with the reason and let me have a clear idea on when exactly my session_onstart () will happen
    my sample code follows

    Code:
    <%@ Application Language="C#" %>
    ...
    See more | Go to post

  • femina
    replied to c# unsafe code
    in .NET
    unsafe code

    if i have an unsafe class with a field char* name;
    can i be able to assign a value for name say for example name="hai"
    if its c++ i could use
    char temp[]="hai";
    strcpy(name,tem p)
    where name is of type char*
    but iam not able to do in c#
    kindly help me with an...
    See more | Go to post

    Leave a comment:


  • femina
    started a topic c# unsafe code
    in .NET

    c# unsafe code

    if i have an unsafe class with a field char* name; can i be able to assign a value for name say name="hai"
    if its c++ i could use char temp[]="hai"; strcpy(name,tem p) where name is of type char*
    but iam not able to do in c#
    kindly help me with an answer
    See more | Go to post

  • femina
    started a topic not null constraint

    not null constraint

    when i create a table from another table with as subquery the not null constraint gets copied but the primary constraint is not copied.
    can you help me with the reason behind this
    thanks in advance
    See more | Go to post

  • femina
    replied to bind variable
    thanks a lot for the reply sir...
    See more | Go to post

    Leave a comment:


  • femina
    replied to bind variable
    no sir,
    is there any provision to get different input from user for every time i enter the loop and dipslay the new value.
    example
    Code:
     declare
       eno number(4);
       begin
           for i in 1..5
            loop
                eno:=&eno;
               dbms_output.put_line(eno);
           end loop;
       end;
    here i give an input 1 , but thats taken granted for all 5 times and it...
    See more | Go to post

    Leave a comment:


  • femina
    started a topic bind variable

    bind variable

    can i use the bind variable inside a procedure
    and the query like update emp set empname=:name where empno=:no;

    but i work like update emp set empname=&name where empno=&no inside procedures it works properly

    Code:
    declare
    i number:=0;
    begin
    while i<3
    loop
    update dept set empno=&empno where dname='&deptname';
    i:=i+1;
    end loop;
    end;
    ...
    See more | Go to post

  • femina
    replied to INSTEAD OF trigger (FOR EACH ROW)
    thanks a lot sir
    i tried ur example and it worked propely
    thanks...
    See more | Go to post

    Leave a comment:


  • femina
    replied to INSTEAD OF trigger (FOR EACH ROW)
    For Each Row

    in INSTEAD OF trigger for a view say i use it for update statement
    iam confused with FOR EACH ROW specifies
    all rows in view
    or
    only the changed rows(that gets affected by update on the view)
    See more | Go to post

    Leave a comment:


  • femina
    replied to INSTEAD OF trigger (FOR EACH ROW)
    new discussion

    let me give my question clearly again
    Code:
     CREATE TRIGGER WORKER_LODG_MANAG_update
    instead OF UPDATE ON  WORKER_LODG_MANAG 
    FOR each ROW
    BEGIN
       IF :old.name<>:NEW.name
         THEN 
            UPDATE WORKER 
                         SET name=:NEW.name
                         WHERE name=:old.name;
        END IF;
       IF :old.lodging<>:NEW.lodging
    ...
    See more | Go to post

    Leave a comment:


  • femina
    replied to INSTEAD OF trigger (FOR EACH ROW)
    WORKER_LODGING_ MANAGER is the view created from WORKER and LODGING tables...
    See more | Go to post

    Leave a comment:


  • femina
    replied to INSTEAD OF trigger (FOR EACH ROW)
    ok so if the query is like
    update WORKER_LODGING_ MANAGER set lodging='BANGAL ORE' where name='BART'; then what happens for the
    if condition
    Code:
    if :old.name<>:new.name
      then update WORKER
          set name=:new.name
          where name=:old.name 
     end if;
    kindly excuse me for the continuous queries...
    See more | Go to post

    Leave a comment:


  • femina
    replied to INSTEAD OF trigger (FOR EACH ROW)
    update WORKER set lodging='BANAGL ORE' where name='BART';
    now this update command is replaced by the instead of trigger
    now please help me with the reason
    in the trigger that i have mentioned (first question)
    will the first if gets exectued
    Code:
    if :old.name<>:new.name
      then update WORKER
          set name=:new.name
          where name=:old.name 
     end if;
    i want the location to be changed...
    See more | Go to post

    Leave a comment:


  • femina
    replied to INSTEAD OF trigger (FOR EACH ROW)
    sir in UPDATE WORKER set lodging='bangal ore' where name='bart'
    now please tell me old lodging is one present in the table already
    new lodging is banaglore.
    now like this i have old name as bart which is the present in the table again.
    can i have a new name.because name is in the where condition
    example in INSERT there is no old value ,in DELETE there is no new value...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...