if u can delete that row from the datatable .. then refresh your datasource
for the datagrid

...

On Tue, Feb 24, 2009 at 11:13 AM, Jeena Ajiesh <[email protected]> wrote:

> Thank You,
> The button is outside the grid, not in that grid.
> Let me check this...
> *Is it possible to delete the rows in table also wen  delete the ows in
> datagrid???*
> *But hw to take only that rows which is deleted in dtagrid?*
>
> On Tue, Feb 24, 2009 at 11:21 AM, Muhammad Arif <[email protected]>wrote:
>
>>
>> ok..
>> check this link
>>
>> http://www.aspnetpro.com/newsletterarticle/2003/03/asp200303wf_l/asp200303wf_l.asp
>>
>> this will help u..
>>
>>
>>
>>
>> On Tue, Feb 24, 2009 at 10:48 AM, Jeena Ajiesh <[email protected]>wrote:
>>
>>> Am displaying a set of rows after i click a button. Wen i click delete
>>> all buton it should delete all the rows
>>>
>>> On Tue, Feb 24, 2009 at 11:15 AM, Muhammad Arif <[email protected]>wrote:
>>>
>>>> when u fill the datagrid so u must have assign some source to it..
>>>> when u want to clear its rows to set the datasource of datagrid to
>>>> null...
>>>>
>>>> what do u mean by take all that rows???
>>>>
>>>>
>>>>
>>>>
>>>> On Tue, Feb 24, 2009 at 10:42 AM, Jeena Ajiesh <[email protected]>wrote:
>>>>
>>>>>  But how to take all that rows???
>>>>> U know, im not a well developer.... [?]
>>>>>
>>>>>   On Tue, Feb 24, 2009 at 11:08 AM, Muhammad Arif <
>>>>> [email protected]> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>> set its datasource to null for C#, or Nothing for vb.net
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Tue, Feb 24, 2009 at 10:36 AM, Jeena Ajiesh <[email protected]>wrote:
>>>>>>
>>>>>>>  Hi all,
>>>>>>> Can anyone help me in giving an idea for deleting all rows in a
>>>>>>> datagrid when clicking a button
>>>>>>> Am doing thisin asp.net, vs 2005
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> Regards
>>>>>>> Jeena
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Muhammad Arif
>>>>>> Software Engineer
>>>>>> +923009347315
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> ****************
>>>>> Regards,
>>>>> ♪♥♫♥Ĵєєήǎ ♫♥♪♥
>>>>> Email: [email protected]
>>>>>          [email protected]
>>>>>          [email protected]
>>>>>
>>>>> Sent from: Dubayy  United Arab Emirates.
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Muhammad Arif
>>>> Software Engineer
>>>> +923009347315
>>>>
>>>
>>>
>>>
>>> --
>>> ****************
>>> Regards,
>>> ♪♥♫♥Ĵєєήǎ ♫♥♪♥
>>> Email: [email protected]
>>>          [email protected]
>>>          [email protected]
>>>
>>> Sent from: Dubayy  United Arab Emirates.
>>>
>>
>>
>>
>> --
>> Muhammad Arif
>> Software Engineer
>> +923009347315
>>
>
>
>
> --
> ****************
> Regards,
> ♪♥♫♥Ĵєєήǎ ♫♥♪♥
> Email: [email protected]
>          [email protected]
>          [email protected]
>
> Sent from: Dubayy  United Arab Emirates.
>



-- 
Muhammad Arif
Software Engineer
+923009347315

<<33D.gif>>

Reply via email to