Hi Mc, Why you are not trying for YoueTube API? Bcz. if u want to show youtube video, then it will embed that video frame into your page. If you are using silverlight control, then just pass the video url to your media control. Hope it work. Best of luck!
Navin Pandit
Posts
-
"Embed" an external video clip -
"Embed" an external video clip -
String compare oddity [modified]One way is to put each characters into an array and the sort the array. Second option is: convert each chars of string to ASCII value. Sort the value and then reconvert it to chars. Finally, merge the chars. You will get the sorted string.
-
Max. number of concurrent user in PostGre databaseMany thanks for your nice reply Jschell! Sorry, unfortunately I wrote the term connection. My focus is about to max. possible number of database concurrent user only. Thanks,
-
Max. number of concurrent user in PostGre databaseMany thanks Mika for your quick reply, but this determines the max. number of connection currently established with the server. Actually I want to know the max. number of possible concurrent users, beyond that number database may not listen about the user/request. I am not sure but in some forum it was mentioned around 12000. Is there any such number of possible users? Regards, Navin
-
Max. number of concurrent user in PostGre databaseHi All, Can anybody plz. answer what is the maximum number of concurrent user in PostGre database (with current version or any previous)? Your reply is highly awaiting. Thanks in advance! With Regards, Navin Pandit Mail:navin2k6@gmail.com Gurgaon, (India)
-
FindControl which is inside of a Repeater controlHii, Use this or mail me your scenario in which scope you want to use. Remmeber, before using this lines of code, you must bind your repeater control, otherwise it will not work as the control has no values. Hope this will work: foreach (RepeaterItem item in Repeater1.Items) { Label lbl = (Label)item.FindControl("lblName"); // Use any othe asp control that you want instead of 'Label'. if (lbl != null) { lbl.Text="I cached you!"; } } Or, for "DataBound" event of repeater you can use as:- protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == ListItemType.Item || e.Item.ItemType == ListItemType.AlternatingItem) { Label lbl = (Label)e.Item.FindControl("lblID"); if(lbl!=null) { // Do your code with found control; } } } Regards, Navin C. E-mail: navin2k6@gmail.com :)
modified on Tuesday, December 15, 2009 5:25 AM
-
FindControl which is inside of a Repeater controlHii, You are getting error bcz your it unable to find th row at 0th index. So better use in the Repeater1_ItemDataBound event, also must check the condition: protected void Repeater1_ItemDataBound(object sender, RepeaterItemEventArgs e) { if (e.Item.ItemType == DataControlRowType.DataRow) { // your code.. LinkButton lnk = (LinkButton)e.Item.FindControl("control_id"); } } Or you can also go for this: This code will work inside/outside of anyevent foreach (RepeaterItemCollection item in Repeater1.Items) { LinkButton lnk = (LinkButton)item[0].FindControl("control_id"); } Now choice is yours which is more suitable for you but also mind in which scope you are using the code. Navin C.
-
how to display data horizontally in repeater??Hii, This may help you. If you want to bind data horizontally: <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <%#Eval("Name") %> </ItemTemplate> </asp:Repeater> and this will bind vertically: <asp:Repeater ID="Repeater1" runat="server"> <ItemTemplate> <div> <%#Eval("Name") %> </div> </ItemTemplate> </asp:Repeater>
-
How to develop own News section in C# ASP.Net 2.0 ??Hii, I am getting this error while using RSS feed on my application: Error: "The remote server returned an error: (407) Proxy Authentication Required" I am using yahoo rss feed, the XPath link is : http://rss.news.yahoo.com/rss/topstories Plz suggest me, if you ahve any answer. Thanks.
-
How to develop own News section in C# ASP.Net 2.0 ??Thanks lot for your nice responce n quick answer :)
-
How to develop own News section in C# ASP.Net 2.0 ??Thanks lot for your nice responce n quick answer
-
How to develop own News section in C# ASP.Net 2.0 ??Thanks a lot for your nice answer.
-
How to develop own News section in C# ASP.Net 2.0 ??Hello Friends, I want to develop a news section on the site, this section will collect the latest news from some of web servise or like resource in XML or related format and will display in my developed news section. How can I do this using C# & ASP.Net 2.0 ? If anyone of you have any idea, please answer me. I will be much thankful to you. Many thanks in advance. Navin C Pandit E-Mail: navin2k6@gmail.com