Saturday 1 September 2012

insert record in asp.net simple program with c#

insert record in asp.net simple program with c#
try
           {
               con.Open();
               SqlCommand cmd = new SqlCommand("insert into feesentry_tb (stud_rollno,paidfee,remain_fee)values(8,456,555)",con);
              // cmd.CommandType = System.Data.CommandType.Text;
              cmd.ExecuteNonQuery();
             
              
               //DataTable dt = new DataTable();
              
              
           }
           catch(Exception ex)
              {
              
               Response.Write(ex);
           }
           finally
           {
               con.Close();
           }
Share This
Previous Post
Next Post

FYJC XI standard online admisson Process and declaraton of Merit list . Cut off List For prevous year also . 10 Th Results onlne declaraton Maharashtra Region .

0 comments: