Pages

Showing posts with label Anil Pandey. Show all posts
Showing posts with label Anil Pandey. Show all posts

Friday, April 16, 2010

How to become an MVP ????

Hello All,


All the details about the Microsoft Most Valuable Professional award program you can get it from here. So hurry up and be recognized..

All the community leaders are invited to get a chance to be recognized by Microsoft

MVP & the Indian MVP'S



Thanks
Anil Kumar Pandey
Micorsoft MVP (C#)
Navi Mumbai,
Maharashtra

Wednesday, October 28, 2009

Have you seen date beyond 31 in a Professional site?????????

hi,

while searching a flight for my home town i found an interesting thing in a site, there were option to select the date which can never come like 32 october 2009,33 october 2009,34 october 2009 up to 36 October 2009.

how can a professional developer do a mistake like this..?????????????

please have a look... 32 October 2009

in the above link please check the Drop down for the Flight Status:option...



waiting for your comments







Thanks
Anil Kumar Pandey
System Architect, MVP
Mumbai, Maharshtra



Intresting new features of Windows 7

hi all,
have a look to the interesting new features of the windows 7, the latest operating system from windows. please follow the below line...



Thanks
Anil Kumar Pandey
System Architect, MVP
Mumbai, Maharshtra

Friday, October 2, 2009

On Top of the World Today!!!!!!

Hello everyone,
I am very happy to inform you all that i have got the Prestigious Microsoft MVP(Most Valuable Professional) award today.. I dont have words to explain my feeling right now, this is all my friends good wishes that i have got this award. i would thanks to all my friends who have supported me in each moment of my life...

you can see the announce lise here.. MVP


Thanks
Anil Kumar Pandey
System Architect
Mumbai, Maharshtra

Monday, September 14, 2009

AN INTERESTING INTERVIEW

AN INTERESTING INTERVIEW........Banta Strikes Again!!!

AN INTERESTING INTERVIEW

Interviewer
:Let me check your word Power...
Banta :Ok Sir ....
Interviewer : Tell me the opposite of .....good.
Banta :hmmmm..... Bad
Interviewer
: Come
Banta
: Go.
Interviewer : Ugly.
Banta : Pichlli.
Interviewer : PICHLLIIIII?
Banta
: UGLYYYYYYYYY..
Interviewer : Shut Up.
Banta : Keep Talking.
Interviewer k now stop these all..
Bantak now carry on this all
Interviewer
:abe...chup ho ja..chup ho ja..chup ho jaaaa
Banta
:abe bolta rah..bolta rah..bolta rahhh
Interviewer
:Areeee yaaar
Banta
: areeee dushmannnnnn
Interviewer
: Get Out.
Banta : Come In.
Interviewer : Oh my God.
Banta : Oh my Devil.
Interviewer : U r Rejected.
Banta: I m selected...I M SELECTED???REALLY??BALLE BALLE




Thanks
Anil Kumar Pandey
System Architect
Mumbai, Maharshtra

Wednesday, August 19, 2009

Sending SMS from .Net application

hi,

.Net has the support for the mobile device. Using the Application we can send SMS to the mobile device, for this i am using the 2 web service in the application that are com.webservicex.www & net.webservicex.www. We simply need to create an interface from which we can supply the mobile no and the message. Using this service not only we can send message to India but we also can send the message to international numbers. You just need to add the Web reference in ypur application for this 2 web services.

please refer this code for .CS page.

using System;
using System.Collections;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Web;
using System.Web.SessionState;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

namespace SmsTest
{
///
/// Summary description for WebForm1.
///

public class WebForm1 : System.Web.UI.Page
{
protected System.Web.UI.WebControls.Button Send;
protected System.Web.UI.WebControls.TextBox txtMobileNo;
protected System.Web.UI.WebControls.TextBox txtEmailId;
protected System.Web.UI.WebControls.TextBox txtCountryCode;
protected System.Web.UI.WebControls.Label lblMessage;
protected System.Web.UI.WebControls.RadioButtonList rdoType;
protected System.Web.UI.WebControls.TextBox txtMessage;

private void Page_Load(object sender, System.EventArgs e)
{
txtCountryCode.
Enabled = false;
}

#region Web Form Designer generated code
override protected void OnInit(EventArgs e)
{
//
// CODEGEN: This call is required by the ASP.NET Web Form Designer.
//
InitializeComponent
();
base.OnInit(e);
}

///
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
///

private void InitializeComponent()
{
this.Send.Click += new System.EventHandler(this.Send_Click);
this.rdoType.SelectedIndexChanged += new System.EventHandler(this.rdoType_SelectedIndexChanged);
this.Load += new System.EventHandler(this.Page_Load);

}
#endregion

private void Send_Click(object sender, System.EventArgs e)
{
if (txtEmailId.Text.Trim() == "")
{
lblMessage.
Visible = true;
lblMessage.
Text = "Please Enter Email ID";
txtEmailId.
Focus();
return
;
}
else if (txtMobileNo.Text.Trim() == "")
{
lblMessage.
Visible = true;
lblMessage.
Text = "Please Enter Mobile No";
txtMobileNo.
Focus();
return
;
}
else if (txtMessage.Text.Trim() == "")
{
lblMessage.
Visible = true;
lblMessage.
Text = "Please Enter Message";
txtMessage.
Focus();
return
;
}
else
{
try
{
SmsTest.
net.webservicex.www.SendSMS smsIndia = new SmsTest.net.webservicex.www.SendSMS();
SmsTest.
com.webservicex.www.SendSMSWorld smsWorld = new SmsTest.com.webservicex.www.SendSMSWorld();
if (rdoType.SelectedValue == "1")
smsIndia.
SendSMSToIndia(txtMobileNo.Text.Trim(), txtEmailId.Text.Trim(), txtMessage.Text);
else
smsWorld.
sendSMS(txtEmailId.Text.Trim(), txtCountryCode.Text.Trim(), txtMobileNo.Text.Trim(), txtMessage.Text);
lblMessage.
Visible = true;
lblMessage.
Text = "Message Send Succesfully";
}
catch (Exception ex)
{
lblMessage.
Visible = true;
lblMessage.
Text = "Error in Sending message" + ex.ToString();
}
}
}

private void rdoType_SelectedIndexChanged(object sender, System.EventArgs e)
{
if(rdoType.SelectedValue =="1")
txtCountryCode.
Enabled = false;
else
txtCountryCode.
Enabled = false;

}

protected void Clear_Click(object sender, EventArgs e)
{
txtEmailId.
Text = "";
txtCountryCode.
Text = "";
txtMobileNo.
Text = "";
txtMessage.
Text = "";
lblMessage.
Visible = false;
txtEmailId.
Focus();
}
}
}


And here is the .aspx page code.

<%@ Page Language="c#" CodeBehind="SendSms.aspx.cs" AutoEventWireup="false" Inherits="SmsTest.WebForm1" %>

<html>
<head>
<title>Sending Text Messages with .NETtitle>
head>
<body>
<table width="100%" border="1px">
<tr>
<td align="center">
<h2>
Send SMS
h2>
td>
tr>
<tr>
<td align="center">
<asp:Label ID="lblMessage" runat="server" ForeColor="#009900" Visible="False">asp:Label>
td>
tr>
table>
<form method="post" runat="server" id="Form1">
<table width="100%" border="1px">
<tr>
<td colspan="2" height="22">
&nbsp;
<asp:RadioButtonList ID="rdoType" runat="server" AutoPostBack="True" RepeatDirection="Horizontal"
Width
="304px">
<asp:ListItem Value="1" Selected="True">SMS to Indiaasp:ListItem>
<asp:ListItem Value="2">SMS to worldasp:ListItem>
asp:RadioButtonList>
td>
tr>
<tr>
<td>
Email Id
td>
<td>
<asp:TextBox ID="txtEmailId" runat="server">asp:TextBox>( ex :&nbsp;test@test.com
)
td>
tr>
<tr>
<td>
Country Code
td>
<td>
<asp:TextBox ID="txtCountryCode" runat="server" Text="">asp:TextBox>&nbsp;(ex
: 91 for&nbsp;India
td>
tr>
<tr>
<td>
Mobile
/cell Number
td>
<td>
<asp:TextBox ID="txtMobileNo" runat="server" Text="">asp:TextBox>&nbsp;( ex :&nbsp;984xxxxxxxx&nbsp;)
td>
tr>
<tr>
<td>
Message
td>
<td>
<asp:TextBox ID="txtMessage" runat="server" Rows="4" TextMode="MultiLine">asp:TextBox>
td>
tr>
<tr>
<td>
td>
<td>
<asp:Button ID="Send" runat="server" Text="Send">asp:Button>
<asp:Button ID="Clear" runat="server" Text="Clear" OnClick="Clear_Click">asp:Button>
td>
tr>
table>
form>
body>
html>


I have taken the idea from one of the leading sites. You can refer the main article here. Source.

I hope now you can easily send SMS using this application.

happy coding!!!!!!!!

Thanks
Anil Kumar Pandey
System Architect
Green Point Technology (India) Ltd.
Mumbai, Maharshtra

Kontera