Click here to Skip to main content
15,894,720 members
Home / Discussions / C#
   

C#

 
AnswerRe: OOB design - class fields Pin
Nish Nishant16-Oct-10 6:27
sitebuilderNish Nishant16-Oct-10 6:27 
AnswerRe: OOB design - class fields Pin
Paul Michalik17-Oct-10 0:45
Paul Michalik17-Oct-10 0:45 
QuestionRead the 'raw' FileVersion and ProductVersion values from a file's version resource. Pin
Blake Miller15-Oct-10 13:02
Blake Miller15-Oct-10 13:02 
QuestionApplication Settings "Save Location" Pin
I Believe In GOD15-Oct-10 10:30
I Believe In GOD15-Oct-10 10:30 
AnswerRe: Application Settings "Save Location" Pin
Ian Shlasko15-Oct-10 10:34
Ian Shlasko15-Oct-10 10:34 
GeneralRe: Application Settings "Save Location" Pin
I Believe In GOD15-Oct-10 10:46
I Believe In GOD15-Oct-10 10:46 
GeneralRe: Application Settings "Save Location" Pin
AspDotNetDev15-Oct-10 12:29
protectorAspDotNetDev15-Oct-10 12:29 
QuestionHow to create a user control with parameters as tags Pin
kuul1315-Oct-10 10:17
kuul1315-Oct-10 10:17 
AnswerRe: How to create a user control with parameters as tags Pin
Not Active15-Oct-10 11:47
mentorNot Active15-Oct-10 11:47 
QuestionAsp.net Website Pin
MKC00215-Oct-10 2:59
MKC00215-Oct-10 2:59 
AnswerRe: Asp.net Website Pin
OriginalGriff15-Oct-10 3:05
mveOriginalGriff15-Oct-10 3:05 
AnswerRe: Asp.net Website [modified] Pin
Abhinav S15-Oct-10 3:22
Abhinav S15-Oct-10 3:22 
GeneralRe: Asp.net Website Pin
J4amieC15-Oct-10 4:42
J4amieC15-Oct-10 4:42 
AnswerRe: Asp.net Website Pin
Yusuf15-Oct-10 4:47
Yusuf15-Oct-10 4:47 
GeneralRe: Asp.net Website Pin
Abhinav S15-Oct-10 5:12
Abhinav S15-Oct-10 5:12 
GeneralRe: Asp.net Website Pin
MKC00216-Oct-10 3:16
MKC00216-Oct-10 3:16 
GeneralRe: Asp.net Website Pin
Dave Kreskowiak16-Oct-10 7:11
mveDave Kreskowiak16-Oct-10 7:11 
AnswerRe: Asp.net Website Pin
Yusuf15-Oct-10 4:50
Yusuf15-Oct-10 4:50 
GeneralRe: Asp.net Website Pin
MKC00216-Oct-10 3:13
MKC00216-Oct-10 3:13 
QuestionCommunication program with the lan to devices (for example plc) Pin
mory_26015-Oct-10 2:47
mory_26015-Oct-10 2:47 
AnswerRe: Communication program with the lan to devices (for example plc) Pin
Sauro Viti15-Oct-10 2:59
professionalSauro Viti15-Oct-10 2:59 
Questiontextbox change event Pin
Erdinc2715-Oct-10 2:07
Erdinc2715-Oct-10 2:07 
hey friends..i display only one column in my datagrid and i want to make a search in it and i want to make that search by using stored procedure and i wrote a procedure for it..like below
ALTER procedure sp_SearchFirm
(
@aranan_firma nvarchar(50)
)
as
Begin
Select firma_adi From Firmalar Where firma_adi=@aranan_firma
End

and i have a DataAccessLayer class..in that class i wrote a method to work with that proc.like below
public DataSet SearchFirms(string aranan_firma)
{
try
{
cmd = new SqlCommand("sp_SearchFirm", con);
cmd.CommandType = System.Data.CommandType.StoredProcedure;
cmd.Parameters.Add("@aranan_firma", System.Data.SqlDbType.NVarChar).Value = aranan_firma;
con.Open();


}
catch (Exception ex)
{
MessageBox.Show(ex.Message);
}
finally
{
con.Close();
}
}
i try to return a DataSet to make it as source of datagrid i have in my main form..as u see i cant complete the method but the problem is that i didnt work with multilayer programming before and i cant find the right logic to make that search event and i dont know if i am on the right way or should i change my method i dont know.i will be pleased with any of your suggestion and idea..
AnswerRe: textbox change event Pin
Not Active15-Oct-10 2:15
mentorNot Active15-Oct-10 2:15 
GeneralRe: textbox change event Pin
Erdinc2715-Oct-10 2:28
Erdinc2715-Oct-10 2:28 
GeneralRe: textbox change event Pin
Not Active15-Oct-10 2:32
mentorNot Active15-Oct-10 2: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.