|
I am working on online estate management and i want the code for online transaction throuth which the transactions performs
|
|
|
|
|
AshishRasekar wrote: and i want the code
I think you are looking for this[^]
|
|
|
|
|
AshishRasekar wrote: I am working on online estate management and i want the code for online transaction throuth which the transactions performs
So, you are expection some one else will do the job for you ? No it will not happen here. No body will going to help you if you asking this type of questions, Please come with some specific problem.
|
|
|
|
|
So, you'd take random code off the web, and entrust it with your client's secure transations ? See, this is the sort of thing I show people who ask me why outsourcing is bad.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
The person who asked this question might be wrong.
And he also didn't mention that his requirment is related to outsourced project.
Why do you hurt the people working on outsourced project?
|
|
|
|
|
dotnet buddy wrote: And he also didn't mention that his requirment is related to outsourced project.
Well, welcome to the land of the bleeding obvious. Sorry.
dotnet buddy wrote: Why do you hurt the people working on outsourced project?
I don't want to hurt anyone. People who are taking work they can't do, and charging $3 an hour for it, are hurting me, and the credibility of my industry. Then they come here and ask me to do their work for them.
Christian Graus
Driven to the arms of OSX by Vista.
"! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.
I can do things with my brain that I can't even google. I can flex the front part of my brain instantly anytime I want. It can be exhausting and it even causes me vision problems for some reason. - CaptainSeeSharp
|
|
|
|
|
Hi,
I have an iframe inside the updatepanel in my asp.net 2005 application.I want to refresh the update panel without refresh the iframe.whether it is possible ?
Please answer this question as soon as possible.because iam in very critical situation.
Thank You,
Regards,
PandiaRajan.S
|
|
|
|
|
atgpandiarajan wrote: Please answer this question as soon as possible.because iam in very critical situation.
That is very rude. People here answer questions on their own time, not yours. Just because you've gotten yourself into a bind, most likely by promising something you can't deliver, doesn't mean that we should all jump to your request.
only two letters away from being an asset
|
|
|
|
|
hehe
Failure to plan on your part does not constitute an emergency on my part
|
|
|
|
|
atgpandiarajan wrote: I have an iframe inside the updatepanel in my asp.net 2005 application.I want to refresh the update panel without refresh the iframe.whether it is possible ?
atgpandiarajan wrote: Please answer this question as soon as possible.because iam in very critical situation
|
|
|
|
|
Hi,
How to round a decimal value to its next number.
eg:
My value is 1.0154, i want to round to 2
Thankyou
|
|
|
|
|
|
perfect
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hi, It is very simple.
Use
Response.Write(Math.Ceiling(1.01));
|
|
|
|
|
I want to display in a label the no of checkboxes checked in a gridview, can u please tell me how??
|
|
|
|
|
Where you want to display labels ?
|
|
|
|
|
I want to dispaly in the same page,
thatis take a label along with the gridview containing checkboxes, as i am clickign the checnkboxes the label should increment
|
|
|
|
|
Ok got it, follow the below steps
- When you are binding grid access the each rows and find the Check Box control then add onclick event (Javascript Onclick) call a javascript method
- Then in JavaScript metod access the label and increment/decrement according the check and uncheck
|
|
|
|
|
Can you please provide me with the code
|
|
|
|
|
Hi,
I have defined a combo box in an aspx page in which values are dynamically filled from database. I wrote an event on this combo box to update a label control on the same page.
Whenever the user choose an item in the combo box, the event written for updating another label control is working properly, but after that the first item in the combo box is selected. I guess that it is due to re-binding of combo box after this event. Is there a way to avoid this? Pls help.
Combo Event and its related code:
protected void Page_Load(object sender, EventArgs e)
{
BindControls();
}
#region Data Binding Procedures
private void BindControls()
{
this.BindDistributor();
this.BindModuleName();
this.DataBind();
}
private void BindDistributor()
{
this.BindDistributorID();
this.BindDistributorName();
}
private void BindDistributorID()
{
SqlConnection SqlConn = DataAccess.OpenConnection();
DataSet dsDistributor;
if (chkShowAllDistributors.Checked)
{
SqlParameter SqlParam = new SqlParameter("ShowAll", 'Y');
dsDistributor = DataAccess.GetDataSet(SqlConn, CommandType.StoredProcedure,
SPs.GetDistributorName, new SqlParameter[] { SqlParam });
}
else
{
dsDistributor = DataAccess.GetDataSet(SqlConn, CommandType.StoredProcedure, "GetDistributorName");
}
if (dsDistributor.Tables.Count > 0)
{
this.ddlDistributor.DataSource = dsDistributor.Tables[0];
this.ddlDistributor.DataValueField = Colums.DistributorID;
this.ddlDistributor.DataTextField = Colums.DistributorShortName;
}
}
private void BindDistributorName()
{
DataView dvDistributor = ((DataTable)ddlDistributor.DataSource).Copy().DefaultView;
if (this.ddlDistributor.SelectedIndex != -1)
{
dvDistributor.RowFilter = Colums.DistributorID + "='" + ddlDistributor.SelectedValue.ToString() + "'";
if (dvDistributor.Count > 0)
{
this.lblDistributorName.Text = dvDistributor[0][Colums.DistributorID]
+ " - " + dvDistributor[0][Colums.DistributorName];
}
}
}
#endregion
protected void chkShowAllDistributors_CheckedChanged(object sender, EventArgs e)
{
this.BindDistributor();
}
|
|
|
|
|
Can you check with isPostback property in page load event like:
protected void Page_Load(object sender, EventArgs e)
{
If( ! IsPostBack)
BindControls();
}
|
|
|
|
|
Thanks Parwej. It worked.
|
|
|
|
|
|
Hi,
Instead of loading the frame from the Server, you should do this via the client.
This will not submit your treeview frame and your sideframe will get loaded.
Manas Bhardwaj
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
Hello,
I followed step by step the article "Role-based Security with Forms Authentication" written By Heath Stewart, posted on 17 Sep 2002 (http://www.codeproject.com/KB/web-security/formsroleauth.aspx) but I encounted a pb (cf. comment in code):
protected void LoginButton_Click(object sender, EventArgs e)
{
FormsAuthentication.Initialize();
string adPath = "LDAP://Media.local/DC=Media,DC=local";
Identification adAuth = new Identification(adPath);
try
{
if (true ==adAuth.IsAuthenticated("Media\\",Login1.UserName.ToString(),Login1.Password.ToString()))
{
string groups = adAuth.GetGroups();
//I typed in login field AdminAchat (without domain\\)
//The break point shows that adAuth._path = "LDAP://Media.local/CN=AdminAchat,OU=autres
//comptes,OU=Utilisateurs,OU=Paris,OU=Media,DC=Media,DC=local"
//-->Go Directly to Catch, see break point in GetGroup method below
//...
//...
}
}
catch(Exception ex)
{
lErreur.Text = "Error authenticating. " + ex.Message;
}
}
public string GetGroups()
{
DirectorySearcher search = new DirectorySearcher(_path);
search.Filter = "(cn=" + _filterAttribute + ")";
search.PropertiesToLoad.Add("memberOf");
StringBuilder groupNames = new StringBuilder();
try
{
SearchResult result = search.FindOne();
//-->Go directly to catch. WHY???
//...
}
catch(Exception ex)
{
throw new Exception("Error obtaining group names. " + ex.Message);
}
return groupNames.ToString();
}
here's my web.config:
<xml version="1.0" ?="">
<configuration>
<connectionstrings>
<add name="ADMedia" connectionstring="LDAP://Media">
<system.web>
<authentication mode="Forms">
<forms loginurl="login.aspx" path="/" requiressl="false"
="" cookieless="UseDeviceProfile" enablecrossappredirects="false" protection="All" domain="http://Media" name=".ASPXFORMSAUTH">
<membership defaultprovider="AspNetActiveDirectoryMembershipProvider">
<providers>
<remove name="AspNetActiveDirectoryMembershipProvider">
<add connectionstringname="ADMedia" connectionusername="media\AdminAchat" connectionpassword="****" name="AspNetActiveDirectoryMembershipProvider" type="System.Web.Security.ActiveDirectoryMembershipProvider,System.Web,version=2.0.0.0,Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a">
<rolemanager enabled="true">
<anonymousidentification enabled="true">
N.B. the Active Directory is a Outlook base found in a server that i'm not admin (i have no right to add, modify, delete) & linked to my pc via intranet.
Can you tell me why I get this error please? Thanks
|
|
|
|