Click here to Skip to main content
15,887,376 members
Home / Discussions / C#
   

C#

 
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 
GeneralRe: WPF & MVVM Tutorials for Beginners Pin
Richard MacCutchan7-May-13 0:04
mveRichard MacCutchan7-May-13 0:04 
GeneralRe: WPF & MVVM Tutorials for Beginners Pin
Pradip P Patel7-May-13 1:40
Pradip P Patel7-May-13 1:40 
GeneralUnicode Characters A--Z Pin
N8tiv6-May-13 19:44
N8tiv6-May-13 19:44 
GeneralRe: Unicode Characters A--Z Pin
Richard MacCutchan6-May-13 20:51
mveRichard MacCutchan6-May-13 20:51 
GeneralRe: Unicode Characters A--Z Pin
N8tiv6-May-13 21:00
N8tiv6-May-13 21:00 
GeneralRe: Unicode Characters A--Z Pin
Richard MacCutchan6-May-13 21:26
mveRichard MacCutchan6-May-13 21:26 
GeneralRe: Unicode Characters A--Z Pin
N8tiv6-May-13 21:38
N8tiv6-May-13 21:38 
GeneralRe: Unicode Characters A--Z Pin
Richard MacCutchan6-May-13 22:04
mveRichard MacCutchan6-May-13 22:04 
GeneralRe: Unicode Characters A--Z Pin
N8tiv6-May-13 22:21
N8tiv6-May-13 22:21 
GeneralRe: Unicode Characters A--Z Pin
Richard MacCutchan6-May-13 22:28
mveRichard MacCutchan6-May-13 22:28 

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.