|
Rajni_pooni wrote: Forum: ASP.NET
Subject: yj
Sender: Rajni_pooni
Date: Wednesday, July 22, 2009 10:51 AM
yj
Please DONOT Spam.
|
|
|
|
|
my application is not showing dataset visulizer option while debugging. so please tell how i can reset the option to visulize dataset.
modified on Tuesday, July 21, 2009 10:01 PM
|
|
|
|
|
Which version of VS are you using ? I didn't know there was a dataset visualiser built in to start with.
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.
|
|
|
|
|
It comes when you quick watch a DataSet or DataTable . VS will show the data in a grid and it is very handy. However, I rarely use DataSet or DataTables.
|
|
|
|
|
|
Well, I guess it's different to the normal visualisers, that appear in a right click menu. I guess your best bet is a reinstall/repair, if there's a feature that has stopped working.
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.
|
|
|
|
|
Is it possible in a GridView to hide the Edit and Delete buttons until a user clicks on the Select button of a row? And to only show the Edit and Delete buttons for the selected row?
|
|
|
|
|
|
That is cool, but I'm not using it for that reason, really.
The idea behind the project is a list of messages to be displayed on a crawl running on the bottom of the screen, therefore order is important. I want to force the user to SELECT a row before editing or deleting it because I need to capture the INDEX of the message so I can alter each message's index that comes after.
For example, 5 messages
INDEX
1
2
3
4
5
if I delete 3, 4 would need to become 3 and 5 become 4.
Using C# the only way I found to get that information is by using the SelectedValue property of MyGridView. Unless there's another way...?
|
|
|
|
|
I have a webservice that takes a byte[] parameter and writes it out to the filesystem. The byte[] is about 120k in length (on average). The webservice can be hit about 20x per minute (so that puts it at about 2.5mb/min). The system administrator is saying this service is causing bottlenecks and other web services/web apps are also failing as a result. He suggest that i change the code to speed up the webservice because it's using up too much resources.
The code is pretty straight forward. I don't understand how this webservice is breaking the other applications/services. I was under the impression that the resource management (thread managment, memory manamgement) is all done under IIS not in the code behind. If i'm not correct what could i possibly do (either in the web.config or code behind) to prevent this from happening. Someone suggested that i monitor the threads in the webservice but that really doesn't make sense to me. I'm totally confused on this subject.
Thanks,
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
well it happens sometimes to send lots of data to the webservice and also return a lot. Try to check if you are not sending or receiving any unnecessary data.
Also for your webservice, each time it is called the web server spawns a new thread and runs it. Try not to open any new thread from the web service if not absolutely necessary.
And in IIS host the webservice in a new application pool.
|
|
|
|
|
thanks for the info!
Don't be overcome by evil, but overcome evil with good
|
|
|
|
|
hello everyone
In my project i have a problem.
I want to read a text file(.doc,.xls,.txt) and then
create & write a pdf file from that file in asp.net 2.0 using C#.
I want to use only free dll/software/third party tool except
trial version.
Please help me..
|
|
|
|
|
narendra_roy wrote: I want to use only free dll/software/third party tool except
trial version.
OK, then that's what you need to do. Of course, the paid projects will have better support, but there's some PDF libraries on source forge. If you can't use google, I doubt you'll be able to use a library that doesn't come with good support.
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.
|
|
|
|
|
use iTextSharp... it is free to distribute and easy to use.
|
|
|
|
|
Hi Friends,
I am using visual studio 2008 and i have to create video gallery page. i am uploading videos(.flv) to my web server. Now i want to upload any format of video file. And it will convert into automatically .flv format(like youtube file upload). if anyone know? Please send me the solution.
Regards,
Kishore
|
|
|
|
|
You obviously need to buy a component that converts videos to flv. I don't think that DirectX can be used, but if it can, then you'd still need to buy a filter to do it.
This question has nothing to do with ASP.NET
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 all
im display some data asynchronously im home page (Form A),so i retrieve bunch of HTML of code from separate ASPX form (Form B),from (Form B) im having A tag and i have define event onserverClick there, but its not fire when its retrieve from the Form A, how can i fire that event, is there any different way to fire the server side event.
Please help me to do this,
Thanks
|
|
|
|
|
onserverClick will be called on click event else you have an option to call it by own.So I think when at your home page,you get the data then call it.
Cheers!!
Brij
|
|
|
|
|
hi
my code is like this
outputText += "";
outputText += "";
protected void lnk_Click(object sender, EventArgs e)
{
}
so this is not fire, could help me to fire this event.
|
|
|
|
|
where you have assigned this event lnk_Click on aspx page
Cheers!!
Brij
|
|
|
|
|
hi
i solved my problem, i have put href for A tag with query string, from redirect page i retrieve that query string and do other stuff,
when u put onclick also it wasn't work for me
Thanks
|
|
|
|
|
Hello,
I am trying to get the data from a cell in a GridView. I am using the following RowCommand event to do this.
protected void GridViewResults_RowCommand(object sender, GridViewCommandEventArgs e)
{
GridViewRow gvr = GridViewResults.Rows[Convert.ToInt32(e.CommandArgument)];
string pdf = gvr.Cells[6].Text;
}
An exception is thrown on the first line of code. Debugging this line shows that the code does return the selected row number as the command argument, however, it also returns the following error:
ArguementOutOfRangeException:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
I am confused about which index is returning the error! The only index I am aware of from this line of code is the number of rows in the grid, and that number is returned correctly regardless of the users row selection (as checked in the debugger) and is always non negative. I have been 3 days and all over the Internet trying to get an answer to this. ANY assistance is greatly appreciated.
Thank you for your time, Pat
|
|
|
|
|
Try to get the text as below
e.Row.Cells[index].Text
index: it is the cell index and starts from zero
Cheers!!
Brij
|
|
|
|
|
Brij,
Thank you for the quick reply. I applied your code as follows. Below is the complete error message returned:
Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Source Error:
Line 476: protected void GridViewResults_RowCommand(object sender, GridViewCommandEventArgs e)
Line 477: {
Line 478: string pdf = GridViewResults.Rows[Convert.ToInt32(e.CommandArgument)].Cells[6].Text;
I have also reduced the Cells value to [1] (there are 7 columns) just to make sure that I was not out of the Cell column range. I am a bit surprised that there is no "text overload" as an option as there is in C# desk application. The error is the same. Please let me know if you have any other ideas or if I am applying your code incorrectly. Thank you again for your input. I really need to get this done today.
Best Regards, Pat
|
|
|
|