|
Hello guys,
I am developing an application for deploy on a hosting server. The app is data-driven. I want to know which option is the best, maintenable, secured...
Should I just add an SQL Database to the App_Data folder or create the database on my development machine?
Which ever method you suggest, plz tell me what is necessary to be done at the point of deployment.
Also which is better and (code-wise) secured option of deployment, Precompiled or XCopy?
Thanks in advance.Tunsten
|
|
|
|
|
hi selvamglobal, are u there? i hav a question for u that
in "Select-Move Rows From HTML Tables Using JavaScript
By nishant sagar"
you hav asked a question
hi , how can i use this code on ASP.NET GridView
cause with out effecting sorting and paging.because i tried this logic in grid view its working fine.but while i am doing sorting after moving rows up/down i am getting javascript error.
can you tell the approach.
thanx in advance.
in this i saw that u r successfull in doing this code in grid view.
can u share that code with me?
i'll be highly thankful 2 u
actually i only need moving rows of pone grid to another in javascript..........
plz share it with me.......
|
|
|
|
|
Hello,
I am generating a report from a web application written in .Net 1.1. The report is designed using html and no third party is involed for reporting. Now i wana save this page in pdf and want to send as an attachment. How to convert the report in to pdf format?????
Thanks,
Safvi
|
|
|
|
|
|
i am not converting word document to pdf. rather it is the html page that i want to convert in to PDF.
|
|
|
|
|
Well i have a user control with Save button
Inside the user controls i have dynamically added other user control
Now this inner user control shall have a row of radio buttons.On selecting the radio button a dropddown shall be populated with value based for that radio button.
On pressing save button , i need to find out which radio button and what value was selected in the dropdown of which user control.
How can i achieve that? Should i use a javascript handler for each of the radio buttons to populate a hidden variable?
|
|
|
|
|
you put those radiobuttons or drop down in a placeholder and on button click use placeholder1.findcontrol("controlname") to find the required control.
|
|
|
|
|
Hi All,
I am not kidding but finding very difficult to disable a buton after clicking once so that user should not click same button multiple times.
I tried Javsacript , jquery ...
Its disabling the button but then form is not getting submitted
Help really appreciated
One more thing its ASP.NET MVC application.Thanks and Regards
Sandeep
If If you look at what you do not have in life, you don't have anything,
If you look at what you have in life, you have everything... "
Check My Blog
|
|
|
|
|
Hi there
I'm using VS2008, sql2005, my web has a few controls, I don't know esacty when it's happen, the aspnet_wp.exe is using a lot of memory, my workstation has 3 Giga ram.
And the real problem is this: a clic butoon take over 2 minutes, this mean the postback is takin 2 minutes.
I've desactivate all conextions with DB, even has a Ajax controls(toolkit).
I've put some brackpoints but between on clic and the first code line take that time.
Help me please I'm COUNTDOWN TO RELEASE
http://i.imagehost.org/view/0011/cachco
|
|
|
|
|
You can track the issue with performance counters.
|
|
|
|
|
Can you tell me how do that?
so, when I got that, what is the next move?
tx U
|
|
|
|
|
There are several Business Databases i.e. BusinessDB1, BusinessDB2, etc... and a LoginDB.
The LoginDB is used by the login control. i.e. To register and authenticate a user.
On registering a new user, I would like to be able to assign a BusinessDB to s/he so that when they try to log in, then the system uses s/he BusinessDB.
Question:
How can I assign a user to a BusinessDB?
Thanks
|
|
|
|
|
select which connectionstring to use from a value stored together with the user in the LoginDB. My postings are a natural product. The slight variations in spelling and grammar enhance their individual character and beauty and are in no way to be considered flaws or defects.
|
|
|
|
|
But how can I add this connectionstring t othe LoginDB?
rememeber that the LoginDB is to do with the login control and I do not know how to interfere with it's tables...
Thanks
|
|
|
|
|
Well, you obviously need to have access to the logindb to be able to store data in it. My postings are a natural product. The slight variations in spelling and grammar enhance their individual character and beauty and are in no way to be considered flaws or defects.
|
|
|
|
|
|
Hi all,
As per the requirement my machine language settings are set to Italian language.
while generating reports in my application i am facing a problem that
i have a column called timespent lets say eg: 1.5 units
We are showing the report in excel formate.
Note:- In Italian formate "1.5" should be display as "1,5"
------
I am applying following style to out put record set of "TIME_SPENT" but i am getting the out put '1.5 but required Output is "1,5"
sbrHTML.Append("<style>.timespend { mso-number-format:@;} .premium { mso-number-format:$\\#\\,\\#\\#0\\.00;} .ogDate {mso-ignore:padding;mso-generic-font-family:auto;mso-font-charset ;mso-number-format:yyyy-MM-dd;mso-background-source:auto;mso-pattern:auto;} </style>");
sbrHTML.Append("<td class=timeSpent>" + sqlDatareader["TIME_SPENT"].ToString() + "</td>");
out put:'1.5
Please can any can help on this.
Thanks in advance,
subbu.
|
|
|
|
|
Excel does not support decimal, which means it's exported as string instead.
Try converting to double before exporting. Or converting to string yourself using the correct locale before exporting.My postings are a natural product. The slight variations in spelling and grammar enhance their individual character and beauty and are in no way to be considered flaws or defects.
|
|
|
|
|
Thanks alot as per you suggestion i did its working fine.
Regards,
Subbu.
|
|
|
|
|
You're welcome My postings are a natural product. The slight variations in spelling and grammar enhance their individual character and beauty and are in no way to be considered flaws or defects.
|
|
|
|
|
Hi everyone,
I have the following web method as shown below. Can anyone tell me how can i call this web method in an asp.net webpage? The result that i want to obtain from calling this web method would redirect me to another web page. thanks in advance.
[WebMethod]
public int DoIT()
{
// Get the hostname
string myHost = System.Net.Dns.GetHostName();
string connect = "PROVIDER=Microsoft.Jet.OLEDB.4.0;DATA Source=C:\\inetpub\\wwwroot\\Request\\App_Data\\TV.mdb";
string query = "SELECT COUNT(IPAddress) FROM Request WHERE IPAddress = ?";
int result = 0;
using (OleDbConnection conn = new OleDbConnection(connect))
{
using (OleDbCommand cmd = new OleDbCommand(query, conn))
{
cmd.CommandType = CommandType.Text;
cmd.Parameters.AddWithValue("IPAddress", myHost);
conn.Open();
result = (int)cmd.ExecuteScalar();
}
}
return result;
}
|
|
|
|
|
If you want to call the WebService from the client then you can use ASP.NET AJAX for this, check this links:
http://www.asp.net/ajax/
http://www.asp.net/ajax/documentation/live/
http://www.asp.net/AJAX/Documentation/Live/tutorials/ASPNETAJAXWebServicesTutorials.aspx
|
|
|
|
|
Use AJAX PageMethods to access them.
|
|
|
|
|
Hi, I have an web application. I am lossing sessions and static variables become null if i use the following code in my application.
public string _xmlfilepath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "App_Code\\Culture.xml");
public string _userfilepath = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "Users");
Even when i am using this code...the sessions are lost
_userfilepath = Request.PhysicalApplicationPath + "Users\\";
_xmlfilepath = Request.PhysicalApplicationPath + "App_Code\\Culture.xml";
If i use this code then its working fine.
Adding paths in web.config
<add key="UserPath" value="F:\MyFolder\Users\" />
<add key="CultureXML" value="F:\MyFolder\Admin\Culture.xml" />
Later i am retirving those paths in application
public string _userfilepath = ConfigurationManager.AppSettings["UserPath"];
public string _xmlfilepath = ConfigurationManager.AppSettings["CultureXML"];
But I dont know the drive names etc at client location to place my application. If i use the appdomain code then where ever this code placed the files will create in that directory itself. But the problem is i am loosing sessions and static variables becoming null. Due to this exceptions are arising.
How can i overcome this issue?G. Satish
|
|
|
|
|