|
Hi All,
We are using custom http handler, where we fetch large data value from a text field of database.
We later split this large data into chunks and write to response objects.
We are facing unique problem when the text size is nearly 4mb and when we are trying to write to context.Response.Write. It does not write in a single attempt, but calls the HandleRequest many times trying to write. In this time I am getting internet message Operation aborted.
Can any one tell how to overcome this scenario.
Thanks in Advance,
Naga.
|
|
|
|
|
let there be a gridview with some BoundFields then how i can retrive the
that value of a particular bound field value using javascript
|
|
|
|
|
Basically you need to make sure you give the controls that contain the values, ids that you can use to find those controls in js. A common way is to append the row number to the fields and build the ids row by row
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
In response to this question[^] on Stack Overflow, I have received less that satisfactory answers. One points to an example of how to add code behind to a view ( ), and another suggests "foreach is your friend". Just where would I use foreach, except in the controller injecting other sub-views into the view, but that is just a little too close to coupling controller and view. I can't believe the answerer meant in the actual view page, unless with JS, adding rows to a table based on view data.
How do I achieve the same effect as a dynamic row Repeater control, or even dynamic columns as well, as in a GridView, in a pure MVC model?
|
|
|
|
|
Hello Everybody,
I have written a code to send mail but it is not working properly.
I have added reference of System.Net.Mail; in C# code page and on botton click event I have written following code.
try
{
SmtpClient mySmtpClient = new SmtpClient();
MailMessage myMail = new MailMessage("hr@advantawitty.com", "dipak.dipak@gmail.com", "MyTest Mail", "Hello This is Test Mail using .net Coding");
myMail.IsBodyHtml = true;
mySmtpClient.Send(myMail);
lblMessage.Text = "Mail Successfully Sent";
}
catch (Exception Ex)
{
lblMessage.Text = Ex.ToString();
}
and in web.config file:
<mailsettings>
<smtp deliverymethod="Network">
<network host="smtp.advantawitty.com" port="25">
I am only confusing that what should be Smtp server name for my website..
when I am setting "localhost", it sends a mail which is stored in queue of mailroot on hard drive. But when i am uploading this it is not working..
how can i know my smtp server name?
Or is there any other mistake in the code or configuration?
Please help me...
Thank you.
Dipak
|
|
|
|
|
If SMTP is enabled in your web server, shouldn't it be something like "smtp.advantawitty.com"? Ask your service provider, he would be knowing the correct address and SMTP port number.
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
Thank you for reply.
I have asked to Provider and got the details
And it is finely working.
my code was correct but only I have added
mySmtpClient.DeliveryMethod = SmtpDeliveryMethod.PickupDirectoryFromIis;
and it is running properly.
Thank you.
Dipak
|
|
|
|
|
is datasource cashing with change the property (cashing=true)good ?
|
|
|
|
|
Hello friends,
I am using means tag to load the jpg image in html
in IE6.0 browser.
This tag works fine for jpg,bmp,gif extensions.
But, I want to load pcx images in my browser using html and javascript.
tag is not working for pcx files.
Please give a solution to load pcx images in browser.
Waiting for your positive reply.
Thank you.
|
|
|
|
|
That's down to the individual browser/operating system's support for these type of image files, not how you're using the tags. Can you not convert these images to a standard (jpeg, gif, png) format?
|
|
|
|
|
Thank you for your reply.
But my pages are dynamic.
Right now i can use jpg,png or bmp format.
But client having images in pcx and he want to use pcx only.
Dynamically he may give path of pcx images.
I know that there are many third party converter tool.
But he is not ready to use those too and don't want to spend more on converter tools licence.
Please give me a solution for loading the pcx images in html or any free activex which will support the IE5.0 and later version.
|
|
|
|
|
How can i retrieve records from Tab delimeted text file into SQL database?
Plzz Answer me......
Thanks 7 Regards
Afroz Ali Siddiqui
|
|
|
|
|
SSIS (SQL Server 2005/2008) or dts (SQl sever 2000)
Or if its a 1 off, in enterprise manager use import data
Bob
Ashfield Consultants Ltd
|
|
|
|
|
WIth code. Not sure what else to say....
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
How to allow multiple users to use one resourse simultaniously(like adding or updating the records of table through webpage)?
Plz if anybody has the answer, Plz suggest me
thanks a lot
|
|
|
|
|
'web development' is a useless subject, it doesn't tell anyone what you're asking.
Typically, people would lock records to stop this, as if you edit a record as I edit it, the other option is to somehow catch the two edits and attempt to merge them. This is never pretty.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
In response to this question on Stack Overflow, I have received less that satisfactory answers. One points to an example of how to add code behind to a view ( ), and another suggests "foreach is your friend". Just where would I use foreach, except in the controller injecting other sub-views into the view, but that is just a little too close to coupling controller and view. I can't believe the answerer meant in the actual view page, unless with JS, adding rows to a table based on view data.
How do I achieve the same effect as a dynamic row Repeater control, or even dynamic columns as well, as in a GridView, in a pure MVC model?
|
|
|
|
|
Hi there,
ASP.NET 1.1 / VB.NET / SQL 2000
I am generation report using crystal reports 10... the report is working fine but the problem that it is taking too long to load and display the data.
what I am doing is: I have two tables (one to many). I am getting all records from the first table and storing it in a table in my dataset... then I am getting all records from the second table depending on the ID from the first table. then storing it in another table in the dataset.
after that, I merge both tables in dataset by doing for each loop to merge each record to its related id.
Finally, bind it to the report
The merging process takes 2 minutes!!
What can I do? is there a better way to do the same thing?
can I control the range of records in my SQL statement?
Please help me
|
|
|
|
|
Try to write SQL JOIN Query that merges the two tables. Then, create a view using that query. This View can probably be used to populate the Dataset. SQL JOIN should be faster than merging the way you said I guess.
-------------------------------------------
It's code that drives you - Shyam
|
|
|
|
|
Respected sir,
I doing project on Image management so i need to doing all function
of image like as Zoom,transferant image,crop,move,change size,compose
etc. please anyone help me ,
please help me .....
|
|
|
|
|
You want to write a website for processing images ? ASP.NET can't do that, you'll need to write a Java or an ActiveX control. ActiveX only runs in IE.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Respected sir ,
i not detail idea about Java and Activex please make it more Clear.
i will wait u r reply..
Thanks for reply.
|
|
|
|
|
Well, you need to write a program in java, or in a language that supports activeX and then you need to integrate it into your website. Finally, you need to accept that a lot of people won't run it b/c they will set their security settings to reject it.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
ok thank sir for replay
i try that.
|
|
|
|
|
Please any one help me for my problem i very confuse. How i compose image in perticular location of other image by move ,croping ,transfarent image
|
|
|
|