Wednesday, 16 October 2013

Share your conscience New Update

Share your conscience  New Update


Update 1.Now share your conscience is available in new look for android mobile.

Share your conscience launch android app for mobile to access SYC easily with fast speed.


                       or                                                                         http://www.appsgeyser.com/719944
Update 2: Now access your content faster than previous. Loading problem solved.
Update 3:Now whole share your conscience is available in new look.



Posted By:Tanuj Kumar 
On:Shareyourconscience

Read More
Posted on 3:10:00 am
Categories:

Hide Div tag By-Tanuj Kumar

 Hide Div tag


Javascript Code to Show or Hide Div:

This function can be done easily by java script program .

<html>
<head>

    <title>Javascript Program to Show/Hide Div Visibility</title>
  
    <script language="javascript" type="text/javascript">
   
        function showHideDiv() {
            var divstyle = new String();
            divstyle = document.getElementById("div1").style.visibility;
            if (divstyle.toLowerCase() == "visible" || divstyle == "") {
                document.getElementById("div1").style.visibility = "hidden";
            }
            else {
                document.getElementById("div1").style.visibility = "visible";
            }
        }
  
    </script>
</head>
<body>
    <div id="div1" class="divStyle">
        Show/Hide Div tag using java script.
    </div>
    <center>
        <input type="button" 
                value="show hide div" 
                onclick="showHideDiv()" />
    </center>
</body>
</html>

Posted By:Tanuj Kumar 
On:Shareyourconscience

Read More
Posted on 1:05:00 am
Categories:

Tuesday, 8 October 2013

Transaction in .net By:Tanuj Kumar

share your conscience

Transaction Example in .Net Program:

//first of all take button click event
button click()
   {
//create SqlConnection class object      
SqlConnection con = new SqlConnection("Connnection string");
      SqlTransaction transaction;
//open connection
       con.Open();
//begin transaction
      transaction = con.BeginTransaction();
      try 
      {
         new SqlCommand("INSERT INTO Transaction " +
            "(Text) VALUES ('Row1');", con, transaction)
            .ExecuteNonQuery();
         new SqlCommand("INSERT INTO Transaction " +
            "(Text) VALUES ('Row2');", con, transaction)
            .ExecuteNonQuery();
         new SqlCommand("INSERT INTO transaction2 VALUES " +
            "('Die', 'Die', 'Die');", con, transaction)
            .ExecuteNonQuery();
         transaction.Commit();
      } 
      catch (SqlException sqlError) 
      {
         transaction.Rollback();
      }
      con.Close();
   }



Posted By:Tanuj Kumar 
On:Shareyourconscience

Read More
Posted on 11:54:00 pm
Categories:

Blog Objective By:Tanuj Kumar

Shareyourconscience

1 Fast processing: we update  themes time to time on the basis of response time and remove unwanted script form Share your conscience. If you have any query regarding performance cLick hEre

2. Quality content:  The Un-commonness or dominance of something is called quality. Our content is 99.99% superiority content.

A motivation is big factor to do special task. There are many notions in my mind to form blog and post my thoughtful concepts. If someone need then they'll use it. after I produce several program in my system that area unit announce here as a Post. My aim is to post all of my work here. Each day I’m terribly glad to form it. here I wish to grab all fields like news, fun, tricks, personal stuff and far additional. It’s simply initial to cover up all issue allow us to see what reasonably feedback are come. currently don't have any words to write down here. leverage to the users depends upon the content written in journal . thus journal content should be impressive to all or any and have an effect on in single read . I can realize that blog writing is very difficult task here I collaborate all of my necessary knowledge in the form of posts and pages. that why this become a complete package of conscience. here all information like news ,fun and activity are going to take a beautiful slope and resultant that one can satisfy about the information provide here. Today it’s very hard to collaborate information from internet about any topic if one have any question about any related issue they can directly ask their query on submitting contact us form we differently provide help in single package as possible I can...
Share your conscience(knowledge) about topics and experience which gain with time is very valuable thing. Now i am quite confident about this. Most  preparation have been completed but need more to get best result here. Here I categories according to updation with time to time as required “ News” column cover both local an inter-nation best news with time . downloads contain books ,game and software (mobile and PC) and some earning which attract new candidate here is also tremendous approach. we will also provide best product review for business purpose. study material and sharp your skill contain study material and post contain different type knowledgeable things. its begin...


Tanuj
Tanuj Kumar

Posted By:Tanuj Kumar 
On:Shareyourconscience




Read More
Posted on 11:33:00 pm
Categories:

Tuesday, 1 October 2013

Find Prime No. Using Java Script By:Tanuj Kumar

Find Prime No. Using Java Scrip

Find Prime No. Using Java Script

var num =prompt("Enter a number");
parseInt(num);var i;var b=0; if(num==1)
{
alert("A prime number is a number which has only two factors, 1, and itself. But in the case of 1, there is only one factor: 1. So, 1 is not a prime number");
}
else{
for(i=1;i<=num;i++)
{
var result = num%i;
if(result==0)
{
b++;
} }
if(b<=2)
{
alert("Prime no.");
}
else
{
alert("Not Prime");
}
}

Posted By:Tanuj Kumar 
On:Shareyourconscience

Read More
Posted on 1:14:00 am
Categories:

Unhide all sheet in MS EXCEL 2010 Using Macro By:Tanuj Kumar

Unhide all sheet in MS EXCEL 2010 Using Macro

Unhide all sheets in MS Excel 2010 using Macros.

Goto view>>Macros>>view macros>>create
then copy paste the below code then save the sheet.

Dim all_ws As Worksheet
For Each all_ws In ActiveWorkbook.Worksheets
all_ws.Visible = xlSheetVisible
Next all_ws

confirm to save.
Now run the create Macros.




Posted By:Tanuj Kumar 
On:Shareyourconscience

Read More
Posted on 1:01:00 am
Categories: