Click here to Skip to main content
15,913,610 members
Home / Discussions / C#
   

C#

 
GeneralRe: declaring array dimension and type at runtime Pin
Karl 200018-Jan-05 9:11
Karl 200018-Jan-05 9:11 
Generalplace a text box in C# without toolbox Pin
itssuk17-Jan-05 19:14
itssuk17-Jan-05 19:14 
GeneralRe: place a text box in C# without toolbox Pin
mhmoud rawas17-Jan-05 19:24
mhmoud rawas17-Jan-05 19:24 
GeneralRe: place a text box in C# without toolbox Pin
Heath Stewart18-Jan-05 6:30
protectorHeath Stewart18-Jan-05 6:30 
GeneralNeed Code in C# for Pin
aaditya200017-Jan-05 19:12
aaditya200017-Jan-05 19:12 
GeneralRe: Need Code in C# for Pin
Christian Graus17-Jan-05 21:25
protectorChristian Graus17-Jan-05 21:25 
GeneralRe: Need Code in C# for Pin
Gregg Holter18-Jan-05 22:52
Gregg Holter18-Jan-05 22:52 
GeneralProblem in Return DataReader from a ServicedComponent object Pin
kianboo17-Jan-05 18:28
kianboo17-Jan-05 18:28 
i had problem in returning a DataReader object from a ServicedComponent class. The dataset object was return fine, but when return the DataReader, the datareader object was a transparent_proxy object. I dont understand why only the return DataReader object is a transparent_proxy?

And if i use any method of the returned DataReader, the following error will be occur:
This remoting proxy has no channel sink which means either the server has no registered server channels that are listening, or this application has no suitable client channel to talk to the server.

my codes is simplied as follow:
//First layer is DataAccess Layer
public sealed class DataAccess : ServicedComponent
{
//others methods here...
public OleDbDataReader ExecuteReader (OleDbConnection objConn, string
sql, CommandType commandType, OleDbParameters paramList)
{
//SomeOthers codes here...
return objCmd.ExecuteReader(CommandBehavior.CloseConnection);
}
}

//Second Layer is Data Access Logic
public class EmployeeDAL : ServicedComponent
{
public IDataReader GetEmployeesFirstName()
{
//someothers codes here...
DataAccess objDa=new DataAccess();
OleDbConnection objConn=new OleDbConnection();
return objDa.ExecuteReader(objConn,sql);
}
}

Thanks in advance for your help. Smile | :)

gkb
QuestionCan asp.net use C++ DLL through C#? Pin
webdevelopex17-Jan-05 18:05
webdevelopex17-Jan-05 18:05 
AnswerRe: Can asp.net use C++ DLL through C#? Pin
Christian Graus17-Jan-05 21:27
protectorChristian Graus17-Jan-05 21:27 
GeneralRe: Can asp.net use C++ DLL through C#? Pin
webdevelopex17-Jan-05 22:43
webdevelopex17-Jan-05 22:43 
GeneralRe: Can asp.net use C++ DLL through C#? Pin
Nick Parker18-Jan-05 3:45
protectorNick Parker18-Jan-05 3:45 
GeneralRe: Can asp.net use C++ DLL through C#? Pin
Heath Stewart18-Jan-05 5:50
protectorHeath Stewart18-Jan-05 5:50 
GeneralGraphics files stumper... Pin
new_phoenix17-Jan-05 16:12
new_phoenix17-Jan-05 16:12 
GeneralRe: Graphics files stumper... Pin
cobyjone17-Jan-05 16:21
cobyjone17-Jan-05 16:21 
GeneralRe: Graphics files stumper... Pin
new_phoenix24-Jan-05 10:40
new_phoenix24-Jan-05 10:40 
GeneralRe: Graphics files stumper... Pin
Christian Graus17-Jan-05 17:24
protectorChristian Graus17-Jan-05 17:24 
GeneralRe: Graphics files stumper... Pin
new_phoenix18-Jan-05 6:15
new_phoenix18-Jan-05 6:15 
GeneralRe: Graphics files stumper... Pin
Christian Graus18-Jan-05 8:41
protectorChristian Graus18-Jan-05 8:41 
GeneralRe: Graphics files stumper... Pin
Corinna John17-Jan-05 19:53
Corinna John17-Jan-05 19:53 
GeneralRe: Graphics files stumper... Pin
new_phoenix18-Jan-05 6:31
new_phoenix18-Jan-05 6:31 
GeneralRe: Graphics files stumper... Pin
Skynyrd18-Jan-05 10:25
Skynyrd18-Jan-05 10:25 
GeneralRe: Graphics files stumper... Pin
Corinna John19-Jan-05 19:44
Corinna John19-Jan-05 19:44 
Generalunsorted column schema Pin
paulb17-Jan-05 16:10
paulb17-Jan-05 16:10 
GeneralDetect sender page Pin
ABBASI_RA17-Jan-05 15:35
ABBASI_RA17-Jan-05 15:35 

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.