Click here to Skip to main content
15,893,663 members
Home / Discussions / C#
   

C#

 
GeneralUser Cannot See Form Objects Pin
PhilDanger11-Apr-08 7:57
PhilDanger11-Apr-08 7:57 
GeneralRe: User Cannot See Form Objects Pin
Big Daddy Farang11-Apr-08 11:21
Big Daddy Farang11-Apr-08 11:21 
GeneralRe: User Cannot See Form Objects Pin
Christian Graus11-Apr-08 13:11
protectorChristian Graus11-Apr-08 13:11 
Generalexcel/C# Pin
tonying11-Apr-08 7:20
tonying11-Apr-08 7:20 
GeneralRe: excel/C# Pin
Judah Gabriel Himango11-Apr-08 7:23
sponsorJudah Gabriel Himango11-Apr-08 7:23 
GeneralRe: excel/C# Pin
parth.p11-Apr-08 7:59
parth.p11-Apr-08 7:59 
GeneralRe: excel/C# Pin
MarkB77711-Apr-08 13:15
MarkB77711-Apr-08 13:15 
GeneralTable Adapter Object Pin
ctrlnick11-Apr-08 7:17
ctrlnick11-Apr-08 7:17 
HI ,
Pubs is my sample data base
I have a problem retrieving the correct value
My SQL Query in the xsd table adapter by the name "ByState" is as follows

select Sum( all sales.qty) as TotSaleQty from sales left join stores on sales.stor_id = stores.stor_id where stores.state = @state

C# Code under button click
protected void btn_State_Click(object sender, EventArgs e)
{
ByStateTableAdapter qtyStateTA = new ByStateTableAdapter();
string stateName = ddl_State.SelectedValue.ToString().Trim();
string qtyState = qtyStateTA.Get_Qty_ByState(stateName).ToString();
txt_State.Text = qtyState;

}

While Debugging The values that is being stored in qtyState is "ByState" and not the actual result which is a number.

Please let me know how to handle it.

Regards.
ctrlnick Smile | :)

Happy Programming!

Regards,
ctrlnick !

QuestionHow to display empty folder in after deployed. Pin
bruze11-Apr-08 6:52
bruze11-Apr-08 6:52 
General[Message Deleted] Pin
bruze11-Apr-08 5:53
bruze11-Apr-08 5:53 
GeneralRe: How to Disply the Empty folder in After Deployed Pin
Abhijit Jana11-Apr-08 6:09
professionalAbhijit Jana11-Apr-08 6:09 
GeneralInteracting with Messenger Pin
rcollina11-Apr-08 4:34
rcollina11-Apr-08 4:34 
GeneralRe: Interacting with Messenger Pin
Luis Alonso Ramos11-Apr-08 11:46
Luis Alonso Ramos11-Apr-08 11:46 
GeneralThread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once [modified] Pin
Waleed Eissa11-Apr-08 3:25
Waleed Eissa11-Apr-08 3:25 
GeneralRe: Thread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once Pin
PIEBALDconsult11-Apr-08 3:40
mvePIEBALDconsult11-Apr-08 3:40 
GeneralRe: Thread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once Pin
N a v a n e e t h11-Apr-08 3:42
N a v a n e e t h11-Apr-08 3:42 
GeneralRe: Thread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once Pin
Judah Gabriel Himango11-Apr-08 4:28
sponsorJudah Gabriel Himango11-Apr-08 4:28 
GeneralRe: Thread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once Pin
N a v a n e e t h11-Apr-08 7:06
N a v a n e e t h11-Apr-08 7:06 
GeneralRe: Thread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once Pin
Judah Gabriel Himango11-Apr-08 7:22
sponsorJudah Gabriel Himango11-Apr-08 7:22 
GeneralRe: Thread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once Pin
Waleed Eissa11-Apr-08 5:10
Waleed Eissa11-Apr-08 5:10 
GeneralRe: Thread Safety Question: How to 'Safely' Change the Values of Multiple Static Variables at Once Pin
Waleed Eissa11-Apr-08 5:00
Waleed Eissa11-Apr-08 5:00 
GeneralCustom C# .NET user control Pin
cloud strife11-Apr-08 3:21
cloud strife11-Apr-08 3:21 
QuestionProblem when passing arrays from c# to matlab Pin
sarjo11-Apr-08 3:08
sarjo11-Apr-08 3:08 
GeneralHelp me Pin
prachi1411-Apr-08 3:00
prachi1411-Apr-08 3:00 
GeneralRe: Help me Pin
carbon_golem11-Apr-08 3:04
carbon_golem11-Apr-08 3:04 

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.