Saturday 21 April 2012

Comment Application Asp.Net Using C#

1.First Step    :
Drag and Drop TextBox in Design Phase

2.Second Step:
Right Click on TextBox , Click on Properties Change the TextMode = MultiLine

3.Third Step   :
Drag and Drop Button in Design Phase from Tool Box

4.Fourth Step  :
Double Click on Button ,Its Move to Code file ..

....................Code for Comment.................
Using System.Data.SqlClient;

void button1_click(Event_Handler)
{
string comment=textbox1.Text;

string strcon=ConfigurationManager.Connectionstring["New of Connection String"].tostring();
SqlConnetion con=new SqlConnection(constr);

string strcmd="Insert Into Comment(comment) values(@comment)";
SqlCommand cmd=New SqlCommand();
cmd.CommandText=cmdstr;

cmd.Parameters.AddWithValue("@comment",comment);
cmd.Connection=con;

con.Open();
Int result=Convert.ToInt32(cmd.ExecuteScalar());
if(result==1)
{
Response.Redirect("Default1.asp");
}
}

Friday 30 March 2012

Crown Computers

Now !
Crown Computers with (BCA Degree) And (Animation)
Joining is Upto Date..

Will Be posted By
Raj  Narayan

Crown Computers

Now !

       Diploma In Computers Application


  1. MS-CIT
  2. Financial Account Tally Erp
  3. Desk Top Publishing
  4. Hardware Concepts
  5. C Programing 
  All Courses
@ 7000/-Rs 
& learn
              Typing on Computer Free of Cost         
                      
 Crown Computers
Roop Plaza , Near Jivan Jyoti Store , Opp. Ganesh Temple, Jambli Naka, Thane(w).
Tel : 25448881/25380759

Father of Computer

Charles Babbage, a British Mathematics professor, is regarded as the Father of Computers. He was born in England in 1792 as the son of a rich banker from Devon. He was inspired by Napier's logarithm tables and Napier's logs and bones. He began to design a "difference engine" in 1821 which was a very large and complicated machine intended for doing logarithmic calculations automatically. ie Computer