Click here to Skip to main content
15,910,661 members
Home / Discussions / C#
   

C#

 
AnswerRe: Searching files for String data - performance suggestions? Pin
Ryan Neil Shaw2-Feb-09 10:03
Ryan Neil Shaw2-Feb-09 10:03 
AnswerRe: Searching files for String data - performance suggestions? Pin
Ryan Neil Shaw2-Feb-09 12:40
Ryan Neil Shaw2-Feb-09 12:40 
QuestionDisplay contents of a multiline textbox for printing Pin
krup7527-Jan-09 11:46
krup7527-Jan-09 11:46 
AnswerRe: Display contents of a multiline textbox for printing Pin
led mike27-Jan-09 11:54
led mike27-Jan-09 11:54 
Questionsuppress crystal report parameter dialog box Pin
Jassim Rahma27-Jan-09 11:39
Jassim Rahma27-Jan-09 11:39 
AnswerRe: suppress crystal report parameter dialog box Pin
Wendelius27-Jan-09 11:43
mentorWendelius27-Jan-09 11:43 
GeneralRe: suppress crystal report parameter dialog box Pin
Jassim Rahma27-Jan-09 11:45
Jassim Rahma27-Jan-09 11:45 
GeneralRe: suppress crystal report parameter dialog box Pin
Wendelius27-Jan-09 11:56
mentorWendelius27-Jan-09 11:56 
jrahma wrote:
I need to pass the value from my C# project


You can set the value of a parameter field with code somewhat like this:
ParameterDiscreteValue paramValue = new ParameterDiscreteValue();
paramValue.Value = 1;
rptDoc.ParameterFields["vehicle_id"].CurrentValues.Add(paramValue);


jrahma wrote:
unless there is a better way to do it


Don't know what you have as data in the dataset you use as a datasource, but couldn't the stored procedure return the parameter value it receives as part of the data it returns? This way you would always have the vehicle_id in the data.

The need to optimize rises from a bad design.My articles[^]

QuestionDisplaying & editing a two dimensional array in DataGridView Pin
Henrik Schmiediche27-Jan-09 10:44
Henrik Schmiediche27-Jan-09 10:44 
AnswerRe: Displaying & editing a two dimensional array in DataGridView Pin
MadArtSoft28-Jan-09 0:01
MadArtSoft28-Jan-09 0:01 
GeneralRe: Displaying & editing a two dimensional array in DataGridView Pin
Henrik Schmiediche28-Jan-09 9:34
Henrik Schmiediche28-Jan-09 9:34 
QuestionListview Sub item Edit Pin
Udayaraju27-Jan-09 8:51
Udayaraju27-Jan-09 8:51 
AnswerRe: Listview Sub item Edit Pin
Wendelius27-Jan-09 8:56
mentorWendelius27-Jan-09 8:56 
AnswerRe: Listview Sub item Edit Pin
Dave Kreskowiak27-Jan-09 10:04
mveDave Kreskowiak27-Jan-09 10:04 
GeneralRe: Listview Sub item Edit Pin
Udayaraju28-Jan-09 4:10
Udayaraju28-Jan-09 4:10 
QuestionSpeeding up code Pin
Xmen Real 27-Jan-09 8:23
professional Xmen Real 27-Jan-09 8:23 
AnswerRe: Speeding up code Pin
vaghelabhavesh27-Jan-09 8:31
vaghelabhavesh27-Jan-09 8:31 
GeneralRe: Speeding up code Pin
Xmen Real 27-Jan-09 8:37
professional Xmen Real 27-Jan-09 8:37 
GeneralRe: Speeding up code Pin
vaghelabhavesh27-Jan-09 9:00
vaghelabhavesh27-Jan-09 9:00 
AnswerRe: Speeding up code Pin
User 665827-Jan-09 8:37
User 665827-Jan-09 8:37 
GeneralRe: Speeding up code Pin
Xmen Real 27-Jan-09 8:39
professional Xmen Real 27-Jan-09 8:39 
Questionwindows form to wndows service cmmunication... Pin
Mubeen.asim27-Jan-09 7:11
Mubeen.asim27-Jan-09 7:11 
AnswerRe: windows form to wndows service cmmunication... Pin
Giorgi Dalakishvili27-Jan-09 7:20
mentorGiorgi Dalakishvili27-Jan-09 7:20 
GeneralRe: windows form to wndows service cmmunication... Pin
Mubeen.asim27-Jan-09 7:23
Mubeen.asim27-Jan-09 7:23 
GeneralRe: windows form to wndows service cmmunication... Pin
Giorgi Dalakishvili27-Jan-09 7:30
mentorGiorgi Dalakishvili27-Jan-09 7:30 

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.