Click here to Skip to main content
15,904,155 members
Home / Discussions / C#
   

C#

 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 2:21
esjq20-Mar-06 2:21 
GeneralRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 2:23
Rmokkenstorm20-Mar-06 2:23 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 2:44
esjq20-Mar-06 2:44 
GeneralRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 2:49
Rmokkenstorm20-Mar-06 2:49 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 3:05
esjq20-Mar-06 3:05 
GeneralRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 3:29
Rmokkenstorm20-Mar-06 3:29 
GeneralRe: Datagrid select row Pin
esjq20-Mar-06 3:45
esjq20-Mar-06 3:45 
QuestionRe: Datagrid select row Pin
Rmokkenstorm20-Mar-06 4:18
Rmokkenstorm20-Mar-06 4:18 
actualy i am a beginner..

<br />
<br />
namespace WindowsApplication30<br />
{<br />
	/// <summary><br />
	/// Summary description for DataForm1.<br />
	/// </summary><br />
	public class DataForm1 : System.Windows.Forms.Form<br />
	{<br />
		private WindowsApplication30.Barry1 objBarry1;<br />
		private System.Windows.Forms.Button btnLoad;<br />
		private System.Windows.Forms.Label lblFIRSTNAME;<br />
		private System.Windows.Forms.Label lblLASTNAME;<br />
		private System.Windows.Forms.Label lblBIRTHDATE;<br />
		private System.Windows.Forms.Label lblRELATIONSHIP;<br />
		private System.Windows.Forms.TextBox editFIRSTNAME;<br />
		private System.Windows.Forms.TextBox editLASTNAME;<br />
		private System.Windows.Forms.TextBox editBIRTHDATE;<br />
		private System.Windows.Forms.TextBox editRELATIONSHIP;<br />
				/// <summary><br />
		/// Required designer variable.<br />
		/// </summary><br />
		private System.ComponentModel.Container components = null;<br />
<br />
		public DataForm1()<br />
		{<br />
			//<br />
			// Required for Windows Form Designer support<br />
			//<br />
			InitializeComponent();<br />
			Form1.CustomRow += new<br />
				WindowsApplication30.CustomRowHandler(customHandler_CustomRow);<br />
<br />
		<br />
		}<br />
<br />
		<br />
		#region Windows Form Designer generated code<br />
				private void InitializeComponent()<br />
		{<br />
			this.objBarry1 = new WindowsApplication30.Barry1();<br />
			this.btnLoad = new System.Windows.Forms.Button();<br />
			this.lblFIRSTNAME = new System.Windows.Forms.Label();<br />
			this.lblLASTNAME = new System.Windows.Forms.Label();<br />
			this.lblBIRTHDATE = new System.Windows.Forms.Label();<br />
			this.lblRELATIONSHIP = new System.Windows.Forms.Label();<br />
			this.editFIRSTNAME = new System.Windows.Forms.TextBox();<br />
			this.editLASTNAME = new System.Windows.Forms.TextBox();<br />
			this.editBIRTHDATE = new System.Windows.Forms.TextBox();<br />
			this.editRELATIONSHIP = new System.Windows.Forms.TextBox();<br />
			((System.ComponentModel.ISupportInitialize)(this.objBarry1)).BeginInit();<br />
			this.SuspendLayout();<br />
			// <br />
			// objBarry1<br />
			// <br />
			this.objBarry1.DataSetName = "Barry1";<br />
			this.objBarry1.Locale = new System.Globalization.CultureInfo("nl-NL");<br />
			<br />
			// lblFIRSTNAME<br />
			// <br />
			this.lblFIRSTNAME.Location = new System.Drawing.Point(10, 43);<br />
			this.lblFIRSTNAME.Name = "lblFIRSTNAME";<br />
			this.lblFIRSTNAME.TabIndex = 1;<br />
			this.lblFIRSTNAME.Text = "FIRSTNAME";<br />
						// editFIRSTNAME<br />
			// <br />
			this.editFIRSTNAME.DataBindings.Add(new System.Windows.Forms.Binding("Text", this.objBarry1, "Barry.FIRSTNAME"));<br />
			this.editFIRSTNAME.Location = new System.Drawing.Point(120, 43);<br />
			this.editFIRSTNAME.Name = "editFIRSTNAME";<br />
			this.editFIRSTNAME.TabIndex = 5;<br />
			this.editFIRSTNAME.Text = "";<br />
			// <br />
<br />
			// DataForm1<br />
			// <br />
			this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);<br />
			this.ClientSize = new System.Drawing.Size(776, 382);<br />
			this.Controls.Add(this.btnLoad);<br />
			this.Controls.Add(this.lblFIRSTNAME);<br />
			this.Controls.Add(this.lblLASTNAME);<br />
			this.Controls.Add(this.lblBIRTHDATE);<br />
			this.Controls.Add(this.lblRELATIONSHIP);<br />
			this.Controls.Add(this.editFIRSTNAME);<br />
			this.Controls.Add(this.editLASTNAME);<br />
			this.Controls.Add(this.editBIRTHDATE);<br />
			this.Controls.Add(this.editRELATIONSHIP);<br />
			this.Name = "DataForm1";<br />
			this.Text = "DataForm1";<br />
			this.Load += new System.EventHandler(this.DataForm1_Load);<br />
			((System.ComponentModel.ISupportInitialize)(this.objBarry1)).EndInit();<br />
			this.ResumeLayout(false);<br />
<br />
		}<br />
		#endregion<br />
<br />
<br />
		public virtual void customHandler_CustomRow(object sender, WindowsApplication30.CustomRowEventArgs e)<br />
		{<br />
			Barry1  DSet = e.DSet;<br />
			DataGrid dataGrid = e.Grid;<br />
			int row = e.Row;<br />
		<br />
			<br />
			editFIRSTNAME.Text = e.DSet.Tables[0].Rows[e.Row]["Firstname"].ToString();<br />
		}<br />
		 private void DataForm1_Load(object sender, System.EventArgs e)<br />
		{<br />
		<br />
		}<br />
	}<br />
}<br />


there was more but it was all the same.. like the 8 textboxes.. think if you know one.. you know them al Poke tongue | ;-P
QuestionPopulating a Datalist only when if Statement is True Pin
Brendan Vogt16-Mar-06 0:54
Brendan Vogt16-Mar-06 0:54 
AnswerRe: Populating a Datalist only when if Statement is True Pin
CWIZO16-Mar-06 2:11
CWIZO16-Mar-06 2:11 
GeneralRe: Populating a Datalist only when if Statement is True Pin
Brendan Vogt16-Mar-06 2:36
Brendan Vogt16-Mar-06 2:36 
GeneralRe: Populating a Datalist only when if Statement is True Pin
CWIZO16-Mar-06 2:42
CWIZO16-Mar-06 2:42 
Questionusb drivers Pin
JacquesDP16-Mar-06 0:49
JacquesDP16-Mar-06 0:49 
AnswerRe: usb drivers Pin
roboter@begemotik.ee16-Mar-06 3:12
roboter@begemotik.ee16-Mar-06 3:12 
QuestionWeb Method order Pin
si_6916-Mar-06 0:42
si_6916-Mar-06 0:42 
AnswerRe: Web Method order Pin
CWIZO16-Mar-06 2:12
CWIZO16-Mar-06 2:12 
QuestionPassing an array of ints to an unmanaged function (as an int pointer) Pin
paul_ainsworth16-Mar-06 0:34
paul_ainsworth16-Mar-06 0:34 
AnswerRe: Passing an array of ints to an unmanaged function (as an int pointer) Pin
Divyang Mithaiwala16-Mar-06 3:27
Divyang Mithaiwala16-Mar-06 3:27 
QuestionSerializing object problem Pin
hpetriffer16-Mar-06 0:24
hpetriffer16-Mar-06 0:24 
AnswerRe: Serializing object problem Pin
Nicholas Butler16-Mar-06 5:26
sitebuilderNicholas Butler16-Mar-06 5:26 
GeneralRe: Serializing object problem Pin
hpetriffer16-Mar-06 18:58
hpetriffer16-Mar-06 18:58 
Questionplease help me... Pin
Ruzimi15-Mar-06 23:49
Ruzimi15-Mar-06 23:49 
AnswerRe: please help me... Pin
J4amieC15-Mar-06 23:52
J4amieC15-Mar-06 23:52 
AnswerRe: please help me... Pin
akyriako7816-Mar-06 0:15
akyriako7816-Mar-06 0:15 
AnswerRe: please help me... Pin
hpetriffer16-Mar-06 0:27
hpetriffer16-Mar-06 0:27 

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.