View Single Post
  #3 (permalink)  
Old May 29th, 2004, 12:08 AM
melvik melvik is offline
Friend of Wrox
Points: 3,558, Level: 25
Points: 3,558, Level: 25 Points: 3,558, Level: 25 Points: 3,558, Level: 25
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: California, USA
Posts: 996
Thanks: 2
Thanked 11 Times in 11 Posts
Send a message via Yahoo to melvik
Default

if u use SqlCommandObj & set that in visual useing VS.NET Tolls u only to set its Params like;

Code:
SqlConn.Open();
SqlCommandObj.Parameters["@Param1"].Value = Param1;
SqlCommandObj.Parameters["@Param2"].Value = Param2;
SqlCommandObj.Parameters["@Param3"].Value = Param3;
SqlCommandObj.Parameters["@Param4"].Value = Param4;
SqlCommandObj.ExecuteReader();
SqlConn.Close();
Always:),
Hovik Melkomian.