|
You need to handle the event and do deletion from DB, rebind datagrid again.
|
|
|
|
|
If you had coded correct then there may be missing the handle on that event.
|
|
|
|
|
if in datagrid button id="btndel" and commandname="btndelete"
then
on datagrid's itemcommand write this code.
// code.
if e.commandname="btndelete"
dim btn as button
btn=e.item.findcontrol("btndel")
if not btn is nothing then
''write delete query here.
end if
''refresh datagrid.
end if
Vivek Kushwaha
|
|
|
|
|
Hi,
I am using datalist. In that I am displaying category name. linkbutton is used.
When I click on that LinkButton I want to pass id of that category.
How can I bind the id and name to same linkbutton.
or is there any other solution?
Thanks
|
|
|
|
|
Can you make use of CommandArgument ?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Two ways,
1 - Handle the databound event, find link button control and assign the URL from there.
2 - link button will have a FormatURL property, use that and format your url. Supply data using DataBinder.Eval(Container,"DataItem.Column")
|
|
|
|
|
Dear All
i developed a website asp.net 2.0 with localization.
localization functionality is working fine with IE and Opera but it is not working with browsers like mozilla and netscape
what may be the reason ???
waiting for your reply
Rgds
anee
|
|
|
|
|
Any specific observations?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Thanks for your reply
No Specific observations
when we click the language buttons after a postback language is changing (in IE and Opera) but in mozilla and netscape (after postback) nothing is happening
rgds
anee
|
|
|
|
|
I heard some versions of mozilla has some issues on displaying UTF characters. Check with mozilla forums.
|
|
|
|
|
Change the language preferences in Firefox and then try to see the results.
|
|
|
|
|
how to access virtual directory to another server using by code
|
|
|
|
|
System.DirectoryServices ?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Vasudevan Deepak Kumar wrote: System.DirectoryServices?
I am not sure about it can access virtual directories of another service.
|
|
|
|
|
With Permissions?
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
|
I have 30 server. i am making web pages search engine. i have ip address all 30 server. i have not user name and password all server. how access website all server. help me.
|
|
|
|
|
Rinki Mukheraji wrote: i have not user name and password all server.
Your helpdesk administrator should help you with this concern.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Don't you know the URLs of these websites ?
|
|
|
|
|
yes i know, but i want to access all server at time
|
|
|
|
|
Rinki Mukheraji wrote: all server at time
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
A pessimist sees only the dark side of the clouds, and mopes; a philosopher sees both sides, and shrugs; an optimist doesn't see the clouds at all - he's walking on them. --Leonard Louis Levinson
|
|
|
|
|
Surely if you had access to these servers you would have the username and password??
|
|
|
|
|
Hi, I am vitz.
Is it possible to querry data from *.aspx database using MS excel (version 2003)?
if it needs a driver, what is it?
i appreciate even simple help..
thanks in advance..
|
|
|
|
|
|
innocent_mind wrote: *.aspx database
There is no such thing. An aspx is a web page, not a database.
Christian Graus
Please read this if you don't understand the answer I've given you
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|