Click here to Skip to main content
15,892,927 members
Home / Discussions / ASP.NET
   

ASP.NET

 
QuestionMultiple Code Files in ASP.NET Project Pin
MarkMokris24-Jul-09 10:55
MarkMokris24-Jul-09 10:55 
AnswerRe: Multiple Code Files in ASP.NET Project Pin
Christian Graus24-Jul-09 11:14
protectorChristian Graus24-Jul-09 11:14 
Question[Message Deleted] Pin
mjc22524-Jul-09 7:55
mjc22524-Jul-09 7:55 
AnswerRe: Querying by with a variable for Date/Time in the Where clause Pin
Christian Graus24-Jul-09 11:18
protectorChristian Graus24-Jul-09 11:18 
Questionproblem with Bind Pin
Sider8924-Jul-09 7:33
Sider8924-Jul-09 7:33 
AnswerRe: problem with Bind Pin
Abhijit Jana24-Jul-09 7:38
professionalAbhijit Jana24-Jul-09 7:38 
AnswerRe: problem with Bind Pin
Brij24-Jul-09 7:42
mentorBrij24-Jul-09 7:42 
AnswerRe: problem with Bind Pin
Sider8924-Jul-09 7:51
Sider8924-Jul-09 7:51 
but there is same error
DataBinding: 'System.Int32' does not contain a property with the name 'ID'. 


look

public void LoadByCategories(int categoriID)
                  {
                           Connection.Open();
                           try
                           {
                                    SqlCommand cmd = new SqlCommand();
                                    cmd.CommandText = "exec GetBooksByCategory @ID";
                                    cmd.Connection = Connection;
                                    cmd.Parameters.Add(new SqlParameter("ID", categoriID));
                                    cmd.ExecuteNonQuery();
                           }
                           finally
                           {
                                    Connection.Close();
                           }
                  }


it warks, there is problem with return type, but i can not understand it

C# Developer

GeneralRe: problem with Bind Pin
Abhijit Jana24-Jul-09 7:53
professionalAbhijit Jana24-Jul-09 7:53 
GeneralRe: problem with Bind Pin
Sider8924-Jul-09 7:59
Sider8924-Jul-09 7:59 
GeneralRe: problem with Bind Pin
Christian Graus24-Jul-09 11:28
protectorChristian Graus24-Jul-09 11:28 
GeneralRe: problem with Bind Pin
Blue_Boy24-Jul-09 7:54
Blue_Boy24-Jul-09 7:54 
Questionexpression resolve Pin
sekannak24-Jul-09 4:33
sekannak24-Jul-09 4:33 
AnswerRe: expression resolve Pin
Abhishek Sur24-Jul-09 4:38
professionalAbhishek Sur24-Jul-09 4:38 
AnswerRe: expression resolve Pin
Mike Ellison24-Jul-09 4:40
Mike Ellison24-Jul-09 4:40 
QuestionDisplay html file in web page as a thumbnail? Pin
Brian W King24-Jul-09 4:02
Brian W King24-Jul-09 4:02 
AnswerRe: Display html file in web page as a thumbnail? Pin
Mike Ellison24-Jul-09 4:29
Mike Ellison24-Jul-09 4:29 
AnswerRe: Display html file in web page as a thumbnail? Pin
Abhishek Sur24-Jul-09 4:36
professionalAbhishek Sur24-Jul-09 4:36 
QuestionUnit testing in Asp.net MVC Pin
vid nandha24-Jul-09 2:39
vid nandha24-Jul-09 2:39 
AnswerRe: Unit testing in Asp.net MVC Pin
Abhijit Jana24-Jul-09 2:49
professionalAbhijit Jana24-Jul-09 2:49 
GeneralRe: Unit testing in Asp.net MVC Pin
vid nandha24-Jul-09 3:18
vid nandha24-Jul-09 3:18 
GeneralRe: Unit testing in Asp.net MVC Pin
Abhijit Jana24-Jul-09 3:28
professionalAbhijit Jana24-Jul-09 3:28 
QuestionGridView RowCommand Pin
yesu prakash24-Jul-09 2:27
yesu prakash24-Jul-09 2:27 
AnswerRe: GridView RowCommand Pin
Abhijit Jana24-Jul-09 3:30
professionalAbhijit Jana24-Jul-09 3:30 
GeneralRe: GridView RowCommand Pin
Herman<T>.Instance24-Jul-09 3:36
Herman<T>.Instance24-Jul-09 3:36 

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.