Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #72.7K
hey,, i created one application in asp.net in vc# wich required the results of a stored procedure to be displayed into a datagridview.heres d code..,, SqlConnection mysql = new SqlConnection(@"Integrated Security=SSPI;Data Source=MANU\SQLEXPRESS;Initial Catalog=info;"); mysql.Open(); SqlCommand searchcmd = new SqlCommand("search", mysql); searchcmd.CommandType = CommandType.StoredProcedure; searchcmd.Parameters.Add(new SqlParameter("@sname", SqlDbType.VarChar, 20)); searchcmd.Parameters["@sname"].Value = textBox1.Text.ToString(); … |