You must Sign In to post a response.
  • Category: ASP.NET

    How to check the updated field information in asp.net webforms

    Hi all

    how to find the updated column name in a web form. suggest any good method either C# or SQL.


    Thanks & Regards

    Saravana
  • #762012
    Hello Saravana Perumal,

    Can you elaborate your query in detail so that we can help you easily.

    While posting any thread you should describe your question/problem/query properly.

    So that the contributors can understand your query easily and can give you the exact and faster result that you are expecting for.

    Hope you understand.

    Regards,
    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"

  • #762014
    Hi Nirav

    I am having a web form which consists of 10 columns like First Name, Last Name etc..., Now end user change some of the web form column data and save . now i need to record which column updated . Suggest a good idea to do this.


    Thanks & Regards

    Saravana

    Thanks & Regards
    --------------------
    Saravana Perumal.N

  • #762018
    Hello Saravana Perumal,

    Refer the below query :

    UPDATE Employee.EmpDetails
    SET JobTitle = N'Executive'
    WHERE NationalIDNumber = 123456789
    IF @@ROWCOUNT = 0
    PRINT 'Warning: No rows were updated';
    ELSE
    PRINT @@ROWCOUNT;


    Refer the below link:

    http://stackoverflow.com/questions/1103260/return-number-of-rows-affected-by-update-statements

    Hope this will help you.

    Regards,
    Nirav Lalan
    DNS Gold Member
    "Failure is the path of least persistence"


Sign In to post your comments