Saturday 25 February 2017

Amazon Most Purchase Link with Surprise Gifts along with your ordered items(In top 5 purchases from your Account) 

https://www.amazon.in/gp/product/B01MR2KLGT/ref=as_li_tl?ie=UTF8&camp=3638&creative=24630&creativeASIN=B01MR2KLGT&linkCode=as2&tag=j0bd8-21&linkId=42865afecb5d12014b1d1dddb18dce22




<a target="_blank" href="https://www.amazon.in/gp/product/B01MR2KLGT/ref=as_li_tl?ie=UTF8&camp=3638&creative=24630&creativeASIN=B01MR2KLGT&linkCode=as2&tag=j0bd8-21&linkId=42865afecb5d12014b1d1dddb18dce22">Mivi 3.1A Dual Port Smart Wall charge adapter with in-built Auto-detect Technology compatible with Samsung, Apple iPhones, iPad, OnePlus, Motorola, Sony, LG, HTC, Lenovo, OPPO, Vivo, Microsoft, Nokia, Asus, Letv, Xiaomi, Coolpad, Micromax, Honor, Intex, Karbonn, Meizu, iBall, Lava, Huawei, and all other mobile devices, tablets, power banks, bluetooth speakers, cameras and More (Blue) ...</a><img src="//ir-in.amazon-adsystem.com/e/ir?t=j0bd8-21&l=am2&o=31&a=B01MR2KLGT" width="1" height="1" border="0" alt="" style="border:none !important; margin:0px !important;" />

Thursday 21 January 2016

---------------------------------registration cs----------------------------
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Configuration;
using System.Data;

public partial class reg : System.Web.UI.Page
{
    public static string CONN_STRING = ConfigurationManager.AppSettings["constr"].ToString();
    protected void Page_Load(object sender, EventArgs e)
    {
     
    }

    protected void submit_Click(object sender, EventArgs e)
    {
       if(password.Text==repassword.Text)
       {
           try {
               SqlConnection con = new SqlConnection(CONN_STRING);
               con.Open();
               SqlCommand cmd = new SqlCommand("select count(*) from user_reg where us_userid='"+userid.Text+"'", con);
               int cnt = Convert.ToInt32(cmd.ExecuteScalar());
               if (cnt!=1 )
               {
                   cmd = new SqlCommand("insert into user_reg (us_userid,us_name,us_password,us_designation,us_department,us_gender,us_address,us_emailid,us_mbn,us_regdate) values ('" + userid.Text + "','" + name.Text + "','" + password.Text + "','" + designation.Text + "','" + department.Text + "','" + gender.Text + "','" + address.Text + "','" + email.Text + "','" + mno.Text + "','" +System.DateTime.Today+ "')", con);
                    cmd.ExecuteNonQuery();
                    msg.InnerHtml = "inserted successfully";

                   con.Close();
               }
               else
               {
                   msg.InnerHtml = "User already exist";
               }
               }
           catch(Exception ex)
           {
             
           }
     
       }
    }
}








------------------------------------webconfig ---------------------
<?xml version="1.0"?>

<!--
  For more information on how to configure your ASP.NET application, please visit
  http://go.microsoft.com/fwlink/?LinkId=169433
  -->

<configuration>

    <system.web>
      <compilation debug="true" targetFramework="4.5" />
      <httpRuntime targetFramework="4.5" />
    </system.web>
<appSettings>
  <add key="constr" value="Data Source=TAGORE-PC;Initial Catalog=library;Integrated Security=True;" ></add>
</appSettings>
</configuration>
-----------------------------------------login  cs-------------------------
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data.SqlClient;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class login : System.Web.UI.Page
{
    public static string CONN_STRING = ConfigurationManager.AppSettings["constr"].ToString();
    protected void Page_Load(object sender, EventArgs e)
    {
     
    }
    protected void Button1_Click(object sender, EventArgs e)
    {
        try {
        SqlConnection con = new SqlConnection(CONN_STRING);
        con.Open();
        SqlCommand cmd = new SqlCommand("insert into logintable values('" + Userid_login.Text + "','" + password_login.Text + "')", con);
        int num = cmd.ExecuteNonQuery();


        con.Close();
            }
        catch(Exception ex)
        {

        }
    }
}








------------------------------------login aspx--------------------
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login"  EnableEventValidation="False" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="js/cloudflare.min.js"></script>
    <link href="css/stylelg.css" rel="stylesheet" />
    <link href="css/fdw-demo.css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div class="container">
                  <div class="freshdesignweb-top"><h1><a href="http://www.freshdesignweb.com/">Online Library Management System</a></h1></div><div class="clr">
                  </div>

<header>
<h1><span><strong>Login Form</strong></span> </h1>
            </header>    
      <div class="form">
    <form id="contactform">
<p class="contact"><label for="email">Userid_login</label></p>
                <asp:TextBox ID="Userid_login" runat="server" placeholder="User id" required="" ></asp:TextBox>
   
<p class="contact"><label for="password">password</label></p>
                <asp:TextBox ID="password_login" runat="server"  placeholder="password" required="" ></asp:TextBox>
   
<br><br>


                <asp:Button ID="Button1" class="buttom" runat="server" Text="Submit" tabindex="5" OnClick="Button1_Click"  />
                <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="reg.aspx"><h5><span style="color:red">Go to SignUp</span></h5></asp:HyperLink>      


            <br>

</form>
  </div>    
</div>
 
    </div>
    </form>
</body>
</html>

Sunday 2 August 2015

Samsung Defects While Using The Mobiles

In Universe no mobile without any defect. Just now am showing some Samsung defects while mobile in processing...





Saturday 1 August 2015

Just Recharge Yourself

Hey! Heard about FreeB?? I cannot wait to tell you, it is raining hard cash... Boss over 10,00,000 users have made 5,50,00,000 talktime cash. I have myself made loads of money. Do not be Rude, Become a Dude! get FreeB today, It is Real.  http://www.freeb.in/FreeB/ws/invite/6ASLJR95 . Earn hundred rupees in no time. 
Note: ( It's only available in android mobiles only. )

Windows 10 Shortcut Keys


Windows 10 Keyboard Shortcut
Description
Windows
Show the Windows 10 Start Menu
Windows + Tab
Launch Windows 10 Task View
Windows + Q
Search the web and Windows with Cortana (speech)
Windows + S
Search the web and Windows with Cortana (keyboard input)
Windows + I
Open Windows 10 settings
Windows + A
Open Windows 10 notifications
Windows + L
Lock your Windows 10 device
Windows + Ctrl + D
Create new virtual desktop
Windows + Ctrl + F4
Close current virtual desktop
Windows + Ctrl + [Left][Right]
Switch between virtual desktops
Windows + [Left][Right][Up][Down]
Position windows on your screen
E.g. Windows + [Left] moves the current window to the left half of your screen. If you use Windows + [Up] afterwards, the current window will be placed in the upper left quarter of your screen.
And, what’s very handy in my opinion: If you release the Windows key after positioning a window, Task View shows up on the opposite side of the positioned window to select and position another app.
Windows + H
Share content (if supported by current app)
Windows + K
Connect to wireless displays and audio devices
Windows + X
Open Start button context menu
Windows + G
Opens the Windows 10 Game Bar to take game screenshots and record gaming videos of Windows 10 games (works in any game app, e.g. Microsoft Solitaire Collection)
And, of course, these “old but gold” shortcuts known from previous Windows versions still work:
Windows 10 Keyboard Shortcut
Description
Windows + D
Show Windows desktop
Windows + E
Open Windows Explorer
Windows + Space
Switch keyboard input language (if you have added at least a second one)
Windows + Shift + [Left][Right]
Move current Window from one monitor to another (when using a multiple monitor setup)
Windows + [1][2][3][…]
Open programs that are pinned to task bar
E.g. if first pinned program on your task bar is Windows Explorer (from left to right), the shortcut Windows + 1 opens Windows Explorer for you.
Windows + R
Run a command
Windows + P
Project a screen
Alt + Tab
Switch to previous window
Alt + Space
Restore, move, size, minimize, maximize or close current window. Also works like a charm for Windows 10 modern apps.
Alt + F4
a) Close current window
b) If you’re on your Windows 10 desktop, open Power dialogue to shut down or restart Windows, put your device in sleep mode, sign out or switch the current user

I’m pretty sure there are much more keyboard shortcuts you can use to speed up your work with Windows 10. If you experience new ones, please let me know! I will try to keep the above list up to date.
Aren’t an Insider, yet? Join the Windows Insider program and get the latest Windows 10 Insider Preview builds. If you’re interested in the Virtual Desktop concept of Windows 10, learn everything about it in the blog post Virtual Desktops in Windows 10 – The Power of Windows…Multiplied on the Blogging Windows blog.
Best,

mani teja.