|
but none of the solution is working for my application.
|
|
|
|
|
Well, if you want help, be clear. If you don't tell us what you tried, don't you think people here will just suggest the same things ?
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
Member 4959176 wrote: < b >< /b >Hi!!
RPH - Reverse Polish HTML...
|
|
|
|
|
Hi All,
Can i Use Singleton design pattern in Web application like when i m calling Bll from the User inteface.
Thanks and regards,
Amit Patel
|
|
|
|
|
If you like. Knock yourself out.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
hi,
That is i m alrady doing .. thanks for ur advice
|
|
|
|
|
Yes you can!
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
Hi,
We have .Net Framework 1.1 and 2.0 installed on the same server. We now have new requirements that will need AJAX. We can either install:
1. .Net Framework 3.5
OR
2. AJAX Toolkit (with existing .Net Framework 2.0)
We do not want to have any issues with existing applications due to this. Please suggest which will be a better approach and what will be the impact on existing applications using older versions?
Are there any specific guidelines for having multiple versions on same server?
Regards,
Anuj Chauhan
+91 9313499294
anuj.mca@gmail.com
|
|
|
|
|
You don't need to install anything, unless what you mean is, we don't know enough to use AJAX and will need to use a Microsoft framework instead. AJAX is nothing to do with ASP.NET, only the Microsoft wrapper library is.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
u can install different version of dotnet framework.
there is no issue about it.
Feel free to use it.
even i have 1.0,2.0 and 3.5 framework installed on my system and had never faced a problem.
|
|
|
|
|
i have set autogenerate=true of gridview ,i have a
column in gridview having checkboxes ,when i check one of the checkbox , gridview disappear .
I have bind my gridview in
if(!ispostback)
{
}
the datatype of column in datasource is TINYINT(1) that is converted to checkbox column.these checkbox
were disabled ,i enabled these in rowdataboundevent of gridview to get user feed back
|
|
|
|
|
If you don't bind on postback then I'd be checking to make sure that the viewstate is not turned off for the page.
Christian Graus
Driven to the arms of OSX by Vista.
Read my blog to find out how I've worked around bugs in Microsoft tools and frameworks.
|
|
|
|
|
yes ,resolved thank you sir
|
|
|
|
|
I am working on this application(asp.net 1.1,sql server 2000) that has a huge database , in the frontend there is a provision
to generate a csv file by running a stored procedure which can fetch 50000 records(approx), to acieve this I've used the
following:-
1) running forloop iterating through the dataset and creating a comma separated string, then creating the csv file, but this
process slows down the server immensely when data fetched is huge.
2) DTS packages is failing, because when I am creating a new package and click the defeine column button, the SQL Enterprise
manager just closes itself after a few seconds.
3) BCP command, sometimes works sometimes does not. The code used for running bcp in C# is :-
System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.StartInfo.FileName = "bcp";
proc.StartInfo.UseShellExecute = false;
proc.StartInfo.RedirectStandardError = true;
proc.StartInfo.RedirectStandardOutput = true;
proc.StartInfo.Arguments = @"""exec ETH11.dbo.usp_DownloadInvoiceforDalkia "" queryout ""D:\NewLookLogs\Invoice.csv"" -c -t ,
-T -S";
proc.StartInfo.Arguments = proc.StartInfo.Arguments.Replace("usp_DownloadInvoiceforDalkia ","usp_DownloadInvoiceforDalkia
"+"'"+xSupplierID+"',"+"'"+xBuyerID+"',"+"'"+xFromDate+"',"+"'"+xToDate+"',"+"'"+xType+"',"+""+xCurrentOnly+","+""+xDateType+
","+""+xStatus+","+""+xAllStatus+","+""+xContentType+","+"'invoice.csv',"+"'"+Session.SessionID+"'");
proc.Start();
proc.WaitForExit();
|
|
|
|
|
I am developing an web site where i have feedback form where i am getting information from user like (Email address ,Subject, And Comment )after this on button click i want to send mail to owner of the web site. so i write code :
Dim mail As New MailMessage("txtfrom.text", "webowner@mail.com", "Txtsub.text", "txtcoment.text")
Dim smtp As New SmtpClient("localhost", 1161)
smtp.Send(mail)
When i am testing this by running from from visual studio 2005 i get error "Failure sending mail" at smtp.Send(mail).
can any one tell me what i should do .
|
|
|
|
|
do you've smtp configured? I don't think so.
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
No I haven't
will you please tell me how to do it .
|
|
|
|
|
I googled and now i had setup smtp.
and also chnage the code little bit
here it is:
Dim mail As New MailMessage("from@mail.com", "to@mail.com", "subject", "body")
Dim smtp As New SmtpClient("127.0.0.1", 25)
smtp.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis
smtp.Send(mail)
Now here is no error
mail send sucessfully .
but when i check the mail inbox there is no mail recevied from this code , not even in spam folder .
|
|
|
|
|
|
thanks for help.
i tried that to but the problem is where ever i m sending mail it comes from the user name that we use as google credential.
but i have a feedback form where i am taking email address from user and i want that email address as a from email. so that my web master can directly hit reply button when he received mail for further transactions.
|
|
|
|
|
thats not possible with any third party smtp
Please don't forget to mark 'Good Answer', if you find it really a good one!
Kashif
|
|
|
|
|
I have one field of Gridview populated from a DB (MS SQL Server) this way:
One field is (for example) http://google.com
<asp:TemplateField HeaderText="Link"
SortExpression="Link">
<ItemTemplate>
<asp:HyperLink ID="HyperLink1" runat="server" Text='<%# DataBinder.Eval(Container.DataItem, "URL") %>' DataNavigateUrlFields="URL" NavigateUrl='<%# DataBinder.Eval(Container.DataItem, "URL") %>' />
</ItemTemplate>
<EditItemTemplate>
<asp:TextBox ID="URL" runat="server"
Text='<%#Bind("URL") %>'>
</asp:TextBox>
</EditItemTemplate>
<FooterTemplate>
<asp:TextBox ID="URL" runat="server" width="65px">
</asp:TextBox>
</FooterTemplate>
</asp:TemplateField>
The problem is, when I click the http://google.com field, I go to http://google.com%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20\%20%20%20%20%20%20%20%20%20%20(...)
20 is the ID of the field..
What am I doing wrong ?
|
|
|
|
|
Your html seems ok. %20 means url encoded space. Did you check the values in database? Is there any empty space in url?
|
|
|
|
|
Well, the field in the table of DB is char(100).. (MS SQL Server 2005)
Maybe if I use VARCHAR I solve the problem? Not with my pc right now to test.
|
|
|
|
|
Trim the results... removes leading and trailing spaces .
|
|
|
|