|
Dear All
I am using crystal report in my web application developed in Asp.net 2003 and sql server 2000.Report are working fine in my local PC but when I trying same thing in server then, PDF reports are working fine but excel reports are showing following Error:
"## Error in File C:\WINDOWS\TEMP\temp_b80d89a4-560d-48a4-923d-7f1d541ccf16.rpt:Error detected by export DLL: ##"
Please help me ASAP.
Thanks
With Regards
Vivek
|
|
|
|
|
can any one have any idea is it possible to use values from aspx.cs file(codebehind file) in an aspx file(main asp.net page)
|
|
|
|
|
Those two Files represent one thing. please Explain briefly what you want to achieve
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
just guessing at what you need, but you can embed <%= expr %> tags in the .aspx page, where expr is any public method or expression
for example
<%=CustomerName%>
would be replaced with the value returned by a public property CustomerName
there are other variations on this technique as well; is that what you were looking for?
|
|
|
|
|
Good Morning All
Am trying to Store the username of the User that will be loged on. choose to use the Profile, and i have done the following from the Web Config file
<profile enabled ="true">
<properties>
<add name ="Username" readOnly ="false" allowAnonymous ="true"/>
</properties>
</profile>
And am Storing the Username to the Profile like this
Profile.UserName = username;
I get an error the C# code that says
property or indexer 'System.web.ProfilerBase.Username' cannot be assigned to--it is read only .
Thanks
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
In ASP.NET application, the page is encoded in UTF8 and data (include English and Non-English) is stored in NVARCHAR data type in database. Do I really need DataSet.Locale to help on Sorting?
What will be different or any impact if I use DataSet.locale vs I don't set locale in Dataset?
|
|
|
|
|
If you don't set the locale, you will not use the correct sort order for each language.
If the sort order is similar, there may still be some differences. Like for example if v and w are sorted together or not, and if characters like å, ä and ö come last in the alphabet (as in swedish) or are considered forms of the characters a and o.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Hi,
I use n-tier architecture in my day to day programming.
If I use a sqldatasource to connect to a database then it seems the select query gets generated within the aspx page. So this to me does not seem to be n-tier because the database access is within the aspx page itself rather than using another layer.
Question:
1)
How can sqldatasource be used in an n-tier architecture developemnt.
2)
Am I right to say that the answer to my question is ObjectDataSource?, if so, does this have limitations to the coding the connection, command, etc, in the code ?
Thanks
|
|
|
|
|
Every Wizard that you will use in VS will have limitations. it is better to Write your DAL and your BLL. you right if you use the datasource control,your DAL will now be in your PL(Presentation Layer) and that will not be "N-tier" Style.
Hope this helps
Vuyiswa Maseko,
Sorrow is Better than Laughter, it may Sadden your Face, but It sharpens your Understanding
VB.NET/SQL7/2000/2005
http://vuyiswamb.007ihost.com
http://Ecadre.007ihost.com
vuyiswam@tshwane.gov.za
|
|
|
|
|
I just started a new contract and the tech lead told me that he wanted me to become familiar with something called "JROC" (among some other tools).
I've been searching the web and I haven't found any dev tool called "JROC."
Based on the name of the tool, it sounds like it encapsulates some javascript functionality.
I have tried searching for different spellings - "JROK" / "JROCK" / "JROQ" but I haven't found any matches.
Have you ever heard of a dev tool by this name?
|
|
|
|
|
I am getting a weird error when I try to create a user through Web Site Administration Tool - http://tinyurl.com/3qww3y[^]
The root causes does not appear to be clear. Any suggestions on how to debug this issue?
|
|
|
|
|
I am using VS2008 and I am can't seem to figure out how to open the "Web Site Administration Tool."
MSDN says - "To access the Web Site Administration Tool, on the Website menu, click ASP.Net Configuration."
However, I don't see "Website" as a top-level or child menu item or under "View>Toolbars>Customize."
Am I missing something here?
|
|
|
|
|
It's right between Refactor and Build on the toolbar if you are actually working on a web application.
|
|
|
|
|
I don't see the Refactor menu item.
Here are screenshots of the default menu bar, the available toobars and the About box for instance of VS2008 - http://tinyurl.com/4ng994[^]
What are your thoughts on this?
|
|
|
|
|
How did you create this project?
|
|
|
|
|
Found it. In my version of VS2008 it's under "Project > ASP.NET Configuration"
|
|
|
|
|
i have a gridview and it has 2 rows.
in each row there is a button (Show Details).
i would like to take the user to another page page when he cliks the button. and in this page show the details of the particular row from the 1st page.
this is my gridview:
<br />
<asp:gridview id="GV1" runat="server" autogeneratecolumns="False" xmlns:asp="#unknown"><br />
<columns><br />
<asp:buttonfield text=" Show Details " headertext="Show Details" buttontype="button" commandname="ShowDetails" /> <br />
<asp:boundfield headertext="ID Number" datafield="IDNumber" readonly="true" /><br />
<asp:boundfield headertext="First Name" datafield="FirstName" /><br />
<asp:boundfield headertext="Last Name" datafield="LastName" /><br />
</columns><br />
</asp:gridview><br />
how can i do this from the code behind page?
|
|
|
|
|
when the user clicks the button, how can i identify the "IDNumber" of that particular row?
can anyone help me?
|
|
|
|
|
I created and referenced the following gridview dynamically
which provides more flexibility. Consequently, you have an onclick attribute that gets the value and reset the function/procedure
protected void Page_Load(object sender, EventArgs e)
{
grid1.Visible = true;
setGridValues();
}
private void setGridValues()
{
grid1.Visible = true;
grid1.AutoGenerateColumns = true;
DataTable dt = new DataTable(); // dataTable
// column names ...
dt.Columns.Add("ID");
dt.Columns.Add("DateRequested");
dt.Columns.Add("ServicePartNo");
dt.Columns.Add("qty.");
dt.Columns.Add("VIN");
dt.Columns.Add("RoNo");
dt.Columns.Add("GCQIS");
dt.Columns.Add("Status");
// add hyper link to add to grid1........................
HyperLinkField linkX = new HyperLinkField();
string[] fldS = { "ID","Status" };
linkX.HeaderText = "ReqID";
linkX.DataTextField = "ID";
linkX.DataNavigateUrlFields = fldS;
linkX.DataNavigateUrlFormatString = "summaryReqNo.aspx?reqNo={0}&status={1}";
linkX.Target = "_self"; // = "_blank"
grid1.Attributes.Add("BackColor", "#CCCCCC"); // add attributes to grid
grid1.Attributes.Add( "BorderColor", "#000099");
grid1.Attributes.Add("BorderWidth", "3px");
grid1.Attributes.Add("ForeColor","#333399");
grid1.Attributes.Add("Width", "7in");
grid1.Columns.Add(linkX); // adding hyper link devined above to grid
cRequests reqS = new cRequests(userX); // values from classto loade into grid
// adding rows to grid1 ......................................
foreach (cRequest item in reqS)
{
object[] aryX = new object[8];
aryX[0] = (item.reqID);
aryX[1] = (item.reqDate).Value.ToShortDateString();
aryX[2] = (svcPN.prefix) + "-" + (svcPN.basePart) + "-" + (svcPN.suffix);
aryX[3] = (svcPN.svcQty);
aryX[4] = (item.reqVIN);
aryX[5] = (item.reqOrdNo);
aryX[6] = (item.reqGCQISNo);
aryX[7] = item.status;
dt.Rows.Add(aryX);
}
grid1.DataSource = dt;
grid1.DataBind(); // gridX.DataSource = arryLstX;
}
hope this helps; Signed... Linda
xxx
|
|
|
|
|
Hai
I need to send E-mails to 1000 clients every end of the month automatically, so please tell me some ideas that how i can do that.
i will have all 1000 client address stored in a DB and on a specific date
mails need to get dispatched.
Thanks in Advance
|
|
|
|
|
sathimailin1 wrote: Mailing thru Asp.net
ASP.Net is a web technology and every web technology works on request response method. So from where do you think are going to trigger the sending of email automatically?
sathimailin1 wrote: i will have all 1000 client address stored in a DB and on a specific date
What I suggest is create a Windows Application to do this for you and schedule it accordingly.
Please remember to rate helpful or unhelpful answers, it lets us and people reading the forums know if our answers are any good.
|
|
|
|
|
hi
Thanks for your reply but i want to do that in ASP.NET ,
|
|
|
|
|
sathimailin1 wrote: i want to do that in ASP.NET
Uh, Why? If you can't answer that adequately, stop and think. Answers that are not adequate include but are not limited to "because the rest of the project is ASP" or "because the client wants ASP". It's completely and utterly the wrong platform. It will get you nothing more then a horrendously complicated solution to a fairly trivial problem.
Like Manas said, create a windows app or service.
Bar fomos edo pariyart gedeem, agreo eo dranem abal edyero eyrem kalm kareore
|
|
|
|
|
Many email servers "throttle" email sending, limiting you to only so many emails per hour, or requiring a certain number of seconds between emails, or limiting the number of recipients on a single email. This is to keep the mail servers from being blacklisted as spam-generators!
So you might want to find out what limits, if any, are imposed by the email server(s) you will be using, and design accordingly.
other than that, System.Net.Mail does a fine job but I suggest you write a class/component to do the work so you can call it from asp.net or a winforms app or a service or whatever you end up with. Though it is possible to do what you want from asp.net, (a) there's no real need to do it that way and (b) it will be problematic to figure out how to trigger it appropriately on schedule
good luck!
|
|
|
|
|
Thanks for your kind reply
|
|
|
|