|
Hi
i am new to asp.net
i have a control <asp:dropdownlist runat="server" id="databaselist">
i want to assign values to it dynamically. can anybody help me?
Regards
Saqib
sAqIb
|
|
|
|
|
What have you tried so far?
|
|
|
|
|
i didn't try anything bcoz i don't know how to do it in asp.net 2. i am expert in asp but not in asp.net 2
sAqIb
|
|
|
|
|
So how would you do it in asp?
|
|
|
|
|
querying the data, then assigning that data to the list.
sAqIb
|
|
|
|
|
|
Also don't repost it.
Best Regards,
Apurva Kaushal
|
|
|
|
|
hi.
I'm having problem in loading crystal report using .aspx file. It give "Report Load Error"
I'm using ASP.NET and VB.NET.
Can anyone help me to resolve this problem?
thank you.
Krishnan_15
|
|
|
|
|
Hi!
I have a usercontrol which has some hyperlinked images this control goes into my aspx page in asp:Content, when i click on one of the links an aspx page should load which works fine and in that page the CS file writes a and populates it with the values from the DB. Now it all works fine if i login as user X this page gives me the correct values in the select list, but if i logout and login again as user Y and click on the hyperlinked image this aspx page loads with select list of previous user if i hit refresh on the browser only then the correct values are populated.
does someone knows how to solve this problem
using .Net framework 2, C#
thanks in advance
Y Masih
|
|
|
|
|
hi
i want to know how to present a live vedio on a web site
using ASP.NET ( C# )
thanx
hamzah
|
|
|
|
|
Sure. What have you tried so far? What resources have you looked into? What research have you done so far?
|
|
|
|
|
i try to make a web site that take a live vedio from some physical location
and represent it on the web site
|
|
|
|
|
hamzah1234 wrote: i try to make a web site that take a live vedio from some physical location
and represent it on the web site
Great. And what specifically isn't working the way you expect it to?
|
|
|
|
|
string str="Provider=Microsoft.Jet.OLEDB.4.0;";
str+=@"Data Source=C:\info.mdb";
OleDbConnection con=new OleDbConnection(str);
string sql="SELECT * FROM user";
OleDbDataAdapter ada=new OleDbDataAdapter(sql,con);
DataSet ds =new DataSet("ds");
ada.Fill(ds,"user");****error occurs in this line
Repeater1.DataSource=ds.Tables["user"].DefaultView;
DataBind();
|
|
|
|
|
"User" is a reserved keyword in SQL.
---
b { font-weight: normal; }
|
|
|
|
|
put the user as [user] and try again
Sathik
|
|
|
|
|
Hello,
I have an aspx page, this page is the content page of a MasterPage.
I also have a .swf file (flash) and I put it inside my aspx file using <object> tag
I set the id and the classid like this:
<object name="EColumnChart" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" id="EColumnChart"
="" width="100%" height="100%" codebase="http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab">
<param name="movie" value="EColumnChart.swf" />
<param name="quality" value="high" />
<param name="allowScriptAccess" value="always" />
I get a javascript error " 'EColumnChart' is not defined".
If I dont use master page I don't get this error.
The master page, the .swf file and the .aspx file are in the same folder
Please help me.
|
|
|
|
|
How do I add an image into a dropdownlist? For example I have a dropdown with country names, I would like to add the flag of that country next to it.
Thanks
|
|
|
|
|
|
hi
i need to a vb code(no html code) for my aspx page:
i want my Gridview refres evry 20 second(but my page not refrsh)
plz help me
|
|
|
|
|
There are two ways for this
1.Use an iframe
2.Use AJAX
Thomas
|
|
|
|
|
can u provide code for the same
am new to Ajax
Thanks,
Mini
|
|
|
|
|
|
Currently we r using Anthem for Ajax any ref for the same.
Thanx,
Mini
|
|
|
|
|
hi there,
I've found many ways of parsing an html file inside an aspx page and they all work good with plain html controls but none of them are able to render a full featured server control.
I was thinking of loading the html file from disk and inserting its contents inside the of my aspx, so far so good but I needed to replace my custom tags on this html file with some function to render the server controls.
---------------------------------------------------------------
SAMPLE HTML:
@@pageheader@@ | @@calendar@@ | @@main@@ | | |
---------------------------------------------------------------
ASPX FILE:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="02.aspx.cs" Inherits="_02" %>
<title>template 2
<%
//LOAD HTML FROM FILE;
//SEARCH FOR MY PRE-DEFINED TAGS
//REPLACE THOSE FOUND TAGS WITH PARSEABLE FUNCTIONS
...eg: the @@calendar@@ custom tag would replaced
with a renderCalendar() function that would render a calendar
when parsed by asp.net
%>
---------------------------------------------------------------
CODEBEHIND:
public void renderCalendar()
{
...
this.Controls.add(aNewCalendar);
}
---------------------------------------------------------------
this approach doesnt work and gives me a :
"Collection was modified; enumeration operation may not execute."
Asp.net will process the page and on the place where the custom
Tags were replaced with my functions (like the calendar) it would
Run that function that adds the control to the collection,
But it control should be added at that specified position on the
Html file. The html should be read by asp.net as it was an
Original aspx code in order to be rendered at the correct place;
Is that possible to achieve?
do you guys have any tip for me?
thanks a lot
-- modified at 13:38 Sunday 8th October, 2006
|
|
|
|