Click here to Skip to main content
15,905,144 members
Home / Discussions / C#
   

C#

 
GeneralRe: Saving objects with Cross-reference Pin
Eddy Vluggen11-May-13 22:08
professionalEddy Vluggen11-May-13 22:08 
GeneralRe: Saving objects with Cross-reference Pin
larsp77711-May-13 22:18
larsp77711-May-13 22:18 
GeneralRe: Saving objects with Cross-reference Pin
Eddy Vluggen11-May-13 22:36
professionalEddy Vluggen11-May-13 22:36 
GeneralRe: Saving objects with Cross-reference Pin
larsp77711-May-13 22:59
larsp77711-May-13 22:59 
GeneralRe: Saving objects with Cross-reference Pin
Eddy Vluggen11-May-13 23:17
professionalEddy Vluggen11-May-13 23:17 
GeneralRe: Saving objects with Cross-reference Pin
larsp77711-May-13 23:21
larsp77711-May-13 23:21 
QuestionRe: Saving objects with Cross-reference Pin
Eddy Vluggen12-May-13 1:10
professionalEddy Vluggen12-May-13 1:10 
AnswerRe: Saving objects with Cross-reference Pin
larsp77712-May-13 2:09
larsp77712-May-13 2:09 
AnswerRe: Saving objects with Cross-reference Pin
Eddy Vluggen13-May-13 0:32
professionalEddy Vluggen13-May-13 0:32 
GeneralRe: Saving objects with Cross-reference Pin
larsp77713-May-13 0:34
larsp77713-May-13 0:34 
GeneralRe: Saving objects with Cross-reference Pin
Eddy Vluggen13-May-13 5:08
professionalEddy Vluggen13-May-13 5:08 
AnswerRe: Saving objects with Cross-reference Pin
Anna King8-May-13 3:24
professionalAnna King8-May-13 3:24 
GeneralRe: Saving objects with Cross-reference Pin
larsp7778-May-13 4:21
larsp7778-May-13 4:21 
Questionclosing and opening balance Pin
Er.Praveen Sharma6-May-13 21:38
Er.Praveen Sharma6-May-13 21:38 
AnswerRe: closing and opening balance Pin
Richard MacCutchan6-May-13 22:05
mveRichard MacCutchan6-May-13 22:05 
GeneralRe: closing and opening balance Pin
Er.Praveen Sharma6-May-13 23:48
Er.Praveen Sharma6-May-13 23:48 
AnswerRe: closing and opening balance Pin
Keith Barrow6-May-13 23:12
professionalKeith Barrow6-May-13 23:12 
GeneralRe: closing and opening balance Pin
Er.Praveen Sharma7-May-13 1:28
Er.Praveen Sharma7-May-13 1:28 
protected void Drp_Breed_SelectedIndexChanged(object sender, EventArgs e)
{
TextBox47.Text = Drp_Breed.SelectedItem.Text;
//Drp_Breed.Items.Insert(0, "----------");

{

general objGen = new general();
DataSet ds2 = new DataSet();

string q2 = "select distinct cl_bal_young_m,cl_bal_young_f,cl_bal_adult_m,cl_bal_adult_f from AHD_09 where District='" + Drp_District.SelectedItem.Text + "' and SDVH_VPC='" + Drp_VH.SelectedItem.Text + "' and VH_CVD_Others='" + Drp_CVD.SelectedItem.Text + "'and VD='" + Drp_VD.SelectedItem.Text + "' and Other_Institution='" + Drp_Other.SelectedItem.Text + "' and name_breed='" + Drp_Breed.SelectedItem.Text + "' and name_breed='" + TextBox47.Text + "' and Date='" + DateTime.Now.AddMonths(0).Date.ToString() + "'";
SqlCommand cmd = new SqlCommand(q2, conn);
ds2 = objGen.que_exe(q2);
////District='" + Drp_District.SelectedItem.Text + "'and
conn.Open();

if (ds2.Tables[0].Rows.Count > 0)
{

TextBox1.Text = ds2.Tables[0].Rows[0]["cl_bal_young_m"].ToString();
TextBox2.Text = ds2.Tables[0].Rows[0]["cl_bal_young_f"].ToString();
TextBox3.Text = ds2.Tables[0].Rows[0]["cl_bal_adult_m"].ToString();
TextBox4.Text = ds2.Tables[0].Rows[0]["cl_bal_adult_f"].ToString();
}

conn.Close();
GeneralRe: closing and opening balance Pin
Keith Barrow7-May-13 1:49
professionalKeith Barrow7-May-13 1:49 
AnswerRe: closing and opening balance Pin
Simon_Whale6-May-13 23:52
Simon_Whale6-May-13 23:52 
GeneralRe: closing and opening balance Pin
Er.Praveen Sharma7-May-13 1:27
Er.Praveen Sharma7-May-13 1:27 
GeneralRe: closing and opening balance Pin
Simon_Whale7-May-13 3:08
Simon_Whale7-May-13 3:08 
QuestionWPF & MVVM Tutorials for Beginners Pin
Pradip P Patel6-May-13 20:52
Pradip P Patel6-May-13 20:52 
AnswerRe: WPF & MVVM Tutorials for Beginners Pin
Richard MacCutchan6-May-13 21:14
mveRichard MacCutchan6-May-13 21:14 
GeneralRe: WPF & MVVM Tutorials for Beginners Pin
Pradip P Patel6-May-13 23:52
Pradip P Patel6-May-13 23:52 

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.