It seems you are just throwing things together at this point with very little understanding of ASP.NET and hoping that it works.
I would suggest you step back, take some time to understand ASP.NET and in particular maintaining state for controls or values within a page, then come back to the problem at hand after you have the knowledge.
Could u pls tell me How do we find out During Month transactions took place in our Database. i want to find out only updated rows in current month from my database. multiple users r updating their data by ASP.Net pages. could u pls tell me how can i...
The content page on my website is loaded thru an xml.
Now I want to change the text box as a label evrytime there is a value returned from database otherwise a textbox. Currently it always returns a text box as below.
- <element type="cdu:CDUText" binding="Shares/IndividualShare[i]/FirstName" id="CDUText_FirstIndv" width="Narrow">
<validator type="cdu:CDURequiredValidator" id="CDURequiredValidator_FirstIndv" message="First Name is required" />
I have a need to send out emails to all the people who are in a given group say "HR Department". I need to be able to get all the emails through a for loop and then as it retrieves I should send emails to them. Can some one please help me with the code how to get the emails out of AD.
this is what I came up with but not sure how to go about writing a for loop to get all the emails in the given group. I am having difficulty to send both the loginName and the group that I am interested in to the AD in the search.Filter.
public static string SendEmails(string loginName)