Click here to Skip to main content
15,895,656 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Crystal Report Viewer Loading Problem. Pin
Abhijit Jana2-Jan-09 22:31
professionalAbhijit Jana2-Jan-09 22:31 
GeneralRe: Crystal Report Viewer Loading Problem. Pin
mr_muskurahat2-Jan-09 22:41
mr_muskurahat2-Jan-09 22:41 
QuestionHow to create .bat or .cmd file of console application. Pin
rahul.net112-Jan-09 22:06
rahul.net112-Jan-09 22:06 
AnswerRe: How to create .bat or .cmd file of console application. Pin
Abhijit Jana2-Jan-09 22:09
professionalAbhijit Jana2-Jan-09 22:09 
GeneralRe: How to create .bat or .cmd file of console application. Pin
rahul.net112-Jan-09 22:32
rahul.net112-Jan-09 22:32 
GeneralRe: How to create .bat or .cmd file of console application. Pin
Abhijit Jana2-Jan-09 22:41
professionalAbhijit Jana2-Jan-09 22:41 
GeneralRe: How to create .bat or .cmd file of console application. Pin
rahul.net112-Jan-09 23:13
rahul.net112-Jan-09 23:13 
QuestionGridview Problem Pin
monika_vasvani2-Jan-09 21:55
monika_vasvani2-Jan-09 21:55 
Hi all

I have one procedure in sqlserver.

create procedure pro_UpdateCompanyData(@oldvalue varchar(50),@newvalue varchar(50))

as

set nocount on

Update CompanyType Set CompanyType.type=@newvalue where CompanyType.type=@oldvalue

Go

Type is my columnname in table CompanyType.

now I have one gridview on page.I did Editcolumn and add edit,update and cancle button.

i write some code on gridview_Rowupdated event.

SqlDataSource1.UpdateCommandType=SqlDataSourceCommandType.StoredProcedure;

SqlDataSource1.UpdateParameters.Add(new Parameter("@oldvalue", System.TypeCode.String, ((string)Session["oldvalue"])));

SqlDataSource1.UpdateParameters.Add(new Parameter("@newvalue", System.TypeCode.String, newvalue));

SqlDataSource1.UpdateCommand ="pro_UpdateCompanyData";

"@type is not a parameter for procedure pro_UpdateCompanyData."

this error arise in this code.

I am not getting this point.pls suggest me.

Thanks
monika
AnswerRe: Gridview Problem Pin
Abhijit Jana2-Jan-09 22:12
professionalAbhijit Jana2-Jan-09 22:12 
QuestionRegarding the base class for web form... Pin
Sasmi_Office2-Jan-09 21:38
Sasmi_Office2-Jan-09 21:38 
AnswerRe: Regarding the base class for web form... Pin
Abhijit Jana2-Jan-09 22:23
professionalAbhijit Jana2-Jan-09 22:23 
GeneralRe: Regarding the base class for web form... Pin
Sasmi_Office2-Jan-09 22:27
Sasmi_Office2-Jan-09 22:27 
QuestionHow to stop multiple login with same userid and password? - ASP Pin
Jaiprakash M Bankolli2-Jan-09 21:01
Jaiprakash M Bankolli2-Jan-09 21:01 
AnswerRe: How to stop multiple login with same userid and password? - ASP [Modified] Pin
Abhijit Jana2-Jan-09 21:14
professionalAbhijit Jana2-Jan-09 21:14 
GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Jaiprakash M Bankolli2-Jan-09 21:18
Jaiprakash M Bankolli2-Jan-09 21:18 
GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Abhijit Jana2-Jan-09 21:28
professionalAbhijit Jana2-Jan-09 21:28 
GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Jaiprakash M Bankolli2-Jan-09 21:32
Jaiprakash M Bankolli2-Jan-09 21:32 
GeneralRe: How to stop multiple login with same userid and password? - ASP Pin
Abhijit Jana2-Jan-09 22:07
professionalAbhijit Jana2-Jan-09 22:07 
QuestionSetting of Default Button Pin
M. J. Jaya Chitra2-Jan-09 20:28
M. J. Jaya Chitra2-Jan-09 20:28 
Questionactive directory Pin
bhavna43212-Jan-09 20:26
bhavna43212-Jan-09 20:26 
AnswerRe: active directory Pin
Abhijit Jana2-Jan-09 20:39
professionalAbhijit Jana2-Jan-09 20:39 
Questionretrieving text of a huperlink in a datalist Pin
nripendra342-Jan-09 19:43
nripendra342-Jan-09 19:43 
QuestionHow To Retrieve Theme Color Pin
ais072-Jan-09 19:24
ais072-Jan-09 19:24 
AnswerRe: How To Retrieve Theme Color Pin
Abhijit Jana2-Jan-09 19:39
professionalAbhijit Jana2-Jan-09 19:39 
GeneralRe: How To Retrieve Theme Color Pin
ais072-Jan-09 20:00
ais072-Jan-09 20:00 

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.