|
pls find this url
http://www.wrox.com/WileyCDA/Section/id-292197.html
Parwej Ahamad
|
|
|
|
|
Hi,
I have a question regarding breadcrumb...
I have 3 pages say page1, page2 and page3.
i have added breadcrumbs on all pages and its working fine but i need to show all the nodes of breadcrumbs in all pages (like this page1>page2>page3) so that i can move forward or backword from the breadcrum e.g. if i'm on page1 then i want to show breadcrum like this page1>page2>page3 and other page2 and 3 will be a link but not page1.
is it possible with asp.net 2.0 sitemappath control? if yes then how
|
|
|
|
|
If you want it to be the same on every page why use the sitemappath control at all? Just put them all in the master page and roll with it. I doubt its an option because sites are rarely linear and you would need a tree to map the site backwards as well as forwards.
|
|
|
|
|
I was wondering if someone could help me out with a Session_End problem in my Global.asax. I've tried everything, and still no success.
Here in local system working fine then romote system giveing problem with session_end.
i mentioned timeout ="4" in web.config file , with InProc Mode.
why session_end don't fire when the session time limit over?
Plz try to post the solution for this.
this is urgent for my requirement.....
regards,
ravi
|
|
|
|
|
When do you think that it would fire, and what is your code doing?
Why I'm asking is that in most cases when this question comes, the person don't know how the even works, or is trying to do something that is not possible at the time when the event does fire.
---
b { font-weight: normal; }
|
|
|
|
|
Hi
Here i am doing delete the record when session_end event fire.
Actually i am doing for logged users. some times may happens users are do not signed out and close the brower without signed out. then we have give the time limit for session. session_end event fires the when session timedout.
This is my actual concept. but here don't fire session_end event when session timedout.
plz help me.
|
|
|
|
|
Hello,
I am alex i am .net programmer in my website i want to encrypt and decrypt my id in asp.net c# ..Can anybody help me to solve this issue...
thanks alex.
|
|
|
|
|
You can take help of this.[^] to get the fair idea of encryption and decryption in asp.net.
Best Regards,
Apurva Kaushal
|
|
|
|
|
how to convert doc file to xml?
Regards,
Mini
|
|
|
|
|
|
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
Hi there,
I'm trying to change a password in Active Directory using C# & ASP.NET, I've tried 2 ways but can't get it working.
Method 1
---------
The conn.SendRequest() method raised a DirectoryOperationException (the server is
unvailable). However the server is available.
try
{
LdapConnection conn = new LdapConnection(serverName);
conn.Bind(new NetworkCredential(userName, currentPassword, domainName));
DirectoryAttributeModification deleteMod = new DirectoryAttributeModification();
deleteMod.Name = "unicodePwd";
deleteMod.Add(GetPasswordData(currentPassword)); //encrypt
deleteMod.Operation = DirectoryAttributeOperation.Delete;
DirectoryAttributeModification addMod = new DirectoryAttributeModification();
addMod.Name = "unicodePwd";
addMod.Add(GetPasswordData(newPassword));
addMod.Operation = DirectoryAttributeOperation.Add;
ModifyRequest request = new ModifyRequest(userName, deleteMod, addMod);
DirectoryResponse response = conn.SendRequest(request);
conn.Dispose();
}
catch
{
throw;
}
Method 2
--------
de.Invoke raises a DirectoryServicesCOMException (an invalid dn syntax has been specified)
string strADSIPath = @"LDAP://CN=username,DC=companyname,DC=net,DC=au";
DirectoryEntry de = new DirectoryEntry(strADSIPath);
try
{
de.Invoke("ChangePassword", new object[] { currentPassword, newPassword });
de.CommitChanges();
}
catch
{
throw;
}
de.Close();
I can't work it out, any help would be greatly appreciated,
Cheers,
Ron.
|
|
|
|
|
I need to add a "news headlines" (perheps CNN news headlines) section in my project, any ideas or suggestions? Thanks.
|
|
|
|
|
talk to cnn if they are providing any webservice for it or not.
regards
sAqIb
"Our scientific power has outrun our spiritual power. We have guided missiles and misguided men."
Dr. Martin Luther King Jr.
|
|
|
|
|
This may help you:
http://www.codeproject.com/aspnet/GridView_RSS.asp
|
|
|
|
|
Hi All,
Want to know abt Adobe Flex 2 to avoid Postback in .net C# instead of Ajax.
not able to find any help/code snippet for the same.
Would appreciate if anyone could help...
Regards,
Yogesh J.
|
|
|
|
|
|
Have you checked Adobe's site?
|
|
|
|
|
iam having table in sqlserver2000
rating fac_name fac_id
4 zzzz 1
5 ffff 2
4 yyyy 3
select avg(rating) from table
iam getting avg as 4 but i need to get 4.3
iam using c# in asp.net
suggestions would be highly appreciated
with regards
ravi
|
|
|
|
|
Hi Ravi
you rating data base field is int Type so this query give this problem
if do you want to get proper result like 4.30 format you have to change your data type of rating field <big>int to numeric</big> then you will get proper result.
you can use this query.
SELECT Round(AVG(rating),2)FROM table
Cheer
Pavan Pareta
|
|
|
|
|
You get the same data type as the type of the field that you are using the aggregate on. Cast the value to float before you use it:
select avg(cast(rating as float)) from table
---
b { font-weight: normal; }
|
|
|
|
|
hi,
i have to sort the products stored in the database depending on the selection in dropdownlist for ex.Price high to low ,low to high etc.
In this case, how should i identify which type of selection is done by user
i.e. which item is selected by user & On which event i have to write sorting code. Is it DrDwn_SelectedIndexChangedEvent()?
yog
hui gfgh kgdgrt njjn hjgkn
|
|
|
|
|
Hi yogita.
yes , you can do it on dd_selectedIndexChaged events and u have to keep autopostback = true.
Now, when user select item then u can get value of that item and u can change ur query string by this value. it will be easy if ur dropwdown items r fix.
Imran
|
|
|
|
|
Hai,
sorry i forgot to ask one more doubt. Foe my project i am using the MS Access database initially and now planning to change to Sql Express 2005 free version . I am shifting MS Access database as it cant handle more users at a time. So i want to know whether the user capacity for the Sql Express is enough to handle the traffic? Please give me your valuable suggestions.
Thank you,
veerendra
|
|
|
|
|
veerugadde wrote: I am shifting MS Access database as it cant handle more users at a time.
More users than what?
veerugadde wrote: So i want to know whether the user capacity for the Sql Express is enough to handle the traffic?
How much traffic?
---
b { font-weight: normal; }
|
|
|
|