Dim thisMonth As Integer Dim name As StringthisMonth = Convert.toInt32(txtMonth.Text)' Set Abbreviate to True to return an abbreviated name.name = MonthName(thisMonth, True)' name now contains "Apr".txtMonth.Text=name
Thank you, Govind
Dim Month = textboxID.Text; // Storing Entered Month Dim MonthName as DateTime = new DateTime(2014,Month,01) //Get Date time of Given Month textboxID.Text = MonthName.ToString("MMM")// Displays month of given number as string in textbox.
Thanks, Prabhu Kiran Bommareddy
Pallavi
Login to post response