Jul 30, 2010

Fresher It jobs 2010

Dear Candidate,

Greetings from Hill Consulting!!!!!

Company Profile:

HILL Consulting is Head Quartered in United Kingdom. Providing Job opportunity for thousands. We are catering Human Resources across India. Core at Automobile/ Manufacturing as well in IT Software. It’s a fast growing, forward-looking company with a dynamic, motivated team that focus on results and satisfaction.

Hence, we are pleased to inform you that, we are organizing MASS Recruitment Drive on behalf of our Top ITES. We require, 2010 passed out Graduation ( Engineering / Arts & Science). If you are interested, please come and register your self for the interview on spot.

Salary : 1.4 lac to 1.9 lac per annum.

Date : 31st July’10 and 01st Aug’10.

Time : 10.00am to 6pm

Venue : Hill Consulting,
#5, 1st Floor, Montieth Road,
Opp.ALSA Mall. Egmore,
Chennai – 600008.

Registration :
Registration Fee Rs.200/-only.

Once, you are registered with us, your details will be updated in our lateral Database and we will be keeping posted about the lateral requirements of our client regularly.

If you know anyone who willing, you can refer or bring them for Drive.

Further Contact :
Mr. Michael Stevenson
Consultant.
Phone : 91 950-008-9449 / +91 996-221-6701.
91-44-42145467.

Regards,

Michael Stevenson
HILL Consulting

Insert Table Query in C#

for insert image url and img_id to the database
//sqlcon-sql connection string
sqlcon.open();
SqlCommand command = new SqlCommand("insert into tbl_image1(img_path) values ('" + Image + "')", sqlcon);

//insert,delete and update sql queries use exeucutenonquery functions

command.ExecuteNonQuery();
sqlcon.Close();

Sql connection string for Sql authentication

Sql connection



string strConnection = "Data Source=system_name;Initial Catalog=DBname;User ID=username;Password='password';";

 SqlConnection objConnection = new SqlConnection(strConnection);

Jul 29, 2010

CTS offcampus 2010


Cognizant Technology Solutions [CTS] is again going to conduct offcampus for 2009 passed out candidates. CTS already conducted offcampus in the month of April 2010. The eligibility criteria is


  • You must be a BE / B Tech / ME / M Tech / MCA / M Sc (Computer Science / IT / Software Engg) Graduate or B.Sc, BCA/M. Sc(except Computer Science/ IT/ Software engineering)
  • 2009 batch only
  • Must have secured above  60% in X, XII, UG and PG 
If you meet the above criteria then register yourself at https://careers.cognizant.com/OffCampus/

Jul 22, 2010

MD5 Encryption In C#

Encryption generally used for security purpose.
Some times we use this Encryption in Password( because we want to make password as case sensitive,In data base if we store data means, it's not case sensitive, so we want to perform the encryption for provide better security purpose.)

Here I added the MD5 Encryption Program



header files
System.text;
System.security.encryption;
function for Md5
public string encryptpasswordBL(string passwordBO)
    {
        Byte[] originalBytes;
        Byte[] encodedBytes;
        string encryptedPwdBL;
        MD5 md5 = new MD5CryptoServiceProvider();
        originalBytes = ASCIIEncoding.Default.GetBytes(passwordBO);
        encodedBytes = md5.ComputeHash(originalBytes);
        encryptedPwdBL = BitConverter.ToString(encodedBytes);
        return encryptedPwdBL;
    }



Sql connection Using Windows Authentication

sometimes, We get error in sql connection on local machine,this problem occur due to the authentication level of the server(Ms Sql server).

so we trying to open connection by using windows authentication...


SqlConnection conn = new SqlConnection( "Data Source=(local);Initial Catalog=Northwind;Integrated Security=SSPI");

SSPI to make connection with user's Windows login User ID Name of user configured in SQL Server

Asp.Net with C#



The c# code for Uploading Image using Upload files Controls to specific folder or location in your system or Server folder......




1.you have to add Upload file Control to your form.

2.Add another one submit button on same form.

3.then write following code onClick of Submit button.


Store an Image:

  string systemPath, serverPath, imageUpdate, imageId;
  string Image, ImageUpdate, Userid;
    systemPath = FileUpload1.PostedFile.FileName;
   serverPath =                              System.Web.HttpContext.Current.Server.MapPath("~/Images/");
         FileUpload1.PostedFile.SaveAs(serverPath +  System.IO.Path.GetFileName(systemPath));
         Image = serverPath + System.IO.Path.GetFileName(systemPath);



above program store your files into app_data/images folder

Jul 8, 2010

BEST COMEDY

please go to this link and watch the movie.....
i think he is next super star of india....
please watch it....


http://www.youtube.com/watch?v=oOlVU06Ig0k
http://www.youtube.com/watch?v=HwjszYVHVUA
http://www.youtube.com/watch?v=urN6mrM8iAw