|
|
Hi all,
I displayed images in datagrid, But I want to show only two images in grid if they are of height 180 otherwise 6 images of height 60.
I use pagesize 6 this will always shows 6 images without considering image size.
How can I do this.
Please help me .....it's urgent.
Regards,
Nagraj
|
|
|
|
|
Here i am doubtful that something can be done in the frontend part what i think is may if you can in the stored procedure that what are the size of the image then you can change the page size there and can get the required records only. But for all this i am not too sure.
Best Regards,
Apurva Kaushal
|
|
|
|
|
I am developing an application in asp.net using c#.
In that ,I have audio file and i want to identify the words from that audio and I have to write it down.
Plz,Let me know if anybody have its answer.
Swapnil Bhavsar
S/W Developer,Pune
-- modified at 5:09 Thursday 31st August, 2006
|
|
|
|
|
If I understand you correctly you would like to extract the lyrics from a audio file.
Well I don't think that is possible with today's technology. But if it is then I assume that would be one expensive piece of software.
An ways what you are looking for is voice recognition so get some books on that subject if you would like to develop a application like this.
--------------------------------------------------------
My portfolio & development blog
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
Can someone guide me how to develop HL7 compatible programs using VB/ASP .net ? What kind of client and server based programs have to be developed, anyone has any experience ? any websites/tutorials ?
thanks
anuj
|
|
|
|
|
Depends what you mean by HL7 compatible. If you are trying to write an app to convert your data into HL7 format and back then I would say don't even try. There are a few players on the market that have components to do this and since HL7 is a complex format I found it best to leave it up to them. Another considersation we faced was the legal issues of getting it wrong, this is patient data that deals with the healthcare. Leaving it up to the experts seemed to be the wise choice in limiting our exposure.
only two letters away from being an asset
|
|
|
|
|
DON'T CROSS POST
only two letters away from being an asset
|
|
|
|
|
As you're probably aware, the newer versions of Netscape allow you to view a page using the Internet Explorer ActiveX control, or using the Firefox engine. Since these two are the most common, and since we need to ensure Firefox compliance for our intranet app, I hit on the idea of using Netscape for testing, and toggling pages.
The only thing that I'm unsure of is just how "firefox compliant" the rendering in NS is - is what I see in NS a true representation of what I will see in FF (or for that matter, in IE)? Anyone have resources about this?
"Now I guess I'll sit back and watch people misinterpret what I just said......"
Christian Graus At The Soapbox
|
|
|
|
|
MySelf is Gaurav.
I am totally new to ASP.NET. Basically I am a VB 6.0 Programmer. I would like to know why ASP.NET is being used and how the Virtual directory is being created and nmanaged for future use..
Thanking you...
GAURAV LAL
|
|
|
|
|
Hi Gaurav,
Im afraid your question is a bit vague, but to try to answer your question.
ASP.NET is used because it represents a number of advances in web development from its predecessor - ASP. Most significant is probably access to the entire .NET framework which cosists of a large number of ready-built "functionality" such as web services, FileIO & Security.
The second part of your question about virtual directories doesnt make much sense, but they are managed using IIS in a very similar way to older ASP. IIS has changed a bit in recent releases of windows.
You may also find it helpful to read the thread linked in my sig below, it will help you word your title/questions better!
|
|
|
|
|
please read the Chris Maunder message, put a title in proper manner. ex.
"ASP.Net Features" ....
|
|
|
|
|
For making virtual directory u first make new project by clicking file -new website in Visual Studio 1.1 or 2.0 which ever u r using.
Then type INETMGR in run which is available in start menu.
Then u find ur computer name.in sub menu of ur computer name web sites r their.and further going default web sites r their.
Click on Default web sites tree u find ur prj name that u gave in VS.
right click on project name.U find Properties menu.Click on property menu and then click on Create menu.and then apply.
This makes virtual directory.
Also called configuring ur project in IIS.
Any queries r invited.
kartik rathi
|
|
|
|
|
Please refrain from SMS speak, this is a forum not a mobile phone!
|
|
|
|
|
Hi All,
I have been facing problems with accessing/using my asp.net application.
If the user types the address e.g. 'http://localhost/test' of the application in the browser address field it all works fine. The problem comes when the user clicks on the same address 'http://localhost/test' in a hyperlink form and opens the application through it.
The sessions get all mixed up! The window becomes resizable where as i have fixed the window size(works in the typed url case). The application just starts acting very funny.
Can anyone tell me what could be causing this? and what could be its possible solution??
Thanks!!
Shades
|
|
|
|
|
Hi,
I am using ASP.NET and C# 2.0. I have the following piece of code in my gridview control:
<asp:TemplateField HeaderText="Action">
<ItemTemplate>
<a href='UpdateOrderItems.aspx?OrderID=<%# DataBinder.Eval(Container.DataItem, "ID") %>'>Insert / Update Items</a>
</ItemTemplate>
<HeaderStyle CssClass="GridViewHeader" />
<ItemStyle CssClass="GridViewCell" />
</asp:TemplateField>
Currently the text of the link is Insert / Update Items. I want to do a test on this, if the order has been placed, then I want the link text to display "View", and if it has not been placed, the display "Insert / Update Items". I have now I idea where to do this test?? In my C# class behind the .aspx file? The reson being because the gridview populates the rows and coloumn for you.
Please can someone advise.
Regards,
ma se
|
|
|
|
|
Hello ma se
There are different ways of doing this. One way is to create a method in the code behind file that returns the value that you want to display. So you replace your "Insert / Update Items" part with a method call as the sample below. You can send any data to this method for it to be able to return the right value. Remember to make the method protected, otherwise you cant use it from the aspx page.
<asp:TemplateField HeaderText="Action">
<ItemTemplate>
<a href='UpdateOrderItems.aspx?OrderID=<%# DataBinder.Eval(Container.DataItem, "ID") %>'><%# GetUrlActionText( DataBinder.Eval(Container.DataItem, "ID") %></a>
</ItemTemplate>
<HeaderStyle CssClass="GridViewHeader" />
<ItemStyle CssClass="GridViewCell" />
</asp:TemplateField>
// Put in code behind file
protected string GetUrlActionText(string id)
{
// Code to return either Insert / Update Items or View
bool isOrdered = GetOrderIsPlaced(id);
if (isOrdered)
return "View";
else
return "Insert / Update Items";
}
Another way is to make the check in the aspx file.
<% if (orderPlaced == true) { %>
<asp:TemplateField HeaderText="Action">
<ItemTemplate>
<a href='UpdateOrderItems.aspx?OrderID=<%# DataBinder.Eval(Container.DataItem, "ID") %>'>View</a>
</ItemTemplate>
<HeaderStyle CssClass="GridViewHeader" />
<ItemStyle CssClass="GridViewCell" />
</asp:TemplateField
<% } else { %>
<asp:TemplateField HeaderText="Action">
<ItemTemplate>
<a href='UpdateOrderItems.aspx?OrderID=<%# DataBinder.Eval(Container.DataItem, "ID") %>'>Insert / Update Items</a>
</ItemTemplate>
<HeaderStyle CssClass="GridViewHeader" />
<ItemStyle CssClass="GridViewCell" />
</asp:TemplateField>
<% } %>
the orderPlaced variable is a protected variable in the code behind class that contains the state of the order.
I hope this helps you out.
Kind Regards,
John Petersen
|
|
|
|
|
Hi guys ..
I m trying to create a setup for my application.i choose the web setup project. I get the following error when i try to add the content files
ERROR: Unable to build project output group 'Content Files from IndusInventory (Active)'
can anybody help...
Thanx
|
|
|
|
|
HI
Guys, i am reading the data from an XML file from website in to my own application in dataset then i have assigned that dataset to the grid as a data source ,when i have used it in separate test sample application in ASP.Net 2.0 on ASP.Net Development server it works fine, but when i use it in my project application in ASP.Net 2.0 on IIS , it throws exception while reading the XML file , "Unable to connect to remote server", plz let me know the solution of this ASAP , thankx in advance.
|
|
|
|
|
when u uploaded your code at server then u should take care of path.
u should use server.mappath() for exact location of file .
Mahendra
|
|
|
|
|
Hi guys,
I’m choosing from a dropdown list,
The "SelectedIndexChanged" handler simply invokes Response.redirect() to another page, and from that page I’m clicking the "Back" IE button,
after going back to the 1st page, the drop down list's selected item is the last one used (the one described above....)
Then, every event that happens (any button clicking or different dropdownlists clicking) will trigger this dropdown list's "SelectedIndexChanged" event, although the dropdown list itself haven't been clicked...
Can't really figure it out..
Thanks,
P.
|
|
|
|
|
well the selected index has changed...
when you press the back button, the page is not refreshed, it's just taken from the local cache; so when you will post it to the server, it will compare the old index with the new index and see that they differ.
|
|
|
|
|
Hi, thanks for the reply,
So how can I avoid this situation, that is, not causing the handler to be invoked
(since i didn't actually changed the DropDown list selection....)
Best,
P.
|
|
|
|
|
Don't use the back button; use a hyperlink;
|
|
|
|
|
Hi
I am getting this error when i am begnining the transaction.(sqltran=sqlconn.BeginTransaction) "Execute requires the command to have a transaction object when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized"
But wen i am removing this statement(sqltran=sqlconn.BeginTransaction) the error goes .
Wat cud be the reason???
Thanks
Monika
Monika
|
|
|
|