Click here to Skip to main content
15,923,576 members
Home / Discussions / C#
   

C#

 
AnswerRe: rich textbox Pin
NassosReyzidis29-May-07 23:27
NassosReyzidis29-May-07 23:27 
QuestionPopulate combobox Pin
matjame29-May-07 23:00
matjame29-May-07 23:00 
AnswerRe: Populate combobox Pin
Christian Graus29-May-07 23:06
protectorChristian Graus29-May-07 23:06 
GeneralRe: Populate combobox Pin
matjame29-May-07 23:21
matjame29-May-07 23:21 
AnswerRe: Populate combobox Pin
sujithkumarsl29-May-07 23:15
sujithkumarsl29-May-07 23:15 
GeneralRe: Populate combobox Pin
J4amieC29-May-07 23:42
J4amieC29-May-07 23:42 
GeneralRe: Populate combobox Pin
sujithkumarsl29-May-07 23:58
sujithkumarsl29-May-07 23:58 
GeneralRe: Populate combobox Pin
J4amieC30-May-07 0:58
J4amieC30-May-07 0:58 
sujithkumarsl wrote:
actually ExecuteNonQuery_SP("Select * from Filter"); is a method which takes quaery as parameter and returns the datatable.
i used this code in my proj and its working


Two things:

1) There is no method named ExecuteNonQuery_SP in the framework, and therefore using it in an example to a newer programmer is just going to confuse them more! This method is most likely defined in your own project, or is part of a data access framework that you use.

2) The name of the method would imply that it executes IDbConnection.ExecuteNonQuery which does not "return a table". If your method really does take a SQL clause as a parameter and return a table it should be named ExecuteDataTable_SP

Please take the time to consider the usefulness of the code and the target audience before posting a (useless) code snippet.


GeneralRe: Populate combobox Pin
matjame30-May-07 0:48
matjame30-May-07 0:48 
AnswerRe: Populate combobox Pin
Shivaprasad D Atthigode29-May-07 23:38
Shivaprasad D Atthigode29-May-07 23:38 
GeneralRe: Populate combobox Pin
matjame29-May-07 23:50
matjame29-May-07 23:50 
GeneralRe: Populate combobox Pin
sujithkumarsl30-May-07 0:00
sujithkumarsl30-May-07 0:00 
GeneralRe: Populate combobox Pin
matjame30-May-07 0:23
matjame30-May-07 0:23 
AnswerRe: Populate combobox Pin
Shivaprasad D Atthigode30-May-07 0:15
Shivaprasad D Atthigode30-May-07 0:15 
GeneralRe: Populate combobox Pin
matjame30-May-07 0:27
matjame30-May-07 0:27 
GeneralRe: Populate combobox Pin
matjame30-May-07 0:51
matjame30-May-07 0:51 
AnswerRe: Populate combobox Pin
Shivaprasad D Atthigode30-May-07 1:24
Shivaprasad D Atthigode30-May-07 1:24 
GeneralRe: Populate combobox Pin
matjame30-May-07 1:37
matjame30-May-07 1:37 
QuestionPictureBox's and the Graphics Class Pin
MarkB77729-May-07 22:58
MarkB77729-May-07 22:58 
AnswerRe: PictureBox's and the Graphics Class Pin
Christian Graus29-May-07 23:02
protectorChristian Graus29-May-07 23:02 
QuestionQueries about coding standards Pin
MarkB77729-May-07 22:56
MarkB77729-May-07 22:56 
AnswerRe: Queries about coding standards Pin
Christian Graus29-May-07 23:01
protectorChristian Graus29-May-07 23:01 
QuestionHow to get kerning pair values from a Typeface/GlyphTypeface Pin
Dmitri Nеstеruk29-May-07 22:55
Dmitri Nеstеruk29-May-07 22:55 
QuestionHow to add text in table control Pin
EEmaan29-May-07 22:42
EEmaan29-May-07 22:42 
AnswerRe: How to add text in table control Pin
Christian Graus29-May-07 22:55
protectorChristian Graus29-May-07 22:55 

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.