ramdeo angh

ramdeo angh

  • NA
  • 4
  • 5.6k

upload video on youtube using youtube api using asp.net c#

Jul 20 2014 12:50 PM
<%@ Page Language="C#" AutoEventWireup="true" EnableSessionState="True" CodeFile="Default.aspx.cs" Inherits="_Default" %>   <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">   <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server">     <title></title> </head> <body>       <form id="form2" runat="server" method="post">     <asp:Label ID="l1" Text="" runat="server"></asp:Label>     <div>         <asp:Label ID="lbltitle" runat="server" Text="Title"></asp:Label><br />         <asp:TextBox ID="txttitle" runat="server"></asp:TextBox><br/>         <asp:Label ID="lbldescription" runat="server" Text="Description"></asp:Label><br/>         <asp:TextBox ID="txtDescription" Rows="5" TextMode="MultiLine" Columns="5" runat="server"             Height="46px" Width="125px"></asp:TextBox><br/>          <asp:Label ID="lblCatogery" runat="server" Text="Catogery"></asp:Label><br/>         <asp:DropDownList ID="ddlcatogery" runat="server" Height="16px" Width="123px">  <asp:ListItem Value="Autos">Autos &amp; Vehicles</asp:ListItem>             <asp:ListItem Value="Music">Music</asp:ListItem>             <asp:ListItem Value="Animals">Pets &amp; Animals</asp:ListItem>             <asp:ListItem Value="Sports">Sports</asp:ListItem>             <asp:ListItem Value="Travel">Travel &amp; Events</asp:ListItem>             <asp:ListItem Value="Games">Gadgets &amp; Games</asp:ListItem>             <asp:ListItem Value="Comedy">Comedy</asp:ListItem>             <asp:ListItem Value="People">People &amp; Blogs</asp:ListItem>             <asp:ListItem Value="News">News &amp; Politics</asp:ListItem>             <asp:ListItem Value="Entertainment">Entertainment</asp:ListItem>             <asp:ListItem Value="Education">Education</asp:ListItem>             <asp:ListItem Value="Howto">Howto &amp; Style</asp:ListItem>             <asp:ListItem Value="Nonprofit">Nonprofit &amp; Activism</asp:ListItem>             <asp:ListItem Value="Tech">Science &amp; Technology</asp:ListItem>             </asp:DropDownList><br />           <asp:Label ID="lblkeywords" runat="server" Text="Key words"></asp:Label><br/>         <asp:TextBox ID="txtkeywords" runat="server"></asp:TextBox><br/><br />         <asp:FileUpload ID="FileUpload1" runat="server" />         <br /><br />          <asp:Button ID="Button1" runat="server"  Text="Upload on youtube" onclick="Button1_Click" /> <br />        </div>        </form>     <div>          </div>   </body> </html>

Answers (2)