Sunday 30 August 2015

how to teach table of 9.

good morning friends,

my today post for children.

lets learn how to teach table of nine in very simple way.


first teach table upto 5

0 * 9 = 0
1 * 9 = 9
2 * 9 = 18
3 * 9 = 27
4 * 9 = 36
5 * 9 = 45                        after that reverse the value   like 45 into 54


6 * 9 = 54    (reverse of 45) 5 * 9
7 * 9 = 63    (reverse of 36) 4 * 9
8 * 9 = 72    (reverse of 27) 3 * 9
9 * 9 = 81    (reverse of 18) 2 * 9
10*9 = 90    (reverse of 09) 1 * 9

as mention above table of 9 is very easy to teach ur children.






Friday 28 August 2015

Get 10 % cash back on recharge and bill payment of rs. 200


One More offer for paytm lovers:

get 10% cash back on recharge and bill payment of rs. 200.

Promo Code is :- RECH200

TERMS AND CONDITION TO AVAIL THIS OFFER AS FOLLOW:

1. code can be used 5 times.
2. User can used same code on same number upto 5 times.
3. offer is valid for all users.
4. offer is valid on web and app.

www.paytm.com

Wednesday 26 August 2015

HOW TO SEND MAIL USING VB.NET

THIS IS VERY SIMPLE METHOD TO SEND MAIL TO ANYONE USING VB.NET

FOLLOW THE FOLLOWING STEPS.

STEP--1

IMPORT FOLLOWING FILES

Imports System.Net.Mail

STEP--2

CALL FUNCTION AS FOLLOW:

call function in your project and pass the parameters.

 Private Function SEND_MAIL(ByRef strto As String, ByRef strcc As String, ByRef strsubject As String, ByRef StrBody As String, ByRef straattch As String) As Boolean
        Try
            Dim FILE As String
            Dim Smtp_Server As New SmtpClient
            Dim e_mail As New MailMessage()
            Dim mail_to As String
            Smtp_Server.UseDefaultCredentials = False
            Smtp_Server.Credentials = New Net.NetworkCredential("abc@abc.com", "123") ' enter you email address and then password your email.
            Smtp_Server.Port = 587
            Smtp_Server.EnableSsl = True
            Smtp_Server.Host = "www.gmail.com" ' pass your email domain
            mail_to = strto ' pass the email id whom you want to send mail.
           e_mail.CC.Add("abc@abc.com") ' to send mail with cc
            e_mail = New MailMessage()
            e_mail.From = New MailAddress("abcd@iolcp.com") ' email address of sender
            FILE = straattch ' this is for sending attachment pass the path of the file.
            e_mail.Attachments.Add(New Attachment(FILE))
            e_mail.To.Add(mail_to)
            e_mail.Bcc.Add("123@123.com")
            e_mail.Subject = strsubject
            e_mail.IsBodyHtml = True
            'StrBody = StrBody & "Dear Sir/Madam,<br /><br />&nbsp;&nbsp;&nbsp;i am sending you mail for testing purpose." & "<br/>" & "<br/>" & "Kindly check and revert back" & "<br /><br />"
            e_mail.Body = StrBody
            Smtp_Server.Send(e_mail)
        Catch error_t As Exception
            MsgBox(error_t.ToString)
        End Try
    End Function

GET 100% CASH BACK ON MOBIKWIK

Hello Everyone.

another great cash back offer on mobikwik. if you never register on mobikwik app then you can earn 100% cash back on recharge or payment on rs. 60.

Terms and conditions as follow:


1. This offer is valid only for NEW USER.
2. maximum cash back is rs. 60.
3. offer is valid on prepaid recharge.
4. one transaction per user.
5. payment through debit/credit card.


Promo Code:-  No coupon code is required.

so register on mobikwik and enjoy 100% cash back.

https://www.mobikwik.com

GET 12.5% CASH BACK ON PAYTM.

Good Day Everyone.

we are back with another cash back offer for you on paytm.

get 12.5% cash back on recharge or payment of rs. 400 on paytm.

you can use this promo code 6 times its means you can get rs. 50*6=300 cash back on recharge of rs. 2400.

promo code is :-   AUG300.


OFFER IS VALID FOR ALL USER.
OFFER IS VALID ON WEB AS WELL AS ON APP.

so use the promo code and enjoy cash back.

www.paytm.com

CASH BACK RS. 10 ON PAYMENT OF RS. 100


Good Day everyone.

i am come back with another offer for you.

you can get cash back of rs. 10 on payment or recharge of rs. 100 and above.

you can use this promocode five times. means you can get rs. 50  cash back on payment of recharge of rs. 500 ( 100*5).

offer is valid for all user but offer is valid only on PAYTM APP.

your promo code:- RECH100

so recharge or bill payment through paytm and enjoy cash back.




Tuesday 25 August 2015

GET RS. 50 CASH BACK ON FREECHARGE.

DEAR ALL,

WELCOME BACK WITH NEW OFFER ON FREE RECHARGE.

GET RS. 50 CASH BACK WHEN YOU RECHARGE YOUR DTH WITH RS. 500.



you can avail this offer on your mobile app or web .

offer is valid for limited period.

so hurry up... don't miss the golden chance to get back 10% and enjoy your movie or entertainment.

offer is valid only once.


HOW TO IMPORT DATA FROM EXCEL TO SQL USING VB.NET

dear vb.net developers,

i am post the very simple to import data from excel to sql server.


first you need to import the following files.

step---1 

Imports Excel = Microsoft.Office.Interop.Excel
Imports System.Data.Sql
Imports System.Data.SqlClient
Imports System.IO


step--2

declare following variables.

    Dim rs As DataSet
    Dim cmd As SqlCommand = myconnection.CreateCommand()
    Dim myTrans As SqlTransaction
    Dim xlApp As New Excel.Application
    Dim xlWorkBook As Excel.Workbook
    Dim xlWorkSheet As New Excel.Worksheet
dim path as string
step --3

store the path of excel file in variable path

like :- 

                path=C:\myfile.xls
                xlWorkBook = xlApp.Workbooks.Open(path)
                xlWorkSheet = xlWorkBook.Sheets.Item(1)

Me.ListView1.Items.Clear()
Me.ListView1.Columns.Clear()
With Me.ListView1
                    .Items.Clear()
                    .Columns.Add("a", 70)
                    .Columns.Add("b", 300)
                    .Columns.Add("c", 100)
                    .Columns.Add("d", 150)
                    .Columns.Add("e", 150)
                End With

'item 1 is sheet one
'like the same pattern you can select your excel sheet.


first of you need to store value in list view or datagrid its not necessary.

method to store value in list view.

you can start loop from 0 to n value. 

Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click

 For i = 0 To 9000
                    If CStr(xlWorkSheet.Cells(i + 3, 1).value) = "" And CStr(xlWorkSheet.Cells(i + 3, 2).value) = "" And CStr(xlWorkSheet.Cells(i + 3, 3).value) = "" Then
                        i = 9000
                    Else
                        With Me.ListView1
                            .Items.Add(xlWorkSheet.Cells(i + 3, 1).value)
                            .Items(i).SubItems.Add(xlWorkSheet.Cells(i + 3, 2).value)
                            .Items(i).SubItems.Add(xlWorkSheet.Cells(i + 3, 3).value)
                            If CStr(xlWorkSheet.Cells(i + 3, 6).value) = "" Then
                                .Items(i).SubItems.Add("")
                            Else
                                .Items(i).SubItems.Add(Trim$(Replace(xlWorkSheet.Cells(i + 3, 6).value, "'", " ")))
                            End If
                            If CStr(xlWorkSheet.Cells(i + 4, 7).value) = "" Then
                                .Items(i).SubItems.Add("")
                            Else
                                .Items(i).SubItems.Add(Trim$(Replace(xlWorkSheet.Cells(i + 3, 7).value, "'", " ")))
                            End If

                        End With
                    End If
                Next


'''''' this is used to dispose excel file which one you import.

 releaseObject(xlApp)
                releaseObject(xlWorkBook)
                releaseObject(xlWorkSheet)

'myconnection is your connection which one you used in your project.

  If myconnection.State = ConnectionState.Closed Then
                    myconnection.Open()
                    myTrans = myconnection.BeginTransaction(IsolationLevel.ReadCommitted, "MultipleTransaction")
                    cmd_new.Connection = myconnection
                    cmd_new.Transaction = myTrans
                End If
       For i = 0 To Me.ListView1.Items.Count - 1
 cmd.CommandText = ("insert into table_name(a,b,c,d,e) values(@a,@b,@c,@d,@e")

cmd.Parameters.Add("@a", SqlDbType.bigint).Value = Me.ListView1.Items(i).SubItems(0).Text
cmd.Parameters.Add("@b", SqlDbType.varchar,100).Value = Me.ListView1.Items(i).SubItems(1).Text
cmd.Parameters.Add("@c", SqlDbType.datetime).Value = Me.ListView1.Items(i).SubItems(2).Text
cmd.Parameters.Add("@d", SqlDbType.varchar,100).Value = Me.ListView1.Items(i).SubItems(3).Text
cmd.Parameters.Add("@e", SqlDbType.decimal,19,2).Value = Me.ListView1.Items(i).SubItems(4).Text
cmd.ExecuteNonQuery()
'this is used to clear declare parameter in cmd test file so that we can used it again and again within the loop
                    cmd.Parameters.Clear()
next 
    myTrans.Commit()

end sub

' procedure to dispose excel file.
Private Sub releaseObject(ByVal obj As Object)
        Try
            System.Runtime.InteropServices.Marshal.ReleaseComObject(obj)
            obj = Nothing
        Catch ex As Exception
            obj = Nothing
        Finally
            GC.Collect()
        End Try
    End Sub



'this is the simple procedure to store value in data base from excel file.


'any wants any code for vb.net then write me i will try to resolve your problem.







TDS CALCULATION FOR GOVT. EMPLOYEES.

Hello Friends,

good news for all of govt. employees. Now you can calculate your tds in very simple ways. just download the files by clicking

http://okfiles.net/file/054l4f

enter your income and saving then downloaded file will calculate your tds auto.

Monday 24 August 2015

GET 50% CASH BACK ON FREECHARGE.


Hurry Up ! to get 50% cash back from freecharge.

to get 50% cash back user need to give miss call on 08263839494. and free charge will be send coupon code through sms.


last date to avail this offer is 26 aug.

valid on bill payment of post paid , DTH and prepaid mobile.

PUBJAB GOVT. INCREASED DA BY 6%


Good News for punjab govt. employees. punjab govt. declare 6% da from aug. salary. now punjab govt. got 113% in august salary.

da is due from jan. 2015 and balance da will be given within oct. 2015 salary.

GET CASH BACK UPTO RS. 50


USE THE FOLLOWING CODE TO GET CASH BACK RS. 50 ON PAYTM.

MAXIMUM CASH BACK RS. 10

YOUR CAN RECHARGE AND BILL PAYMENT UPTO 5 TIMES. TO GET BACK RS. 50.

PROMO CODE IS : - AUGRECH50


OFFER IS VALID FOR OLD AND NEW CUSTOMER.


HOW TO CHANGE COLOR OF LIST VIEW

IF YOU WANT TO CHANGE COLOR OF DESIRED FILED IN LIST VIEW THEN YOU CAN FOLLOW FOLLOWING METHOD.


ME.MYLISTVIEW.ITEM(0).BACKCOLOR=COLOR.BLUE.

GET CASH BACK UPTO RS. 70

IF you want to earn rs. 70 cash back then follow the following rules.

maximum cash back is rs. 10

Get rs. 10 cash back on recharge and bill payment of rs. 30 and above on paytm web site.

Your can recharge and bill payment 7 times to get back rs. 70 cash back.

offer is valid for new and old user and user can use it on web as well as on app.

*Note:- if any one avail this offer in previous then he/she can not avail this offer.


PROMO CODE IS :-  GET70
www.paytm.com