make sure that there is a select button the datagrid
then on Select_DataGrid Event write this code

myTextBox.Text=myDataGrid.SelectedItem.Cells[0].Text;
and so on

see 4 more help

http://www.codersource.net/asp_net_datagrid_part1_azam.html


On Tue, Mar 3, 2009 at 11:31 AM, Jeena Ajiesh <[email protected]> wrote:

> Web application.
> Doing in vs 2005
>
> On Tue, Mar 3, 2009 at 11:58 AM, Muhammad Arif <[email protected]>wrote:
>
>>
>> you want this is web r desktop application..
>>
>>
>>
>> On Tue, Mar 3, 2009 at 11:21 AM, Jeena Ajiesh <[email protected]> wrote:
>>
>>>  Hi all,
>>> I have a grid, in which im poputaing from database.
>>> Now the problem is i need the column values inthe corresponding textbox
>>> wen i click the grid.
>>> i tried a lot... but no result....
>>>
>>>  Can anyone give me an idea to get it?
>>>
>>>
>>> --
>>> ****************
>>> Regards,
>>> ♪♥♫♥Ĵєєήǎ ♫♥♪♥
>>>
>>>
>>
>>
>> --
>> Muhammad Arif
>> Software Engineer
>> +923009347315
>>
>
>
>
> --
> ****************
> Regards,
> ♪♥♫♥Ĵєєήǎ ♫♥♪♥
>
> Sent from: Dubayy  United Arab Emirates.
>



-- 
Muhammad Arif
Software Engineer
+923009347315

Reply via email to