|
You haven't told us what login mechanism you are using.
|
|
|
|
|
Hi,
In my project I used Wizard control,in tht i heve 3 steps
1)EmpPersonal
2) EmpEducation
3) EmpSalary(setup type=finish)
I created 3 diff tables for 3 diff above steps
in EmpPersonal step EmpID automatically gnerate , i set the property in sqlserver IdentityIndex=true,auto icement by 1.
Iam not given the Empid from the design part.It is automaticlly incremented.
when i click finish button all the field values of 3 steps stored in database table.
bt in EmpEducation and Empsalary tables contains EmpId.
wht i want to is when i fill the EmpPersonal page ,when i click next button in wizradcontrol ,how i can get the default generated empid from empPersonal page and tht Empid display in a label in the EmpEducation page ans alsoEmpSalary page before click the next page.
plse give the solution as early as possible.
|
|
|
|
|
i have two button on page on save button causevalidation is true
and on refresh causevalidation is false first i press save
requiredfield validator gets active and my reuirement is on refresh is must disappear.
how is it possible please guide.
umerumerumer
|
|
|
|
|
Please clear the validationsummary control on refresh
Regards,
Rajdev KR
|
|
|
|
|
hello,
can any one help me in writing code to update web.config when installing web application.
need to update when installation wizard is running .. (datasourse, userid,password)...
|
|
|
|
|
What do you mean saying Update webconfig. Explain in detail what do you want to achieve and what are your Challenges
Vuyiswa Maseko,
Few companies that installed computers to reduce the employment of clerks have realized their expectations.... They now need more and more expensive clerks even though they call them "Developers" or "Programmers."
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.tiyaneProperties.co.za
vuyiswam@its.co.za
|
|
|
|
|
i am using following code but its not working
Protected override void OnAfterInstall(IDictionary savedState)
{
//base.OnAfterInstall(savedState);
string server = this.Context.Parameters["DATASOURCE"];
MessageBox.Show(server);
string userId = this.Context.Parameters["USERID"];
MessageBox.Show(userId);
string password = this.Context.Parameters["PASSWORD"];
MessageBox.Show(password);
//string newConnectionString = "User Id=" + userId + ";Password= " + password + ";Data Source =" + server + ";";
string newConnectionString = "Provider=SQLOLEDB.1;User Id=" + userId + ";Password=" + password + ";Data Source=" + server + ";";
string xmlConfigFile = "";
xmlConfigFile = Context.Parameters["INSTALLDIR"] + "web.config";
UpdateConfigFile(xmlConfigFile, newConnectionString, "wfMasterConStr");
MessageBox.Show("Updated");
}
|
|
|
|
|
rajkumar.3 wrote: string newConnectionString = "Provider=SQLOLEDB.1;User Id=" + userId + ";Password=" + password + ";Data Source=" + server + ";";
Just one suggestion Raj kumar, If this is your final/ production code, Please be aware of SQL Injection
BTW : "Re: dont be smart Vuyiswa Maseko" what was the reason to write this subject and why did you change that ?.
|
|
|
|
|
|
rajkumar.3 wrote: i already wrote this piece of code but its not working. every thing cant be explain to u better u can concentrate on ur own business
Don't be rude. If this is your attitude, I am sure you are not going to get any replies.
Good luck!
|
|
|
|
|
yeah i am sorry i was bit confused with that persons signature .. there is a link in his signature ...
in fact i am bit hurry in finishing this task ..
|
|
|
|
|
lol so you thought my Signature was referring to you ?
Vuyiswa Maseko,
Spoted in Daniweb-- Sorry to rant. I hate websites. They are just wierd. They don't behave like normal code.
C#/VB.NET/ASP.NET/SQL7/2000/2005/2008
http://www.vuyiswamaseko.com
vuyiswa@its.co.za
http://www.itsabacus.co.za/itsabacus/
|
|
|
|
|
This can be done by WebConfigurationManager Class . WAT also using the same class for its operation .
Here[^] is some example. I believe you can now go ahead !!
|
|
|
|
|
i need to update the connection string when istallation wizard is running by taking the data source name , userid and pwd ... .. .. its like before installation event or after installation event ...how to use these events ?
|
|
|
|
|
abhijit can i have ur email so that i can send u my sample application if r intrusted in solving this ...
|
|
|
|
|
it is given in my profile.
|
|
|
|
|
when you will create web setup project , you can have option of creation UI. on that time take the connection string , userid and password and set that as I say earlier.
|
|
|
|
|
|
Satish - Developer wrote: Line 12: using Common;
What is common? is this any dll.have you added it as reference?
Cheers!!
Brij
|
|
|
|
|
|
Did you host your Web Application on IIS?
|
|
|
|
|
I was using the UpdateProgress bar control of Ajax as in this site. The control is working fine.
I require one more help on this. Can I do some formatting for the progress template like font styles? Is it possible? I couldn't find any cssclass properties.
can anybody pls provide any help on this?
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|
|
meeram395 wrote: Can I do some formatting for the progress template like font styles? Is it possible? I couldn't find any cssclass properties.
Why you are not creating custom gif and put the same over there ?
|
|
|
|
|
<asp:updateprogress id="UpdateProgres1" runat="server" associatedupdatepanelid="UpdatePanel1">
<progresstemplate>
Wait...
</progresstemplate>
</asp:updateprogress>
Here if you know css and all. you can code any HTML you want instead of "Wait..."
Or simply put an animated .gif to show some progress is going on.
|
|
|
|
|
Thanks a lot.. I know css and will do that.
Success is the good fortune that comes from aspiration, desperation, perspiration and inspiration.
|
|
|
|