karthik_balus
March 18th, 2006, 01:53 AM
I have a query... I have connected back end.... I have placed datagrid for a table.... But i need to select a particular dta from that datagrid control and want to print that in a text box...
Consider a table in back end which has the table name party_master.. its fields are 'party_id' and 'party_name'....
Insert 4 values inside the table....
And develop a datagrid control...
Add a button control and a text control....
When we press the button control the datagrid should be displayed... When we select a particular data from party_id in datagrid it should be placed in textbox control as a text...
I have tried a lot with this coding inside the datagrid control...
TextBox1.Text=DataGrid1.SelectedItem.Text...
But .TExt is not appearing.... Please help out in this....
I need to complete this within today...
Consider a table in back end which has the table name party_master.. its fields are 'party_id' and 'party_name'....
Insert 4 values inside the table....
And develop a datagrid control...
Add a button control and a text control....
When we press the button control the datagrid should be displayed... When we select a particular data from party_id in datagrid it should be placed in textbox control as a text...
I have tried a lot with this coding inside the datagrid control...
TextBox1.Text=DataGrid1.SelectedItem.Text...
But .TExt is not appearing.... Please help out in this....
I need to complete this within today...