[Show all top banners]

vandam
Replies to this thread:

More by vandam
What people are reading
Subscribers
:: Subscribe
Back to: Kurakani General Refresh page to view new replies
 stroed proc
[VIEWED 4841 TIMES]
SAVE! for ease of future access.
Posted on 03-22-07 11:55 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

can anyone knows any sites , books, pdf for learng SQL Stored Proceure, User defined function. if so please let me know,
I am despertely looking informaton on this.
 
Posted on 03-22-07 12:46 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

>
CLICK HERE


PS: I am assuming you are referring to a PL/SQL Stored Procedure.

'Hope it helps.
 
Posted on 03-24-07 10:31 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

Hi! Vandam

check this site www.w3schools.com

go to chmpdf.com and download e-book of SQL server


or

here is the sample code:

//stored procedure with parameters

protected void btnParameter_Click(object sender, EventArgs e)
{
string constring = "Data Source=UTTAM;Initial Catalog=Ship;Integrated Security=True";
SqlConnection con = new SqlConnection(constring);
int phon=0;
try
{
con.Open();
SqlCommand command = new SqlCommand();
command.Connection = con;

command.CommandText = "sp_getByPhone";
command.CommandType = CommandType.StoredProcedure;


SqlParameter param = command.Parameters.AddWithValue("@Phone", TextBox1.Text);
param.Direction = ParameterDirection.Input;
param.DbType = DbType.Int32;

SqlDataAdapter adaptor = new SqlDataAdapter();
adaptor.SelectCommand = command;

DataSet data = new DataSet();
adaptor.Fill(data, "Shippers");

DataTable table = data.Tables["Shippers"];

GridView2.DataSource = table;
GridView2.DataBind();

}

finally
{
con.Close();

}


}
 
Posted on 03-24-07 11:53 PM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 

हेहे स्तोर प्रोसीदुर को कोइसन नि साझा मा सोध्ने हो त !!! अलि खतरा
देदीक्एतेत फोरम मा गएर सोध्ने नि !!! :D
 
Posted on 03-25-07 12:59 AM     Reply [Subscribe]
Login in to Rate this Post:     0       ?    
 
 


Please Log in! to be able to reply! If you don't have a login, please register here.

YOU CAN ALSO



IN ORDER TO POST!




Within last 7 days
Recommended Popular Threads Controvertial Threads
TPS Re-registration case still pending ..
and it begins - on Day 1 Trump will begin operations to deport millions of undocumented immigrants
Travel Document for TPS (approved)
All the Qatar ailines from Nepal canceled to USA
NOTE: The opinions here represent the opinions of the individual posters, and not of Sajha.com. It is not possible for sajha.com to monitor all the postings, since sajha.com merely seeks to provide a cyber location for discussing ideas and concerns related to Nepal and the Nepalis. Please send an email to admin@sajha.com using a valid email address if you want any posting to be considered for deletion. Your request will be handled on a one to one basis. Sajha.com is a service please don't abuse it. - Thanks.

Sajha.com Privacy Policy

Like us in Facebook!

↑ Back to Top
free counters