|
Hi i have a dataset ? i want to filter it based on some value i.e it conntains Department ID columsn and i want to filter based on a particular ID ...
Please give ur valuable suggestions . Thanks in advance
|
|
|
|
|
Hi phani420,
maybe you could use the DataSet.Tables.Select() method. There you can pass a string (select-stmt) to get all rows matching the passed criteria.
Does this help you?
Regards
Sebastian
|
|
|
|
|
Yes .. Thanks
|
|
|
|
|
Hello Everyone
I am woking on asp.net 2.0 and i am using a Freetextbox control but does'nt works on Safari 3.0.4 browser.
I want a Freetextbox like control that will support in all the browsers like IE6, IE7, Mozilla, Safari etc.
Thanks in advance
Saurabh Agarwal
|
|
|
|
|
Dear Friends ,
I have dot net application ? is it possible to integrate with TOMCat . if s please list down the approach for that .. need very urgently and confirmation wellfor the same.
|
|
|
|
|
I searched a lot on Internet but failed to find any .net installed that can configure itself in TOMCAT.
Server Installation Requirements:
"Internet Information Services (IIS) version 5.0 or later. To access the features of ASP.NET, IIS with the latest security updates must be installed prior to installing the .NET Framework. ASP.NET is supported only on the following platforms: Microsoft Windows 2000 Professional (Service Pack 3 recommended), Microsoft Windows 2000 Server (Service Pack 3 recommended), Microsoft Windows XP Professional, and Microsoft Windows Server 2003 family"
Check out:
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en
I don't think, .net will work on Tomcat. You can search over internet for a compatible installer.
|
|
|
|
|
Hi friends,
I have add a embded windows media player in my site using following code,
<object id="wmp" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" style="width: 475px;
height: 367px;" type="application/x-oleobject" pluginspage="http://www.microsoft.com/Windows/Downloads/Contents/MediaPlayer/">
<param name="URL" value="<%=url_filename %>"/>
<param name="enabled" value="True"/>
<param name="AutoStart" value="True"/>
<param name="PlayCount" value="0"/>
<param name="Volume" value="50"/>
<param name="balance" value="0"/>
<param name="Rate" value="1.0"/>
<param name="Mute" value="False"/>
<param name="fullScreen" value="False"/>
<param name="uiMode" value="full"/>
<param name="ShowStatusBar" value="True" />
<param name="SendPlayStateChangeEvents" value="True" />
<param name="autorewind" value="True" />
</object>
But its not supporting many formats is there is any way to code such that it will accept some additional formats
and one more problem is i uploaded this in server but some formats which can play in my system cant supported in other systems.
|
|
|
|
|
B87 wrote: i uploaded this in server but some formats which can play in my system cant supported in other systems
Embedded objects run on the client side, so the supported formats depend on the codecs that are installed on the client's system. The best solution to this is to simply use a standard format such as MP3 or WMA so that it plays on all systems.
|
|
|
|
|
Hi, How can I create a move next command in my dataset???
<br />
Dim DS As New DataSet<br />
<br />
TextBox1.Text = DS.Tables(0).Rows(DS.Tables(0).Rows.Count() + 1).Item("ITEM_NAME")<br />
This code that I've used just give a move last command and i can't figure out how to the move next so that I can look for the items in my data base one-by-one.
can you give me some solution?
Thanks a lot in advance.
|
|
|
|
|
Hi Meki,
what you are trying to implement is a enumerator. You could use the enumerator of the DataRowCollection.
<br />
IEnumerator oEnum = DS.Tables[0].Rows.GetEnumerator();<br />
while(oEnum.MoveNext()) {<br />
DataRow rowCurrent = oEnum.Current as DataRow;<br />
Textbox1.Text = rowCurrent.Item["ITEM_NAME"].ToString();<br />
}<br />
I hope this helps you.
Regards
Sebastian
|
|
|
|
|
Don't keep posting to every forum you can find, instead read the anserws you have been given...................
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I have developed a dll in .net. I am displaying the object in an aspx page with the following code:
<object classid="http:BrowserBin/BKDocuments.dll#BKDocuments.DocBrowserAppControl"
id="DocBrowserApp" name="DocBrowserApp" width="800" height="500">
</object>
I have the IIS set to scripts only. And I have the Mime type set.
Once the website is deployed, the object is displayed properly only on the development machine on which I developed the app.
From any other machine, the object does not load. I have adjusted all zones to be fulltrust...just to try to get this to work.
I was hoping someone would have some idea of where I might begin to debug this problem. Thanks
|
|
|
|
|
Hello folks,
I am working on Delphi since more than a week now.
Since then I have been trying to consume a web service created in C# .NET using a Delphi desktop application.
Can someone please help me with the issue I have here:
My web service has two methods:
1. One doesn't take any parameters & returns a text data.
2. Takes a string parameter & returns a string data.
My problem here is, I can call 1st method without any problem, but when I call second method, I get nothing out of that method. Same two methods work absolutely fine in C# .NET.
Can you please help me out, I can't find any way out of it.
|
|
|
|
|
Hi,
if I understood you right the problem is, that the parameter you pass is null for the second method. Maybe there is a problem with filling the SOAP-request for the second method. Check the wsdl of your service, how the request must look like (especially the parameter) and then try to use a tcp-monitor to check if your delphi application puts the passed string in the correct field of the request.
I'm just guessing, so I hope this helps you a bit.
Regards
Sebastian
|
|
|
|
|
Hey I am receiving 3 errors in this code, I am using 2008 web developer with C#, any help would be greatly appreciated. I want to see other peoples' opinions before I display my own for an unbiased opinion. Thanks
Errors: (...this.txtSearch.Text; )
(...GetIDSimple(entry...)
(...this.lblresults.text)
_____________________________________________________
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using Google.GData.Client;
using Google.GData.Extensions;
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string url = "http://gdata.youtube.com/feeds/videos?q=" + this.txtSearch.Text;
AtomFeed myFeed = GetFeed(url, 1, 15);
DisplayFeed(myFeed);
}
private static AtomFeed GetFeed(string url, int start, int number)
{
System.Diagnostics.Trace.Write("Conectando youtube at " + url);
FeedQuery query = new FeedQuery("");
Service service = new Service("youtube", "exampleCo");
query.Uri = new Uri(url);
query.StartIndex = start;
query.NumberToRetrieve = number;
AtomFeed myFeed = service.Query(query);
return myFeed;
}
private void DisplayFeed(AtomFeed myFeed)
{
System.Text.StringBuilder sb = new System.Text.StringBuilder();
foreach (AtomEntry entry in myFeed.Entries)
{
#region render each
sb.Append("<br /><b>Title:</b> ");
sb.Append(entry.Title.Text);
sb.Append("<br /><b>Categories:</b> ");
foreach (AtomCategory cat in entry.Categories)
{
sb.Append(cat.Term);
sb.Append(",");
}
sb.Append(RenderVideoEmbedded(getIDSimple(entry.Id.AbsoluteUri)));
sb.Append("<br /><b>Published on:</b> ");
sb.Append(entry.Published);
#endregion
}
this.lblResults.Text = sb.ToString();
}
private string RenderVideoEmbedded(string idSimple)
{
return string.Format("<div id=\"video{0}\"><object width=\"425\" height=\"355\"><param name=\"movie\" value=\"http://www.youtube.com/v/{0}&rel=1\"></param><param name=\"wmode\" value=\"transparent\"></param><embed src=\"http://www.youtube.com/v/{0}&rel=1\" type=\"application/x-shockwave-flash\" wmode=\"transparent\" width=\"425\" height=\"355\"></embed></object></div>", idSimple);
}
}
|
|
|
|
|
Aehm, well and the errors are? What kind of errors do you get? Compiler, runtime? Maybe the textbox and the label are not declared. Same with the getIDSimple-method.
|
|
|
|
|
haha well they were ---> are you missing a using directive or an assembly reference? and not in current context
but I knew I had all needed references/dll in my bin
I found out at work later in the day why, I should slap myself
they all started with lower case, I had uppercase
(I have another problem I am posting soon, maybe I can get some help with this one)
|
|
|
|
|
Well, if you want any help you need to post the error messages and where they occur. Have you tried the simple solution of stepping through in debug?
Bob
Ashfield Consultants Ltd
|
|
|
|
|
I found out at work later in the day why, I should slap myself
they all started with lower case, I had uppercase
(I have another problem I am posting soon, maybe I can get some help with this one)
|
|
|
|
|
hi,
plz tell me how can i modify the url from
xyz.com/page.xyz
to
xyz.com/page.html
I want to make sure that whenever a url is hitted with some page.<anything> it should be rewritten as page.html.
PS: I am using plain html files.
Thanks
Aditya
|
|
|
|
|
Well I'm sure you can do this:
Since you're using plain html files then when you save the file, in your example the save name would be 'page' ( resulting in xyz.com/PAGE.xyz )
Do This--> save the file as 'page.html' and upload to your ftp. It should come up on the browser as xyz.com/page.html
Example:
say the website is www.google.com
and the file name is 'probe'
normally it would show www.google.com/probe.xyz
(the .xyz is whatever you type the file in such as a simple .txt if using notepad)
just save that same file as 'probe.html' and upload to your ftp and it should come out as
www.google.com/probe.html
It's as simple as that if I understood correctly
|
|
|
|
|
Hey thanks for the reply,
however i think there is miscommunication.
Let me explain this issue to you -
I have my pages all ending with ".htm" so the default file is default.htm
However, i want to make sure, even if somebody hits "default.html" it should not go to 404 page instead it should be redirected to default.htm page. so the page wont appear broken for simple 'l' in the .html.
so i want to rewrite URLs ending with .html to end with .htm
I hope i am clear enough this time.
Thanks again,
Aditya
|
|
|
|
|
ok, Well in that case the only way I know how to solve such an issue
is to create a file called default.html and have it auto redirect to default.htm
that way whenever a user types either name both goes to default.htm
|
|
|
|
|
thank you...
well actually it was not just for one page.. i wanted it for whole site.. i have heard of the mod rewrite.. but i am not sure about the regular expression and the syntax that needs to be there for rewriting the URLs automatically for any page within the site.
Anyway thanks for your efforts!!!
cheers,
Aditya
|
|
|
|
|
HI...
I am developing in asp.net with mysql database.
Someway or the other I am unable to connect to database, and gives me the error..as follows
"ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified"
I am using Vista operating system
I also installed odbc connector version 3.51 for mysql , but getting same error message..
Please guide me to resolve the problem....
Thanks.
Hemant thaker
By:
Hemant Thaker
|
|
|
|