Click here to Skip to main content
15,898,222 members
Home / Discussions / C#
   

C#

 
Generalfinding control in datagrid header Pin
livez13-Jul-05 4:52
livez13-Jul-05 4:52 
GeneralRe: finding control in datagrid header Pin
thomasa22-Jul-05 2:06
thomasa22-Jul-05 2:06 
Generaldisable browsing directory Pin
Emily7713-Jul-05 3:54
Emily7713-Jul-05 3:54 
GeneralRe: disable browsing directory Pin
Guffa13-Jul-05 4:43
Guffa13-Jul-05 4:43 
QuestionHow tocall Asynchronous webservice for my code Pin
Vinkum13-Jul-05 3:51
Vinkum13-Jul-05 3:51 
General.NET Project renamer free tool Pin
Anonymous13-Jul-05 3:36
Anonymous13-Jul-05 3:36 
GeneralAnother stinking ad! Pin
Dave Kreskowiak13-Jul-05 5:13
mveDave Kreskowiak13-Jul-05 5:13 
Generalpassing struct to web service Pin
fady_sayegh13-Jul-05 3:35
fady_sayegh13-Jul-05 3:35 
Hi to all,

i'm trying to execute a stored procedure via a web service.
i want to send a struct that contains the parameter of the stored procedure

public struct StoredProcParam
{
public string eParamName;
public SqlDbType eType;
public int eSize;
public ParameterDirection eDirection;
public object eValue;
}


when i create in my windows application an instance of the struct, i can't assign the element of the struct because the debugger consider the element as invalid

localhost.StoredProcParam[] oParam = new localhost.StoredProcParam[3];

oParam[0].eParamName = "@sNomChamp";
oParam[0].eType = localhost.SqlDbType.VarChar;
oParam[0].eSize = 50;
oParam[0].eDirection = localhost.ParameterDirection.Input;
oParam[0].eValue = e.FieldName;

moclsBdd.ExecuteStoredProcedure("sp_UpdatePays", oParam);

does any know how to put values in the elements of the struct and then pass it to the web method in the web service

thanks in advance

fady
GeneralRe: passing struct to web service Pin
Guffa13-Jul-05 4:49
Guffa13-Jul-05 4:49 
GeneralRe: passing struct to web service Pin
fady_sayegh13-Jul-05 4:53
fady_sayegh13-Jul-05 4:53 
GeneralRe: passing struct to web service Pin
fady_sayegh13-Jul-05 4:57
fady_sayegh13-Jul-05 4:57 
GeneralIf dircectX is not installed and i have all the dll's and stuff... Pin
Anthony Mushrow13-Jul-05 3:17
professionalAnthony Mushrow13-Jul-05 3:17 
GeneralRe: If dircectX is not installed and i have all the dll's and stuff... Pin
Dave Kreskowiak13-Jul-05 5:11
mveDave Kreskowiak13-Jul-05 5:11 
GeneralRe: If dircectX is not installed and i have all the dll's and stuff... Pin
Steve Maier13-Jul-05 7:24
professionalSteve Maier13-Jul-05 7:24 
GeneralRe: If dircectX is not installed and i have all the dll's and stuff... Pin
Dave Kreskowiak13-Jul-05 9:08
mveDave Kreskowiak13-Jul-05 9:08 
QuestionShowing MDIChild modally? Pin
zaboboa13-Jul-05 2:54
zaboboa13-Jul-05 2:54 
AnswerRe: Showing MDIChild modally? Pin
Dave Kreskowiak13-Jul-05 5:08
mveDave Kreskowiak13-Jul-05 5:08 
GeneralRe: Showing MDIChild modally? Pin
zaboboa13-Jul-05 5:13
zaboboa13-Jul-05 5:13 
GeneralRe: Showing MDIChild modally? Pin
Dave Kreskowiak13-Jul-05 9:07
mveDave Kreskowiak13-Jul-05 9:07 
AnswerRe: Showing MDIChild modally? Pin
Zishan Haider13-Jul-05 19:28
Zishan Haider13-Jul-05 19:28 
Generaldataview tablestyle Pin
xrado13-Jul-05 2:31
xrado13-Jul-05 2:31 
GeneralHiding a winform just as it runs... Pin
Alberto Bar-Noy13-Jul-05 2:26
Alberto Bar-Noy13-Jul-05 2:26 
GeneralRe: Hiding a winform just as it runs... Pin
Dave Kreskowiak13-Jul-05 2:33
mveDave Kreskowiak13-Jul-05 2:33 
GeneralRe: Hiding a winform just as it runs... Pin
cmaissan13-Jul-05 13:06
cmaissan13-Jul-05 13:06 
Generalautomate Word document as out-of-process Pin
ppp00113-Jul-05 1:31
ppp00113-Jul-05 1:31 

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.