Saturday, October 10, 2009

Sql Injection

Hello friends,

After a long time again now i am going to write something in my blog. Today i am
going to write about Sql injection.
So i will cover this many steps in my this topic
  1. Create fear
  2. what is Sql Injection
  3. Description about Sql Injection

Friday, January 23, 2009

Nested DataList.. To Create treeview type display


hi ...
Here we have a datalist and in that datalist another datalist for each row...
so it will create output like shown in image at right side..

here is code for that











Tuesday, January 20, 2009

Bind Textbox in Tab container using javascript with ajaxtoolkit

hello friends

This is to add javascript for Textbox in Tabcontainer
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit" TagPrefix="cc1" %>
<form id="form1" runat="server">
<%@ page language="VB" autoeventwireup="false" codefile="Default.aspx.vb" inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<head runat="server">
<title>Untitled Page</title>
<script language="javascript" type="text/javascript">
function Callme()
{
document.getElementById("TabContainer1_TabPanel1_TextBox2").value=document.getElementById("TabContainer1_TabPanel1_TextBox1").value
}
</script>
</head>
<body>
<asp:scriptmanager id="ScriptManager1" runat="server">
</asp:ScriptManager>
<cc1:tabcontainer id="TabContainer1" runat="server" activetabindex="0">
<cc1:tabpanel id="TabPanel1" runat="server" headertext="TabPanel1">
<contenttemplate>
<asp:textbox id="TextBox1" runat="server"></asp:TextBox>
<asp:textbox id="TextBox2" runat="server"></asp:TextBox>               
</contenttemplate>
</cc1:TabPanel>
<cc1:tabpanel id="TabPanel2" runat="server" headertext="TabPanel2">
<contenttemplate>
<%--put another control--%>
</contenttemplate>       
</cc1:TabPanel>
</cc1:TabContainer>
</form>
</body> </html>