Tuesday, January 29, 2013

get distinct in datatable or dataSet

          ds= ds.RemoveAColumn("ScheduleId");

          //ds being dataset in here.

           List<string> getTheListOfColumns = ds.GetAllColumnNamesInList();
           DataView view = new DataView(ds.Tables[0].Copy());
           DataTable distinctValues = view.ToTable(true,getTheListOfColumns.ToArray());
           DataSet dsTop = new DataSet();

Monday, January 28, 2013

Want to know which control caused the post back in the asp.net c# page. You can use this method:


if (Page.Request.Params.Get("__EVENTTARGET").Contains(“ControlID”)


//write your code here



And if the control is button, you could use the same above code+:

if (Request[buttonID.UniqueID] != null)

// your code here.


Monday, January 7, 2013

Beware Of click2resume.com. They are fraud.

This site people contacted me about four weeks earlier. They acted professional I I really thought they were genuine.

They ran consultancy which provide interviews and stuff for major mncs like HCL and IBM it seams.

I never thought in my mind that this people could be fraud. I found out only after I paid 13 hundred and then they asked me to pay more for resume verification. they asked me to pay 180 more for resume verification.

Why should I revify my resume by paying them. then I got the glitch. the guy who was talking to me. he was saying he was going to place me in to the IBM all by himself. he will take the inteview and place me directly.

Jesus. I should have thought. THis people are real fun to play with . Please be careful before getting call from this people.

Heard like in the internet this people even arrange mock interview, saying they are talking from so and so company.

please be alert. you are playing with your hard earned money.

Hopefully you will not be the next.