How can I encrypt data in sql server 2005? Is there any method? or I should create a function to encrypt.
Of course I can data in VS2008 before send to sql. But I like to encrypt in sql for more secure.
Best Regards. Morteza
View Complete Post
Hi, I am very confused about encrypting and decrypting password.
What I did is that, I am using a class that extends SqlMembershipProvider, and when I need to encrypt a password, just called base.EncryptPassword() method to do so.
But still, I did not get to know how things are done here, and I really would like to know its codes.
Can anyone provide the code for me please?
Let's say we have 2 time consuming functions, aaa and aaa1 inside a aspx page.
public static string aaa(int i)
public static string aaa1(int i)
<asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
<input type="button" value=
I face this "Jscript runtime error: Object does not support property or method" whenever im trying to run this page.
Im using Microsoft Visual web developer 2008, i wonder if this is related to my problem, i not sure there is anything i need to add as reference or update anything.
Anyway, it happen that last time i tried use the same type of jquery code in another project and it seems to work well without an error.
But now when im try to use it again in this recent project i created, it come out with this error and i have no idea how to solve it even look through google and this forum.
So below is my code that i need to use.
I have staff area of my site I am protecting with forms authentication using c# and .Net 4.0. What I want to do is let the staff members register on the site but instead of the confermation email being sent to them I want it sent to me so I can go in and approve it. I have been trying to use the SendingMail method but can not figure out how to get it to email me instead of the person that registered. I have searched around this site and find many topics on the SendingMail method but none seem to properly address my issue. Can anyone help me out?
i am posting my vb.net problem .plz tell me how to resolve this :-
Dim conn As String = ConfigurationManager.ConnectionStrings("NorthwindConnectionString").ConnectionString 'Dim mysqlconnection As New SqlConnection(conn) 'If mysqlconnection.State=ConnectionState.closed Then mysqlconnection.Open(); 'Dim mySqlcommand As New SqlCommand("select CategoryId,CategoryName from Categories", mysqlconnection) 'Dim mySqlDataAdapter As New SqlDataAdapter(mySqlcommand) 'Dim mydataSet As New DataSet() 'mySqlDataAdapter.Fill(mydataSet); 'Gridview1.DataSource=ds; 'Gridview1.DataBind(); 'if mysqlconnection.State=ConnectionState.closed Then mysqlconnection.Open();
i m getting 5 errors in this code
declaration expected in mySqlDataAdapter.Fill method; Gridview1.DataSource=ds; Gridview1.DataBind();
I got a recent working code from client.I see errors in the get methods when i compile , below are some place where the error happens.Can any one help me out?
Error 2 'System.Environment.NewLine.get': cannot explicitly call operator or accessor C:\Documents and Settings\shankar\My Documents\Visual Studio 2008\Projects\DKCLwin\DKCLwin\LocalizationAdmin.cs 150 170
This month Stephen Toub answers questions pertaining to the Windows Vista Restart Manager API and generic method compilation.
MSDN Magazine April 2007
Before you can test any software system effectively, you must understand the system under test. If the system includes the MicrosoftÃÂ® . NET Framework, understanding the system under test includes understanding its assembly and method dependencies.
MSDN Magazine March 2006
MSDN Magazine January 2004
The Advanced Encryption Standard (AES) is a National Institute of Standards and Technology specification for the encryption of electronic data. It is expected to become the accepted means of encrypting digital information, including financial, telecommunications, and government data. This article presents an overview of AES and explains the algorithms it uses. Included is a complete C# implementation and examples of encrypting .NET data. After reading this article you will be able to encrypt data using AES, test AES-based software, and use AES encryption in your systems.
MSDN Magazine November 2003
One of the many great features of the .NET Framework is that it has asynchronous infrastructure built in. In .NET you can call any method asynchronously by defining a delegate for the method and calling the delegate's asynchronous methods. This is beneficial to your application because when a synchronous call is made, the calling thread is blocked until the method completes whereas an asynchronous call is made on a different thread, and this allows the original thread to continue its work while the asynchronous call is in progress.This article explains delegates in .NET and how to use them to perform asynchronous calls, eliminating age-old threading problems.
MSDN Magazine August 2001
Windows 2000 is the first version of COM to support asynchronous method calls, which permit clients to make nonblocking calls to COM objects and objects to process incoming calls without blocking the calling threads. COM clients benefit from asynchronous method calls because they can continue working while waiting for outbound calls to return. Objects benefit because they can queue incoming calls and service them from a thread pool. Our SieveClient and SieveServer sample apps demonstrate how to create and use asynchronous clients and servers in COM-based distributed applications.
MSDN Magazine April 2000
I have 2 textboxes, a dropdownlist and a button in the EmptyDataTemplate of a GridView control and when I click the button I want to get the text from the text boxes and DropDownList put it in the QueryString of a URL i redirect to, but I can't work out why the FindControl method cannot find the controls. I am using the following code:
Dim ddlNumPpl As DropDownList = GridView1.FindControl("ddlNumPpl")
I get an "Object reference not set to an instance of an object" error though when I try to refer to the SelectedValue property of it though. I would be very grateful if someone could let me know why the FindControl method can't find the control and what I should do to rectify it.
Many Thanks (in advance),
I am getting following error while using MySqlMembership Provider. Can any one help me to solve this?
MySql.Membership.MySqlMembershipProvider.CreateUser(string, string, string, string, string, bool, object, ref System.Web.Security.MembershipCreateStatus)': no suitable method found to override.
<roleManager enabled="true" defaultProvider="MySQLRoleProvider" />
i m Used telerik ORM OpenAcess With MySql Database..
ORM Create Only Entities for Datatabse..
And I want common mehods for every table
How can i do this ???
please help me out.............