|
Hai Christian Graus,
Thanks
|
|
|
|
|
I made a media player a while back because I HATE iTunes and Zune software. What I did what make a column in the DataGrid store the path, and then simply didn't display that column to the user.
Would that be a possibility?
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
|
|
|
|
|
Hai,
Thats fine,but i want to give the file names to the user to choose the file to play,All that are audio files,so user cant select their own files ,cant maximize ,all they can do is play the files listed in the gridview.And finally i got the solution and now it is working fine,again thanks for the ideas.
|
|
|
|
|
i m working in ASP.net with VB.In my project i have enter the content of a file into the BLOB type field of an oracle table.How can it be possible.It will be a document back up system,where all content of a file will be transfered to a table.So how can i fetch the content of the doc or ppt,pdf type file and transfer it to the oracle table.
If you have any article then plz mention.
Thanx in advance.
Sourav
|
|
|
|
|
Hello All,
I would just like to get some advice (ie not solutions) about how I may be able to learn about making web mashups for my college project.
At this moment in time I have learnt about basic XML, how to a basic webservice and consuming a web service.
For example I have looked at Amazon web services and gone through the example of how to search for their catalogue on my own website and bringing up results.
However I would like to do something slightly more complex than that, but I find that their references are really difficult to understand.
Can someone outline the key concepts for me to achieve this and what resources that provide a more simpler outline , i can use to improve my understand how to make mashups.
Best Regards and Many Thanks
|
|
|
|
|
I guess you intend on consuming a number of web services and then showing the data from those services in your page ? I would imagine then what you need to do, is define the webservices you want to get data from, then look at the format of their data. A collection of nodes, as you'd get by taking a piece of XML, putting it in an XMLDocument and calling SelectNodes on it with some XPath, is a valid data source for a control such as a grid view or data grid, so I'd imagine you could get a list of items, show it and have pages you link to that show the details of a specific item.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
Hello Christian,
That is correct...I am consuming a number of web services and showing it all in one project.
At the moment I am experimenting with the Flickr API, and i can wire the web service up to my application, authenticate it , that is fine. However in this one instance I have the urls of the flickr results defined by a search engine.
For example i type in "food" in the textbox and click search and the urls come up.
My problem i guess is trying to wire up the urls into a datalist/repeater so that I can display the images. I have thought of creating an xml file each time a search is generated so that the urls can be stored , which in turn can be used as the datasource by the repeater. Is there a better way of doing this? Many thanks for your response.
Best Regards
|
|
|
|
|
Hi
I am new to ASP and have the following code on my html page. It is basically an invitation to a google group. You type in your email and then hit subscribe. How do I port this to asp?
<table align="center" border="0" cellspacing="0" style="padding-right: 5px; padding-left: 5px;
padding-bottom: 5px; padding-top: 5px; background-color: #fff; color: #000000;">
<tr>
<td>
<img alt="Google Groups" height="26" src="http://groups.google.com/groups/img/3nb/groups_bar.gif"
width="132" />
</td>
</tr>
<tr>
<td style="padding-left: 5px">
<b>Subscribe to OkaloosaRugby</b>
</td>
</tr>
<form action="http://groups.google.com/group/okaloosarugby/boxsubscribe">
<tr>
<td style="padding-left: 5px">
Email:
<input name="email" type="text" />
<input name="sub" type="submit" value="Subscribe" />
</td>
</tr>
</form>
<tr>
<td align="right">
<a href="http://groups.google.com/group/okaloosarugby">Visit this group</a>
</td>
</tr>
</table>
|
|
|
|
|
Are you doing ASP, or ASP.NET ? They are different.
You can just type this in directly, the form will submit with the info just as you want it. ASP.NET just emits HTML, if you want to use HTML directly, you always can, there's actually nothing else your browser understands.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
I can't figure out why I'm getting this error, any ideas? I also get 'Virtual Directory does not allow content to be listed' until I restart VS2008 SP1.
Has anyone encountered similar issues?
Error:
Cannot find ContentPlaceHolder 'ContentPlaceHolder1' in the master page '/TestWebSite/WroxMozilla.master', verify content control's ContentPlaceHolderID attribute in the content page.
Wrox.master
<![CDATA[<%@ Master Language="C#" AutoEventWireup="true" CodeFile="Wrox.master.cs" Inherits="Wrox" %>]]>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:contentplaceholder id="head" runat="server" xmlns:asp="#unknown">
</asp:contentplaceholder>
</head>
<body>
<form id="form1" runat="server">
<div>
<table cellpadding="3" border="1">
<tr bgcolor="silver">
<td colspan="2">
<h1>My Company Home Page</h1>
</td>
</tr>
<tr>
<td>
<asp:contentplaceholder id="ContentPlaceHolder1" xmlns:asp="#unknown">
runat="server">
</asp:contentplaceholder>
</td>
<td>
<asp:contentplaceholder id="ContentPlaceHolder2" xmlns:asp="#unknown">
runat="server">
</asp:contentplaceholder>
</td>
</tr>
<tr>
<td colspan="2">
Copyright 2008 - My Company
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
WroxMozilla.Master
<![CDATA[<%@ Master Language="C#" MasterPageFile="~/Wrox.master" AutoEventWireup="true" CodeFile="WroxMozilla.master.cs" Inherits="WroxMozilla" %>]]>
<asp:content id="Content1" contentplaceholderid="head" runat="Server" xmlns:asp="#unknown">
Mozilla!!
</asp:content>
<asp:content id="Content2" contentplaceholderid="ContentPlaceHolder1" runat="server" xmlns:asp="#unknown">
</asp:content>
<asp:content id="Content3" contentplaceholderid="ContentPlaceHolder2" runat="server" xmlns:asp="#unknown">
</asp:content>
Default.aspx
<![CDATA[<%@ Page Title="" Language="C#" MasterPageFile="~/Wrox.master" Mozilla:MasterPageFile="~/WroxMozilla.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>]]>
<asp:content id="Content1" contentplaceholderid="head" runat="Server" xmlns:asp="#unknown">
</asp:content>
<asp:content id="Content2" contentplaceholderid="ContentPlaceHolder1" runat="Server" xmlns:asp="#unknown">
</asp:content>
<asp:content id="Content3" contentplaceholderid="ContentPlaceHolder2" runat="Server" xmlns:asp="#unknown">
</asp:content>
Jon
|
|
|
|
|
Use the "Ignore HTML" option when you post markup code. Now I can't tell exactly which markup is yours, which was added by the forum, and what it is that isn't visible.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
GIVE 3 TIER ARCHITECTURE INTRODUCTION WITH SMALL EXAMPLE PROGRAM IN ASP.NET
|
|
|
|
|
Do your own homework. Try google.
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Wow - they teach 3 tier ASP.NET projects in schools now ? Too bad you're going to fail.
Your caps lock key is stuck, too.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
GIVE ME ALL YOUR PATHETIC PAYCHECKS FOR THE REST OF YOUR LIFE.
Sounds unreasonable, doesn't it?
|
|
|
|
|
Unreasonable? No, not a chance! Standard compensation for answering a dumb question or demand.
|
|
|
|
|
leckey wrote: GIVE ME ALL YOUR PATHETIC PAYCHECKS FOR THE REST OF YOUR LIFE.
Hey, I could spot you a $50 if you need it. That's about all we're talking about, right ? :P
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
http://www.linuxjournal.com/article/3508
|
|
|
|
|
HELLO!
I WANT TO KNOW THAT HOW TO INTIGRATE WITH PAY PAL IN OUR SITE?
PLZ REPLY WITH SMALL EXAMPLE
|
|
|
|
|
Well, have you considered visiting the Payal site? Tey tell you exactly what to do
AND TURN YOUR CAPS LOCK OFF
Bob
Ashfield Consultants Ltd
Proud to be a 2009 Code Project MVP
|
|
|
|
|
Surely this means you're not doing homework. Contact your client, tell them that the downside of outsourcing is that they will pick a low bid and end up dealing with someone who is totally clueless. Admit you lied, and give them their deposit back. Then, perhaps you won't go to hell when you die.
Christian Graus
Driven to the arms of OSX by Vista.
|
|
|
|
|
YOU ARE A GREAT EXAMPLE OF AN IDIOT WHO WON'T DO THEIR OWN WORK.
I read your past posts. Take on another career.
|
|
|
|
|
I don't know if this is the correct place to post this or even if this is to much to ask. If so sorry and I will not do it again. Below is the HTML output from an ASP gridview. I am using the css friendly browser. I have searched every where and can only find basic css articles. Can anyone either help me or point me in the right direction on making a proper css file for this gridview?
class="AspNet-GridView" id="ctl00_ContentPlaceHolder1_GridViewCMInformation">
<table cellpadding="0" cellspacing="0" summary="">
<thead>
<tr>
<th scope="col"> </th>
<th scope="col">First Name</th>
<th scope="col">Last Name</th>
<th scope="col">Email</th>
<th scope="col">UserID</th>
<th scope="col">Password</th>
</tr>
</thead>
<tbody>
<tr>
<td>
</td>
<td>
<input name="ctl00$ContentPlaceHolder1$GridViewCMInformation$ctl02$FirstName" type="text" value="test" id="ctl00_ContentPlaceHolder1_GridViewCMInformation_ctl02_FirstName" style="width:200px;" />
</td>
<td>
<input name="ctl00$ContentPlaceHolder1$GridViewCMInformation$ctl02$LastName" type="text" value="test1" id="ctl00_ContentPlaceHolder1_GridViewCMInformation_ctl02_LastName" style="width:200px;" />
</td>
<td>
<input name="ctl00$ContentPlaceHolder1$GridViewCMInformation$ctl02$Email" type="text" value="test2" id="ctl00_ContentPlaceHolder1_GridViewCMInformation_ctl02_Email" style="width:200px;" />
</td>
<td>
<input name="ctl00$ContentPlaceHolder1$GridViewCMInformation$ctl02$UserID" type="text" value="test3" id="ctl00_ContentPlaceHolder1_GridViewCMInformation_ctl02_UserID" style="width:200px;" />
</td>
<td>
<input name="ctl00$ContentPlaceHolder1$GridViewCMInformation$ctl02$Password" type="text" value="test4" id="ctl00_ContentPlaceHolder1_GridViewCMInformation_ctl02_Password" style="width:200px;" />
</td>
</tr>
<tr class="AspNet-GridView-Alternate">
lt;/tr>
|
|
|
|
|
The following code is not running, somehow, any idea why?
protected void Page_Load(object sender, EventArgs e)
{
if (!Page.IsPostBack) {
Label1.Text = System.Guid.NewGuid().ToString();
}
}
2. I'm also getting 'This Virtual Directory does not allow contents to be listed.' When I run the solution. The solution includes a MasterPage and a webform named default.aspx that uses the MasterPage:
<![CDATA[<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>]]>
Ref:
Code listing in a reference guide.
Jon
|
|
|
|
|
Which line is throwing error? Object reference not set to an instance of an object will come only when the object is not initialized. Step into the code and see which object is becoming NULL.
|
|
|
|