Hi,
Actually i had written this code in rowbound.
if e.row.rowtype=Datacontrolrowtype.Datarow then
e.row.attributes.add("onclick",page.clientscript.getpostbackeventreference(sender,"select$"
& e.row.rowindex.tostring))
End if

i tried uir code but there is no grid.*selecteditem....* option

What to do.
This textbox is not inside the grid.
And no select button too.



On Tue, Mar 3, 2009 at 12:09 PM, Muhammad Arif <[email protected]> wrote:

>
> 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
>



-- 
****************
Regards,
♪♥♫♥Ĵєєήǎ ♫♥♪♥

Sent from: Dubayy  United Arab Emirates.

Reply via email to