Click here to Skip to main content
14,693,384 members
Home » Discussions » C#
   

C#

 
GeneralRe: activex component can't create object on a small exe coded on vb dot net Pin
Christian Graus9-Jun-09 20:34
mveChristian Graus9-Jun-09 20:34 
GeneralRe: activex component can't create object on a small exe coded on vb dot net Pin
alonchap9-Jun-09 20:39
Memberalonchap9-Jun-09 20:39 
GeneralRe: activex component can't create object on a small exe coded on vb dot net Pin
Christian Graus9-Jun-09 21:29
mveChristian Graus9-Jun-09 21:29 
GeneralRe: activex component can't create object on a small exe coded on vb dot net Pin
alonchap9-Jun-09 21:32
Memberalonchap9-Jun-09 21:32 
GeneralRe: activex component can't create object on a small exe coded on vb dot net Pin
Christian Graus9-Jun-09 21:37
mveChristian Graus9-Jun-09 21:37 
GeneralRe: activex component can't create object on a small exe coded on vb dot net Pin
alonchap9-Jun-09 22:37
Memberalonchap9-Jun-09 22:37 
GeneralRe: activex component can't create object on a small exe coded on vb dot net Pin
saanj9-Jun-09 21:01
Membersaanj9-Jun-09 21:01 
Questionpass in parameter from c# Pin
Abdul Rahman Hamidy9-Jun-09 19:36
MemberAbdul Rahman Hamidy9-Jun-09 19:36 
Dear All,
I have sql query which is

create proc sp_detail
(
@p varchar(max)
)
as
select * from tblName where code in (@p)

I am passing @p from c# application, but it doesent reterieve any data while there is data
cmd=new SqlCommand("sp_detail",p.con);
cmd.CommandType= CommandType.StoredProcedure;
cmd.Parameters.AddWithValue("@p",codes);
DataTable dtResult=new DataTable();
if (cmd.Connection.State!=ConnectionState.Open)
    cmd.Connection.Open();
dtResult.Load((cmd.ExecuteReader(CommandBehavior.CloseConnection)));

codes is a string which contains codes seperated by comma, as 28-2801,28-2802...
what is wrong here

Abdul Rahaman Hamidy
Database Developer
Kabul, Afghanistan

AnswerRe: pass in parameter from c# Pin
Christian Graus9-Jun-09 20:10
mveChristian Graus9-Jun-09 20:10 
GeneralRe: pass in parameter from c# Pin
Abdul Rahman Hamidy9-Jun-09 20:23
MemberAbdul Rahman Hamidy9-Jun-09 20:23 
GeneralRe: pass in parameter from c# Pin
Christian Graus9-Jun-09 20:24
mveChristian Graus9-Jun-09 20:24 
GeneralRe: pass in parameter from c# Pin
Abdul Rahman Hamidy9-Jun-09 20:44
MemberAbdul Rahman Hamidy9-Jun-09 20:44 
GeneralRe: pass in parameter from c# Pin
Christian Graus9-Jun-09 21:39
mveChristian Graus9-Jun-09 21:39 
AnswerRe: pass in parameter from c# Pin
saurabh sahay11-Jun-09 6:37
Membersaurabh sahay11-Jun-09 6:37 
Questionproblem with datatable.importrow Pin
prasadbuddhika9-Jun-09 18:58
Memberprasadbuddhika9-Jun-09 18:58 
AnswerRe: problem with datatable.importrow Pin
prasadbuddhika9-Jun-09 19:07
Memberprasadbuddhika9-Jun-09 19:07 
AnswerRe: problem with datatable.importrow Pin
saurabh sahay11-Jun-09 6:42
Membersaurabh sahay11-Jun-09 6:42 
QuestionWebCamLib Problem Pin
S K Y9-Jun-09 17:55
MemberS K Y9-Jun-09 17:55 
AnswerRe: WebCamLib Problem Pin
Christian Graus9-Jun-09 18:07
mveChristian Graus9-Jun-09 18:07 
GeneralRe: WebCamLib Problem Pin
S K Y9-Jun-09 20:26
MemberS K Y9-Jun-09 20:26 
QuestionRe: WebCamLib Problem Pin
S K Y9-Jun-09 21:30
MemberS K Y9-Jun-09 21:30 
AnswerRe: WebCamLib Problem Pin
saurabh sahay11-Jun-09 6:47
Membersaurabh sahay11-Jun-09 6:47 
QuestionHow to create the winform with code not by the guide (project-->add-->windows Form) at desgin-time in c#? Pin
mctramp1689-Jun-09 16:39
Membermctramp1689-Jun-09 16:39 
AnswerRe: How to create the winform with code not by the guide (project-->add-->windows Form) at desgin-time in c#? Pin
Christian Graus9-Jun-09 16:45
mveChristian Graus9-Jun-09 16:45 
GeneralRe: How to create the winform with code not by the guide (project-->add-->windows Form) at desgin-time in c#? Pin
mctramp1689-Jun-09 17:32
Membermctramp1689-Jun-09 17:32 

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.