Hi, i used hl7 to xml converter article, it returns a xml document as a string. can i get it as a document itself, how? how can i read the xml document and populate my database?
M Ambigai
Posts
-
HL7 -
HL7Sir, How to validate a hl7 msg
-
XMLSir, How to read a xml file and populate the database with data in it.
-
hover menusir, i have placed two panels in item template in template field, 1 for edit,delete functions, and other for my data to be displayed. but while running it i get both the panel displayed in a row.
-
wpfSir, i have visual studio 2005. Should i jump to 2008 version to work with wpf..
-
HL7Sir, can u state methods to extract data from hl7 message
-
hover menusir, my hover menu is not working properly.can u give a sample for grid displaying name and city
-
byte[] to stringSir, please explain it in detail
-
byte[] to stringNo sir . Its not working
-
byte[] to stringsir, Just to encrypt a string, i used this code. code: public string encryptText(string plaintext,string passpharse,string saltValue,string hashAlgorithm,int passwordIterations,string initvector,int keysize) { byte[] InitVectorBytes = Encoding.ASCII.GetBytes(initvector); byte[] saltValueBytes = Encoding.ASCII.GetBytes(saltValue); byte[] plaintextbytes = Encoding.ASCII.GetBytes(plaintext); PasswordDeriveBytes password = new PasswordDeriveBytes(passpharse, saltValueBytes, hashAlgorithm, passwordIterations); byte[] keyBytes = password.GetBytes(keysize / 8); RijndaelManaged symmetricKey = new RijndaelManaged(); symmetricKey.Mode = CipherMode.CBC; ICryptoTransform encryptor = symmetricKey.CreateEncryptor(keyBytes, InitVectorBytes); MemoryStream memorystream = new MemoryStream(); CryptoStream cryptostream = new CryptoStream(memorystream, encryptor, CryptoStreamMode.Write); cryptostream.Write(plaintextbytes, 0, plaintextbytes.Length); cryptostream.FlushFinalBlock(); byte[] ciphertextbytes = memorystream.ToArray(); memorystream.Close(); cryptostream.Close(); string ciphertext = Convert.FromBase64String(ciphertextbytes); return ciphertext; } I've got the following errors: Error 1 The best overloaded method match for 'System.Convert.FromBase64String(string)' has some invalid arguments.54,29 Error 2 Argument '1': cannot convert from 'byte[]' to 'string'.54,54 Please help me to resolve it.
-
RSAHello sir, I wish to use rsa algorithm to encrypt my data. Can i create my own key to encrypt an decrypt my data? As i'm a beginer, i wish to get a detailed explanation..sir.
-
SHA1Sir, To encrypt and also decrypt what algorithm can be used
-
SHA1Sir, How can i decode it again to login?
-
EmailHello sir, On registering our details to a new website, we recieve a confirmation mail along with user name, and password. How is it possibile? How can i do so using c#?
-
SHA1Hello sir, I have to encrypt my password.I used the following statement. string pswd = FormsAuthentication.HashPasswordForStoringInConfigFile(txtPswd.Text, SHA1 ); Error message is "SHA1 is a type not a variable". How can i do?
-
mailyse sir, i have to encrypt my password
-
mailHi sir, How can i send mail in asp.net. Can we use encryption algorithms in login page? how?
-
XML filesHi, In servelet, how can i read an xml file
-
AJAXHello sir, I'm using visual studio 2005. There is no ajax tools. How can i use AJAX tools in my programs?
-
SQL2005Sir, I've newly installed SQL2005. While opening management studio it asks for server name. I couldn't connect database in asp.net using this installed sql