Hello Everyone,
I want to write a code in ASP where on a button click, a function(wrtten in eighter java or vb script) will be called . The function will execute a stored procedure which will be used to insert and delete
records in a SQL database.
I wanted to ask if this is feasible and how it can be done.

Thanks in Advance
Atul

Member Avatar for GreenDay2001

it's not tough,
just create a variable and store it like other string e..g

SQLQUERY= "SELECT ProductName FROM PRODUCTS"
DbObj.Execute(SQLQUERY)

vishesh

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.