Click here to Skip to main content
15,900,714 members
Home / Discussions / C#
   

C#

 
Questionconvert grayscale array to Image Pin
aei_totten10-Apr-07 7:17
aei_totten10-Apr-07 7:17 
QuestionMDI application childform maximize Pin
sinosoidal10-Apr-07 6:33
sinosoidal10-Apr-07 6:33 
AnswerRe: MDI application childform maximize Pin
il_masacratore11-Apr-07 21:29
il_masacratore11-Apr-07 21:29 
QuestionString Manipulation Question Pin
JMOdom10-Apr-07 6:20
JMOdom10-Apr-07 6:20 
AnswerRe: String Manipulation Question Pin
Are Jay10-Apr-07 8:47
Are Jay10-Apr-07 8:47 
QuestionC# accessing Excel Pin
shamidi10-Apr-07 5:55
shamidi10-Apr-07 5:55 
AnswerRe: C# accessing Excel Pin
led mike10-Apr-07 7:39
led mike10-Apr-07 7:39 
QuestionFileWatcher Pin
LCI10-Apr-07 5:32
LCI10-Apr-07 5:32 
AnswerRe: FileWatcher Pin
vineas10-Apr-07 5:48
vineas10-Apr-07 5:48 
QuestionUser Control - comments for public properties in form designer Pin
peterchen10-Apr-07 5:13
peterchen10-Apr-07 5:13 
AnswerRe: User Control - comments for public properties in form designer Pin
Martin#10-Apr-07 5:40
Martin#10-Apr-07 5:40 
QuestionListview and remove or disallow duplicates Pin
Saamir10-Apr-07 5:07
Saamir10-Apr-07 5:07 
AnswerRe: Listview and remove or disallow duplicates Pin
Saamir10-Apr-07 6:51
Saamir10-Apr-07 6:51 
QuestionReference type or not Pin
hamidkhan10-Apr-07 4:38
hamidkhan10-Apr-07 4:38 
AnswerRe: Reference type or not Pin
Guffa10-Apr-07 7:08
Guffa10-Apr-07 7:08 
QuestionRe: Reference type or not Pin
hamidkhan10-Apr-07 7:28
hamidkhan10-Apr-07 7:28 
AnswerRe: Reference type or not Pin
Guffa10-Apr-07 8:16
Guffa10-Apr-07 8:16 
QuestionCombobox value Pin
msogun10-Apr-07 4:26
msogun10-Apr-07 4:26 
I am trying to set the global value into into combobox and the value is not showing up in the combobox. Need help. Here is the code.

sql1 = @"SELECT locationNo, cast(locationNo as varchar) + cast(' - ' as varchar) + cast(locationName as varchar) as locationNames FROM Locations WHERE LocationNo = '" + VehicleGlobal.gv_Location + "'";
SqlDataAdapter da1 = new SqlDataAdapter(sql1, conString);
da1.Fill(ds, "Locations");

DataTable dt = ds.Tables["Locations"];
foreach (DataRow row in dt.Rows)
{
VehicleGlobal.gv_LocationName = row["LocationNames"].ToString();
}
this.cboLocation.Text = VehicleGlobal.gv_LocationName
AnswerRe: Combobox value Pin
mark_w_10-Apr-07 5:39
mark_w_10-Apr-07 5:39 
QuestionDataGridView validation Pin
7110-Apr-07 3:56
7110-Apr-07 3:56 
AnswerRe: DataGridView validation Pin
Sathesh Sakthivel10-Apr-07 4:17
Sathesh Sakthivel10-Apr-07 4:17 
AnswerRe: DataGridView validation Pin
sundeeppatil10-Apr-07 11:18
sundeeppatil10-Apr-07 11:18 
QuestionHelp regarding password char in textbox Pin
anu8110-Apr-07 3:56
anu8110-Apr-07 3:56 
AnswerRe: Help regarding password char in textbox Pin
gauthee10-Apr-07 4:05
gauthee10-Apr-07 4:05 
GeneralRe: Help regarding password char in textbox Pin
anu8110-Apr-07 4:14
anu8110-Apr-07 4:14 

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.