Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

Kodanda Pani

@Kodanda Pani
About
Posts
111
Topics
6
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Regular Expression
    K Kodanda Pani

    Any help on this?

    ASP.NET regex help

  • Regular Expression
    K Kodanda Pani

    Hi All, I was trying to find out a correct regular expression to match 0 < i < 1 with no luck. It will be very helpful to me if you can provide me some help on wrtiting a regular expression to validate any values between in 0 and 1. Thanks and Regards Pani

    ASP.NET regex help

  • Raising Events from IF hosted winfrom control to container(aspx) page
    K Kodanda Pani

    Hi All, I have an winform control which needs to be hosted in a aspx page. Iam using the tag do so and its working. When an event occuers (like tab click) on the IE hosted winform control i need to raise this event to the aspx page which hosted the control. Any sort of help is appriciated. Thanks in advance. Regards Pani.

    Windows Forms docker help

  • Display Duplicate Rows Only once
    K Kodanda Pani

    Thanks for the response. But i need the ID as well in the display. Regards Pha

    Database database tutorial

  • Display Duplicate Rows Only once
    K Kodanda Pani

    Hi All, I have a table with the below columns. ID , First Name , Last Name , City. The ID column is unique. This table contains duplicate rows (First Name , Last Name , City values are same). Could you please advise me on how to write a select query to display duplicate rows only once along with the other rows. Thanks and Regards Pha

    Database database tutorial

  • Simple example of DataGridView..?
    K Kodanda Pani

    Hi, Use a binding source to bind your list and then bind the binding source to the data grid view. dataGridView1.DataSource = bindingSource1; dataGridView1.AutoResizeColumns(DataGridViewAutoSizeColumnsMode.AllCellsExceptHeader); this.bindingSource1.DataSource = myList; Thanks and Regards Mahen

    C# database help tutorial question

  • Connecting to a FTP Server
    K Kodanda Pani

    Hi All, How can i connect to a FTP server and down load the files from there in a C# application. We are using .NET frame work 1.1 and cant use any third party components. I have tried using Webclient class. Its working fine when i use a http URL But generating the following exception while connecting to a FTP server. System.NotSupportedException: The URI prefix is not recognized. Any help is appreciated. Thanks and Regards Mahe

    C# csharp sysadmin help question

  • Parsing XML with XPath Navigator [modified]
    K Kodanda Pani

    Hi, Thank you for your response. My XML file is Singapore

    IA 20

    My Xpath is selecting country element. So how can i differentiate between name element and Address element. Thanks, Pani

    C# xml json tutorial

  • Parsing XML with XPath Navigator [modified]
    K Kodanda Pani

    Hi All, While parsing an xml document using Xpath navigator how we can check whether a node has child nodes or not. Tried using both HasChildern and IsEmptyChild but no luck. I should be able to differentiate between No child child 1 child 2 How to diff between node1 (no children) and node2 (which has children) Thanks in advance. Regards Mahe -- modified at 1:57 Wednesday 11th April, 2007

    C# xml json tutorial

  • Localisation of c# Windows Application
    K Kodanda Pani

    Hi, To implement the localization we need to do 1) Create .resx file for each language. 2) Generate .resource file from the .resx file using resgen tool. 3) Create the ResourceManger in your application. 4) The .resx files store the language strings as key value. So read the language string using the Getstring method of ResourceManager passig key value as input parameter. Guess this will help you. Pani

    C# csharp help

  • How to detect if a service is running or not
    K Kodanda Pani

    Hi, ServiceController.Status give the status of the service. I guess you can use this. Thanks and Regards Mahe

    C# csharp tools tutorial question

  • hiding/encrypting connection string
    K Kodanda Pani

    Hi, Use the following code to encrypt and decrypt your connection string. public static byte[] Encrypt(byte[] clearData, byte[] Key, byte[] IV) { //create the memory stream MemoryStream ms = new MemoryStream(); //create a crypto service provider Rijndael objrj = Rijndael.Create(); //set the Key and iV values objrj.Key = Key; objrj.IV = IV; //create a crypto ctream CryptoStream cs = new CryptoStream(ms,objrj.CreateEncryptor(),CryptoStreamMode.Write); cs.Write(clearData,0,clearData.Length); cs.Close(); byte[] encryptedData = ms.ToArray(); return encryptedData; } public static byte[] Decrypt(byte[] cypherData, byte[] Key, byte[] IV) { //create the memory stream MemoryStream ms = new MemoryStream(); //create a crypto service provider Rijndael objrj = Rijndael.Create(); //set the Key and iV values objrj.Key = Key; objrj.IV = IV; //create a crypto ctream CryptoStream cs = new CryptoStream(ms,objrj.CreateDecryptor(),CryptoStreamMode.Write); cs.Write(cypherData,0,cypherData.Length); cs.Close(); byte[] clearData = ms.ToArray(); return clearData; }

    ASP.NET csharp asp-net security help tutorial

  • Single Instance
    K Kodanda Pani

    Hi Yadav Guess the following 2 links will help you. http://msdn.microsoft.com/msdnmag/issues/05/09/NETMatters/ http://www.codeproject.com/threads/simplesingleinstanceapp.asp Thanks and Regards Pani

    C# question sysadmin help

  • Problem while working with Oracle client in 1.1
    K Kodanda Pani

    Thank you. I guess you can make out whats the problem is from the link given by me. Anyhow thanks for your response and iam able to solve my probling by cloning the parameter before adding it to the command collection. Regards Pani

    C# database help oracle com

  • Problem while working with Oracle client in 1.1
    K Kodanda Pani

    Hi All, Iam using classes in the name space System.Data.OracleClient to call the stored procedure on the Oralce database. When iam trying to add a new parameter to OracleCommandObject's Parameter collection iam getting the following error. The OracleParameter with ParameterName '' is already contained by another OracleParameterCollection. The simillar problem is posted in the other forums like http://www.dotnet247.com/247reference/msgs/46/232504.aspx but i have failed to find any solution there. Thanks in advance. Regards Pani

    C# database help oracle com

  • Saving file(XML) on network drive
    K Kodanda Pani

    Hi, Do you have access to store the files on the remote machine? Aslo could you please let us know how you are saving the files on the local disk? Regards Mahe

    ASP.NET sysadmin xml help question

  • Stored procedures in SQL
    K Kodanda Pani

    Hi Deeksha, Guess the following links will help you. http://vyaskn.tripod.com/coding\_conventions.htm http://www.extremeexperts.com/SQL/Articles/BestPractices.aspx Thanks and Regards Pani

    Database database sysadmin performance question

  • Creating setup project which install mdac and fremework
    K Kodanda Pani

    Hi Dewang, Guess the following link will help you. http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnnetdep/html/vsredistdeploy1\_1.asp Regards, Mahen

    C# help workspace

  • Using TripleDES Encryption [modified]
    K Kodanda Pani

    Hi, In the code used to encrypt add the following statement to get the encrypted text into a string variable strRtnvalue. strRtnvalue = Convert.ToBase64String(ms.GetBuffer(),0,Convert.ToInt32(ms.Length)); Regards, Mahen

    C# csharp security

  • Using TripleDES Encryption [modified]
    K Kodanda Pani

    Hi, strValue is the text that needs to be encrypted. Regards, Mahen

    C# csharp security
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups