Click here to Skip to main content
15,924,367 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: VS Problem in network Pin
Venkatesh Mookkan21-Jan-07 19:37
Venkatesh Mookkan21-Jan-07 19:37 
QuestionUserControl Event Pin
AnhTin21-Jan-07 17:22
AnhTin21-Jan-07 17:22 
AnswerRe: UserControl Event Pin
Christian Graus21-Jan-07 17:41
protectorChristian Graus21-Jan-07 17:41 
QuestionRe: UserControl Event Pin
AnhTin21-Jan-07 17:47
AnhTin21-Jan-07 17:47 
AnswerRe: UserControl Event Pin
Christian Graus21-Jan-07 21:27
protectorChristian Graus21-Jan-07 21:27 
GeneralRadio Button List, Each Item in Table Column??? [modified] Pin
code-frog21-Jan-07 9:01
professionalcode-frog21-Jan-07 9:01 
GeneralRe: Radio Button List, Each Item in Table Column??? Pin
Christian Graus21-Jan-07 11:16
protectorChristian Graus21-Jan-07 11:16 
QuestionADO.net Pin
chohanpk21-Jan-07 6:21
chohanpk21-Jan-07 6:21 
i m using the tutorial "href="http://www.sitepoint.com/article/introduction-ado-net/3" to access values from database through ado.net using stored procedure.but its not working.here is my code


protected void Page_Load(object sender, EventArgs e)
{
SqlConnection con= new SqlConnection("////here is my connection string/////");
con.Open();

SqlCommand com = new SqlCommand("ShowSuppliers", con);
com.CommandType = CommandType.StoredProcedure;
//SqlDataReader reader = com.ExecuteReader();
SqlParameter parm = com.Parameters.Add("@txt", SqlDbType.VarChar, 50);
parm.Direction = ParameterDirection.Input;
parm.Value = "US";
SqlDataReader reader = com.ExecuteNonQuery();
while (reader.Read()== true)
{
Response.Write(reader[0].ToString() + "
");

}

reader.Close();
con.Close();
}



and one of problem is whenever i m saving my procedure as in tutorial, it always chages "create PROCEDURE" with "ALTER PROCEDURE"


Chohan

AnswerRe: ADO.net Pin
Guffa21-Jan-07 6:30
Guffa21-Jan-07 6:30 
GeneralRe: ADO.net Pin
chohanpk21-Jan-07 6:44
chohanpk21-Jan-07 6:44 
AnswerRe: ADO.net Pin
Guffa21-Jan-07 7:20
Guffa21-Jan-07 7:20 
GeneralRe: ADO.net Pin
chohanpk21-Jan-07 9:23
chohanpk21-Jan-07 9:23 
AnswerRe: ADO.net Pin
Guffa21-Jan-07 9:43
Guffa21-Jan-07 9:43 
GeneralRe: ADO.net Pin
chohanpk21-Jan-07 9:59
chohanpk21-Jan-07 9:59 
AnswerRe: ADO.net Pin
Guffa21-Jan-07 10:19
Guffa21-Jan-07 10:19 
GeneralRe: ADO.net Pin
chohanpk21-Jan-07 10:50
chohanpk21-Jan-07 10:50 
GeneralRe: ADO.net Pin
Christian Graus21-Jan-07 11:00
protectorChristian Graus21-Jan-07 11:00 
GeneralRe: ADO.net Pin
Guffa21-Jan-07 11:03
Guffa21-Jan-07 11:03 
GeneralRe: ADO.net Pin
chohanpk21-Jan-07 11:14
chohanpk21-Jan-07 11:14 
GeneralRe: ADO.net Pin
Guffa21-Jan-07 12:52
Guffa21-Jan-07 12:52 
QuestionASP.NET with C# -> online tutorial ? Pin
Software_Specialist21-Jan-07 5:40
Software_Specialist21-Jan-07 5:40 
AnswerRe: ASP.NET with C# -> online tutorial ? Pin
Christian Graus21-Jan-07 11:02
protectorChristian Graus21-Jan-07 11:02 
QuestionTechnical question: VS2003 and VS2005 Pin
sdsdsds@hotmail.com21-Jan-07 3:17
sdsdsds@hotmail.com21-Jan-07 3:17 
AnswerRe: Technical question: VS2003 and VS2005 Pin
Christian Graus21-Jan-07 11:03
protectorChristian Graus21-Jan-07 11:03 
GeneralRe: Technical question: VS2003 and VS2005 Pin
sdsdsds@hotmail.com21-Jan-07 21:11
sdsdsds@hotmail.com21-Jan-07 21:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.