Click Start, Run and type this command:
regsvr32 /i shell32.dll
or
Manual registry fix
To fix the problem manually, open Registry Editor and navigate to:
HKEY_CLASSES_ROOT \ Directory \ shell
-and-
HKEY_CLASSES_ROOT \ Drive \ shell
In the right-pane, locate and click the (Default) value
Click Modify on the Edit menu
Type the word none in the Value data box, and then click OK
Exit Registry Editor.
Friday, November 27, 2009
Monday, November 16, 2009
Personal DOTNET
SAVE
protected void btnsubmit_Click(object sender, EventArgs e)
{
string qry = " ";
try
{
cn = new SqlConnection("Data Source=SARANYA;Initial Catalog=elab;Integrated Security=True;Pooling=False");
cn.Open();
qry = "Insert into usercreation(EmpName,Role,Password,ConfirmPassword) values('" + txename.Text + "','" + ddrole.SelectedItem.Text + "','" + txpwd.Text + "','" + txcpwd.Text + "')";
cm = new SqlCommand(qry, cn);
cm.ExecuteNonQuery();
clear();
lb.Text = "Record Inserted Successfully";
}
catch
{
lb.Text = "Server Busy;Try after sometime!";
}
finally
{
cn.Close();
}
}
protected void btnsubmit_Click(object sender, EventArgs e)
{
string qry = " ";
try
{
cn = new SqlConnection("Data Source=SARANYA;Initial Catalog=elab;Integrated Security=True;Pooling=False");
cn.Open();
qry = "Insert into usercreation(EmpName,Role,Password,ConfirmPassword) values('" + txename.Text + "','" + ddrole.SelectedItem.Text + "','" + txpwd.Text + "','" + txcpwd.Text + "')";
cm = new SqlCommand(qry, cn);
cm.ExecuteNonQuery();
clear();
lb.Text = "Record Inserted Successfully";
}
catch
{
lb.Text = "Server Busy;Try after sometime!";
}
finally
{
cn.Close();
}
}
Subscribe to:
Posts (Atom)