Click here to Skip to main content
15,890,897 members
Home / Discussions / Database
   

Database

 
Generalfunction returning CRecordset Pin
scoroop6-May-05 8:02
scoroop6-May-05 8:02 
GeneralSQL Reporting Pin
vkallavi6-May-05 7:47
vkallavi6-May-05 7:47 
GeneralStored Procedure headache Pin
Vodstok6-May-05 3:14
Vodstok6-May-05 3:14 
GeneralRe: Stored Procedure headache Pin
Vodstok6-May-05 3:32
Vodstok6-May-05 3:32 
Generalmysql adding parameters in asp.net vb Pin
jetset326-May-05 3:07
jetset326-May-05 3:07 
GeneralRe: mysql adding parameters in asp.net vb Pin
Mike Ellison6-May-05 5:10
Mike Ellison6-May-05 5:10 
GeneralRe: mysql adding parameters in asp.net vb Pin
jetset326-May-05 5:19
jetset326-May-05 5:19 
GeneralRe: mysql adding parameters in asp.net vb Pin
Mike Ellison6-May-05 5:37
Mike Ellison6-May-05 5:37 
Hi there. I may have offered that too soon - I saw it used in some MySql .NET Connector examples and thought it may be something to look at. As I look at the .chm documentation, it indicates that the method is not yet supported (?) But then there is a different section that describes the following:

4.3.2. Preparing Statements in MySQL Connector/NET
To prepare a statement, create a command object and set the .CommandText property to your query.

After entering your statement, call the .Prepare method of the MySqlCommand object. After the statement is prepared, add parameters for each of the dynamic elements in the query.

After you enter your query and enter parameters, execute the statement using the .ExecuteNonQuery(), .ExecuteScalar(), or .ExecuteReader methods.

For subsequent executions, you need only modify the values of the parameters and call the execute method again, there is no need to set the .CommandText property or redefine the parameters.


So now I'm not sure which is right.
GeneralRe: mysql adding parameters in asp.net vb Pin
jetset326-May-05 5:46
jetset326-May-05 5:46 
GeneralData export to excel\csv file Pin
mansir 1235-May-05 22:26
mansir 1235-May-05 22:26 
GeneralRe: Data export to excel\csv file Pin
scoroop6-May-05 8:10
scoroop6-May-05 8:10 
GeneralRe: Data export to excel\csv file Pin
S Douglas12-May-05 0:50
professionalS Douglas12-May-05 0:50 
GeneralTwo counts of rows with different criteria Pin
Luis Alonso Ramos5-May-05 19:34
Luis Alonso Ramos5-May-05 19:34 
GeneralRe: Two counts of rows with different criteria Pin
Dan_P5-May-05 19:48
Dan_P5-May-05 19:48 
GeneralRe: Two counts of rows with different criteria Pin
Luis Alonso Ramos5-May-05 20:09
Luis Alonso Ramos5-May-05 20:09 
GeneralSQL Ternary Operator Pin
Syed Abdul Khader5-May-05 19:23
Syed Abdul Khader5-May-05 19:23 
GeneralRe: SQL Ternary Operator Pin
Colin Angus Mackay5-May-05 23:32
Colin Angus Mackay5-May-05 23:32 
GeneralRe: SQL Ternary Operator Pin
Syed Abdul Khader10-May-05 15:54
Syed Abdul Khader10-May-05 15:54 
General"COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} is either not Pin
leezardd5-May-05 9:23
leezardd5-May-05 9:23 
GeneralRe: "COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} is either not Pin
Dan_P5-May-05 20:14
Dan_P5-May-05 20:14 
GeneralRe: "COM object with CLSID {10020200-EB1C-11CF-AE6E-00AA004A34D5} is either not Pin
leezardd12-May-05 3:51
leezardd12-May-05 3:51 
GeneralRunning Store Proc in Access Pin
mjackson115-May-05 7:49
mjackson115-May-05 7:49 
GeneralDatabase logon Pin
Joey Picerno5-May-05 3:53
Joey Picerno5-May-05 3:53 
GeneralNot DataItem Is Nothing == Only true DURING data binding?! Pin
RabidTommy5-May-05 3:29
RabidTommy5-May-05 3:29 
GeneralValidateing values in Stored Procedures Pin
hhrafn5-May-05 0:07
hhrafn5-May-05 0:07 

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.