< Azamat Ali />
Dispelling the Darkness !!!
-
Creating a DataTable Through Code
Dim tblMy As New DataTable()
Dim rw1, rw2, rw3 As DataRow
Dim c1 As New DataColumn("ID")
Dim c2 As New DataColumn("Team") -
To execute Javascript from the Button click and then run the server side code.
An easy ways to do this is to call the __doPostBack() function of the javascript. An example is as follows:
-
How to access Radio Button List in the Javascript
// ***** First Method *****//
var rdolist = document.getElementsByName("rdolist");
if (rdolist[1].checked)
txtMessage.value = "First";
if (rdolist[2].checked)
txtMessage.value = "Second";
if (rdolist[3].checked)
txtMessage.value = "Third";
-
Response.Write("Hello World")
Hello Everybody,