Hi all,
I am generating a html report displaying the records. In that report their are 10 rows and 4 columns. In 4th column i am adding the button. Now i want to use button click event i.e onclick() .
1) how i call the javascript function/Javascript.
2) how can i get button click 1st column in particular row value.


Thanks In Advance

Recommended Answers

All 8 Replies

Why not use a DatagridView instead?

Hello ddanbe,
Actually i am looking for HTML Report.

write onclick="javascript:funcitonname();" in button tag and call funcitonname() function

Hi adatapost i am used this
1. http://social.msdn.microsoft.com/for...d-b45815e32c7c

provider = (CodeDomProvider)Activator.CreateInstance("Microsoft.Jscript", "Microsoft.Jscript.JScriptCodeProvider").Unwrap();

but it will give me an error
like

Could not load file or assembly 'Microsoft.Jscript' or one of its dependencies. The system cannot find the file specified.

i am used the namespaces are

using System.CodeDom;
using System.CodeDom.Compiler;
using System.Collections;
using System.Reflection;
using Microsoft.JScript;
using Microsoft.JScript.Vsa;

Does Anybody help me?

Thanks in advance

Thanks all for replying.......

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.