Click here to Skip to main content
15,892,161 members
Home / Discussions / C#
   

C#

 
AnswerRe: How To Add A Flash File To My Project Pin
hdv21214-Feb-06 1:04
hdv21214-Feb-06 1:04 
QuestionVIDEO "ANALYZE" Pin
atntias13-Feb-06 22:30
atntias13-Feb-06 22:30 
QuestionsqlDataReader help Pin
deep713-Feb-06 22:21
deep713-Feb-06 22:21 
AnswerRe: sqlDataReader help Pin
Colin Angus Mackay13-Feb-06 22:44
Colin Angus Mackay13-Feb-06 22:44 
QuestionHelp file 2.0 Pin
peppepinna13-Feb-06 21:33
peppepinna13-Feb-06 21:33 
Questionhow to convert exe file to code with System.Reflection ? Pin
hdv21213-Feb-06 21:30
hdv21213-Feb-06 21:30 
AnswerRe: how to convert exe file to code with System.Reflection ? Pin
leppie13-Feb-06 23:48
leppie13-Feb-06 23:48 
QuestionError : SqlParamet Accepts onlu non null parameter types Pin
Balavardhan13-Feb-06 20:36
Balavardhan13-Feb-06 20:36 
When I Execute this code It giving some Error If There is any worng Plz make a correct and Fw me
Sending Code I declared One Parameter as a Output Param in My Stored Procedure, It is executes well, that checked in SQLSERVER
private void bt_submit_Click(object sender, System.EventArgs e)
{
string intres;
try
{
com.CommandText="proc_login";
com.CommandType=CommandType.StoredProcedure;
com.Connection=con;
if(con.State == ConnectionState.Closed){
con.Open();
}
SqlParameter param=new SqlParameter("@ret_val",SqlDbType.VarChar,5);
param.Direction = ParameterDirection.Output;
com.Parameters.Add("param");
com.Parameters.Add("@ln",txt_lname.Text);
com.Parameters.Add("@pw",txt_lpwd.Text);
com.ExecuteNonQuery();
intres = com.Parameters["@ret_val"].Value.ToString();
if(intres == "nex")
{
MessageBox.Show("record Inserted");
}
else
{
MessageBox.Show("Record Not Inserted");
}
}
catch (System.Exception ex)
{
MessageBox.Show(ex.Message);
}
}

Balu
AnswerRe: Error : SqlParamet Accepts onlu non null parameter types Pin
Colin Angus Mackay13-Feb-06 20:47
Colin Angus Mackay13-Feb-06 20:47 
Questionhow to format datagrid data in to decimal numbers Pin
Mamphekgo13-Feb-06 19:54
Mamphekgo13-Feb-06 19:54 
AnswerRe: how to format datagrid data in to decimal numbers Pin
VMSSanthosh13-Feb-06 22:19
VMSSanthosh13-Feb-06 22:19 
Questionmultiple open of a single file Pin
edel_ong13-Feb-06 19:40
edel_ong13-Feb-06 19:40 
AnswerRe: multiple open of a single file Pin
Colin Angus Mackay13-Feb-06 22:19
Colin Angus Mackay13-Feb-06 22:19 
GeneralRe: multiple open of a single file Pin
edel_ong15-Feb-06 22:24
edel_ong15-Feb-06 22:24 
QuestionInt to Hex Conversion Pin
deepscyberpulse13-Feb-06 19:11
deepscyberpulse13-Feb-06 19:11 
AnswerRe: Int to Hex Conversion Pin
DigitalKing13-Feb-06 21:08
DigitalKing13-Feb-06 21:08 
AnswerRe: Int to Hex Conversion Pin
Jon Sagara14-Feb-06 6:13
Jon Sagara14-Feb-06 6:13 
QuestionImportant Concepts in .NET Pin
engsrini13-Feb-06 18:50
engsrini13-Feb-06 18:50 
AnswerRe: Important Concepts in .NET Pin
SimonS13-Feb-06 22:06
SimonS13-Feb-06 22:06 
QuestionNumericUpDown Pin
Maqsood Ahmed13-Feb-06 18:13
Maqsood Ahmed13-Feb-06 18:13 
AnswerRe: NumericUpDown Pin
fearless stallion13-Feb-06 19:51
fearless stallion13-Feb-06 19:51 
Questionhow to create blank process in c# ? Pin
hdv21213-Feb-06 12:05
hdv21213-Feb-06 12:05 
AnswerRe: how to create blank process in c# ? Pin
Colin Angus Mackay13-Feb-06 13:24
Colin Angus Mackay13-Feb-06 13:24 
GeneralRe: how to create blank process in c# ? Pin
hdv21213-Feb-06 14:18
hdv21213-Feb-06 14:18 
GeneralRe: how to create blank process in c# ? Pin
Colin Angus Mackay13-Feb-06 20:38
Colin Angus Mackay13-Feb-06 20:38 

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.