|
Runtime Error <br />
Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. <br />
<br />
Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off".
Its not saying anything specifically about the error. I got the error fixed when I changed the class name to 'UserLogin' from Login. But love to know what has gone wrong.
|
|
|
|
|
hi all
how to set a cell width in itextsharp...???
thanks in advance.
siri
|
|
|
|
|
Hi professionals,
I am a begginer in web programming and this question just popped in my head.
If I am to design a website that serves thousands of users conccurrently, let's say a forum, let us assume that we have infinite server bandwidth and storage capacity, are there any considerations I should take into account when designing my website, for example what is the effect of the following points on concurrency and performance of the database:
1. Choosing between different database engines (JET, Oracle, MySQL, SQL Server...)
2. Optimizing the SQL Query.
3. Are there any techniques that I should follow in my C# code-behined to improve oncurrency? what are they (if any)?
4. Any other things to consider?
Thank you very much
Mohammad
And ever has it been that love knows not its own depth until the hour of separation
|
|
|
|
|
Mohammad A Gdeisat wrote: Any other things to consider?
1 - A perfectly layered architecture would give easy solutions for maintaining your application.
2 - Understanding which operations are costly and, using right controls and data access classes.
3 - Proper caching of your data.
4 - Disabling viewstates on the pages which doesn't require postback
5 - Indexing the tables
6 - Designing the pages with DIV and CSS instead of using tables.
and many more
|
|
|
|
|
Since u r a biggener, don't fly so high just make an simple start and think about such terms when u get some experience. i doesn't demotivate u but it is just an suggetion for u .
Thx
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
Stop using text speak. Please read the forum guidelines.
|
|
|
|
|
Sorry, it never happens in future.
manoj Kumar Jha
"Learn to smile at every situation. See it as an opportunity to prove your strength and ability."
|
|
|
|
|
hello every body
<br />
' Fill ddlMemberGroup<br />
Private Sub ddlMemberGroupFill()<br />
<br />
If Not Page.IsPostBack Then<br />
Dim conn As SqlConnection = New SqlConnection(Web.Configuration.WebConfigurationManager.ConnectionStrings("TCCLMS").ConnectionString)<br />
Dim queryString As String = "SELECT GROUPID, GROUPNAME FROM MEMBERGROUP ORDER BY GROUPNAME ASC"<br />
Try<br />
conn.Open()<br />
Dim comm As SqlCommand = New SqlCommand(queryString, conn)<br />
' Dim dataReader As SqlDataReader = comm.ExecuteReader()<br />
Dim adapter As SqlDataAdapter = New SqlDataAdapter(comm)<br />
Dim ds As DataSet = New DataSet()<br />
ds.Clear()<br />
adapter.Fill(ds)<br />
<br />
ddlMemberGroup.DataSource = ds<br />
ddlMemberGroup.DataTextField = "GroupName"<br />
ddlMemberGroup.DataValueField = "GroupID"<br />
ddlMemberGroup.DataBind()<br />
ddlMemberGroup.Items.Insert(0, New ListItem("Select One...", "Value"))<br />
conn.Close()<br />
Catch ex As Exception<br />
<br />
conn.Close()<br />
End Try<br />
<br />
End If<br />
<br />
End Sub<br />
Compare Validator aspx code
<br />
<asp:CompareValidator ID="cvddlMemberGroup" runat="server" ControlToValidate="ddlMemberGroup"<br />
ErrorMessage="Please select a Member Type" Operator="NotEqual" ValueToCompare="Select One..."></asp:CompareValidator><br />
If I dont select a member type then im not getting error.
N.B.
if i fill up my ddlMemberGroup like below then it does work
<br />
<asp:DropDownList id="ddlMemberGroup" runat="server" AutoPostBack="True"><br />
<asp:ListItem>Select One..</asp:ListItem><br />
<asp:ListItem>one</asp:ListItem><br />
<asp:ListItem>two</asp:ListItem><br />
<asp:ListItem>three</asp:ListItem><br />
<asp:ListItem>four</asp:ListItem><br />
<asp:ListItem></asp:ListItem><br />
</asp:DropDownList><br />
I need to fill up ddlMemberType from Database
Thanks in Advace
Sarfarj Ahmed
|
|
|
|
|
hi
ddl items starts with 0
so, try with -1
siri
|
|
|
|
|
if i put -1 then Select One... doesn't show on ddlMemberType
Sarfarj Ahmed
|
|
|
|
|
I have table and width is 100%. It contains three td‘s. first td width is 250px, second td width is 10px, 3rd td width is 100%.I want to display the results from database to 3rd td.
The results are displaying fine for small database tables (contain less than 10 columns).
If the columns are more than 10 td width is going out of window size. For that I placed scroll bars for td .which is not working.
Is any one having idea about it?
kamalnath
|
|
|
|
|
What code you have done for that we can tell blankly without seeing the code.
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
Put the table within a DIV and try from there.
|
|
|
|
|
can anyone tell me the c# code to print the crystal report.
pintoo
|
|
|
|
|
Get it
SSK.
Anyone who says sunshine brings happiness has never danced in the rain.
|
|
|
|
|
IS this report shown on a ASP.NET page ? If yes use Window.Print() , it's a JS function which prints current page.
|
|
|
|
|
I think is what you are after: using a crystalreports ReportDocument within a form
<br />
<br />
rptPolicy.PrintOptions.PrinterName = System.Configuration.ConfigurationSettings.AppSettings("printer")<br />
<br />
ReportDocument.PrintToPrinter(1, False, 0, 0);<br />
<br />
<br />
|
|
|
|
|
Hi Everyone,
Can anyone help me out to display a table in the body content using mailto function
Regards,
Manowj
|
|
|
|
|
manowj wrote: mailto function
What is this function ? I have never heard this. To display HTML content on mail body, you should set mail's body type to HTML.
|
|
|
|
|
Hi,
In html we can use this function for example copy this and save it in a html file
<I><A HREF="mailto:someone%20at%20Example.com%3CSomeone@example.com%3E?subject=Comments%20on%20example.htm%20&body=comments%20concerning%20your%20webpage%0D%0A%20at%20http://www.example.com/example.htm%20%0D%0A%0D%0AHi%20David,%0D%0A">send email comments</a></i>
open it in the explorer.
Regards,
Manowj
|
|
|
|
|
I would suggest you to use the Mail class in ASP.NET and then try to add the table through it.
Best Regards,
Sam Xavier
www.componentone.com
|
|
|
|
|
I need to upgrade an app to allow users to export data to Excel (currently it allows for .csv). Does anybody know of a component that can be used for this ( I'd rather not automate Excel if I don't have to ) ?
Johan Lombaard
Only two things are infinite, the universe and human stupidity, and I'm not sure about the former - Albert Einstein
|
|
|
|
|
Do a search on Google or this site for 'JET OLEDB Excel' and you'll find plenty of results relating to your question.
Paul Marfleet
"No, his mind is not for rent
To any God or government"
Tom Sawyer - Rush
|
|
|
|
|
Response.ContentType = "application/ms-excel";<br />
Response.AppendHeader("Content-Disposition", "attachment; filename="+fileName+".xls");<br />
Response.End();
|
|
|
|
|
I want to develop an application which can be used by all users in a network. Can somebody help me by explaining how we can do that. Thanks in advance
Regards
|
|
|
|