Exemplo n.º 1
0
 public int Blog_Insertcomment(Account_Data ac)
 {
     string[] pname  = { "@comment_id", "@user_id", "@comment", "@videoid", "@status" };
     string[] pvalue = { ac.comment_id, ac.user_id, ac.comment, ac.videoid, ac.Status };
     return(Int_Process("Blog_Insertcomment", pname, pvalue));
 }
Exemplo n.º 2
0
 //----------------------------------Insert Code-----------------------------------------
 public int InsertUser_Data(Account_Data u)
 {
     string[] pname  = { "@Account_id", "@Name", "@Email", "@Paasword", "@Phoneno", "@Status" };
     string[] pvalue = { u.Account_id, u.Name, u.Email, u.Paasword, u.Phoneno, u.Status };
     return(Int_Process("InsertAccountData", pname, pvalue));
 }