5,691 Topics
![]() | |
My .cs file is not recognizing the objects on my asp page. I m working on Visual Studio 2010, when i reference any object like TextBox1.Text it shoes error, TextBox1 is on the page and its visibility is also true, still it's conflicting :( :'( | |
I have created one form named newest_receipe.aspx in which i have various receipes name with respective date and time in a data list and receipe names are displayed using hyperlink. <asp:DataList ID="DataList1" runat="server" DataSourceID="SqlDataSource1" onselectedindexchanged="DataList1_SelectedIndexChanged"> <ItemTemplate> <asp:HyperLink ID="HyperLink20" runat="server" Font-Underline="True" ForeColor="#0000CC" onload="HyperLink20_Load"> <%# Eval("recipe_name") %> </asp:HyperLink> <asp:Label ID="datetimeLabel" runat="server" Text='<%# … | |
I have searched this forum and see that there are quite a bunch of topics related to files being used by another process. However, none of them seem to fit or work for me. This is my scenario - I have an XML file that is used as a template, … | |
i have one combobox and it is containing some items when ever i changed that item the output is generated according that it means i store databases in my combobox the default item is "select" like this I have so many forms when ever i changed my cbdatabaselist that database … | |
Hi, I have a designed a page in asp.net. I want to setup in IIS that page so that if i enter localhost it will take me to that page. Kindly help me how to do it. Regards Vivek | |
hi.. am new for asp.net... tried all net solution... but nothing can work... how to print a asp.net web page???? | |
i want to include content of some other site on my website..... Suppose i want to display the headlines from all major news sites into my page..... the technique is Screen Scraping but i was not able to implement it..... i heard it can be done by "sgmlreader" but that … | |
Ok so I have made ASP.NET website I have used Access database 2010 but I am having problems with one particular thing when I try and run the website I am getting this error which says OleDbException was unhandled by user code and Could not find file 'C:\Program Files\Common Files\Microsoft … | |
For a lack of words, I'm confused with my server at the moment. I moved an old site on ASP/Access over to ASP/SQL Server 2008 Express, and now some data appears, while other data does not. This one is an odd ball to me. I have data cells of the … | |
hi i have installed iis in my laptop that is running a windows 7 prof os and i have been trying to run asp pages and i am not able to do it.. i get the error message saying "the requested url not found on this server"..what can i do … | |
hi everyone , write now i have a with data which i want show the in tabular format like my query gives output like Name Location Rate AA A1 56 AA A2 27 AA A3 67 AB A1 56 AB A2 27 AB A3 67 BB A1 45 BB A2 … | |
Hi, how can I change the HTML code via VB .Net code? For example, on .aspx file I have: <div class="Menu_On"><asp:LinkButton ID="Link_Menu1" runat="server">Menu 1</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu2" runat="server">Menu 2</asp:LinkButton></div> <div class="Menu_Off"><asp:LinkButton ID="Link_Menu3" runat="server">Menu 3</asp:LinkButton></div> Then, when I click the "**Menu 2**" link, the class which coping the link should change … | |
![]() | Hi i am building a website using ASP.net Razor Syntax (webapges) I am using C# and can't get response.redirect to work. This is my code: Response.Redirect("~/sitedown.cshtml"); I have put @using System.Web.WebPages() at the top of the page. The error message is: CS0103: The name 'Response' does not exist in the … |
Hi, I'm trying to get data from a database and display the results using Eval, but it doesn't seem to work, I've tried `<asp:label id="InfoAvailableDesc" runat="server" Text='<%# Eval("InfoAvailable") %>' /></td>` and <asp:label id="InfoAvailable" runat="server"> <asp:literal id="litInfoAvailable" runat="server" text='<%# Eval("InfoAvailable") %>'/> </asp:label> Neither seem to work, these are both inside a … | |
Hi friends, I am a student of BScIT and I want a project which is to be done in ASP.NET language. I surfed the internet but not found anything new... So, Is there anyone who can give me good suggestion??? & also help me give some objective i.e. what the … | |
i want to send mail notification to anwer the question in forum.how its possible...?? | |
We are planning to move our website to a new domain. Not only are we moving the site, we are also redesigning the entire site. Both sites are programmed in ASP classic (yeah, I know). Currently we have one single, dynamic page which handles all of our equipment searching/equipment listings. … | |
Hello people, Please i need your help here. I have been trying to send mail in my asp.net, but no success.Click this link and try sending mail to see the error:"http://www.ckcayangba.com/Contents/Contacus.aspx". Honestly i don't know where i am going wrong. Here is my code behind: protected void ImageButton_Submit_Click(object sender, ImageClickEventArgs … | |
Hello people, i need your help here;I want to use this code on asp.net application that has seperate files "Contactus.aspx and Contactus.aspx.cs" please how do i arrange these codes. [CODE]<%@ Import Namespace="System.Net" %> <%@ Import Namespace="System.Net.Mail" %> <script language="C#" runat="server"> protected void Page_Load(object sender, EventArgs e) { //create the mail … | |
I am trying to run an asp page with an external JavaScript file but it is showing error like this.... Error Type: Active Server Pages, ASP 0124 (0x80004005) The required Language attribute of the Script tag is missing. /ew-ii-as-8/testserverwithEJSF.asp, line 3 My both files are... TestServerWithEJSF.asp [CODE] <html> <head> <script … | |
Hi there, i have a internet connection with a freebox server who has a static ip address. I would like to use my laptop as a web server to host my sites in ASP language or ASP.NET and see them on the web, my OS is windows 7, which program … | |
Hello, I am getting the error: ADODB.Recordset error '800a0e78' Operation is not allowed when the object is closed. regarding the line below stating: "Do Until intX = 1 Or GEMCCdb.EOF" [CODE] <% strPwd = Request.Form("pwd") strUsr = Request.Form("usr") Set GEMCCdb=Server.CreateObject("ADODB.recordset") GEMCCdb.open "TABLE", "DSN=DBNAME;uid=USERNAME;pwd=PASSWORD",2,3 GEMCCdb.MoveFirst Do Until intX = 1 Or … | |
I have a project in visual studio 2010 and i use c# and asp.I want to use a part of code that uses dll files.I don't know to import the dll to my project. I do know for example,how to use css and javascript: But i think for dll is … | |
Dear Sir/Madam, I have created some ASP pages in my computer and stored those pages into the web site content directory (in my case C:\PanWeb) and IIS's Virtual Directory alias is "abcweb" created with the IIS V5.1 However, i can browse those pages in my computer by putting the 127.0.0.1/abcweb/ … | |
how can i connect sql server db in asp using c#? please give me an example | |
I am creating a web page with dynamic controls and want to add events to the controls. Specifically, I have labels and checkboxes on my web page and want to add an event to review the status of the checkboxes. In the event, I want to check to see if … | |
[ICODE]listbx.Items.Add(New _ ListItem(BorderStyle.None.ToString(), BorderStyle.None)) listbx.Items.Add(New _ ListItem(BorderStyle.Double.ToString(), BorderStyle.Double)) listbx.Items.Add(New _ ListItem(BorderStyle.Solid.ToString(), BorderStyle.Solid))[/ICODE] can anyone please tell me how to do this in asp code.. in vb.net it adds the borderstyle as value... when i try that in asp.net it just adds string value. [ICODE]<asp:ListItem Text=Solid Value=Solid></asp:ListItem>[/ICODE] do I have to … | |
Hi Friends, can anyone provide me java script for asp.net calender control using regular expressions for mmm-dd-yyyy format. it must check whether the year is leap year or not and for month it should check whether it has 28or30or31 days and it should also check (jan-00-000 ) month year should … | |
I need useful tutorial for globalization in asp.net 4.0 | |
I had done my CR with version 8.0 and I can load the report successful with asp.net coding but failed to do the same for asp. Does anyone have any code sample or any reference? I had googled it but failed to get any answer. Thanks in advance. | |
hello ! please any one help me how to pass my array as a parameter from extjs 3 to c# webserivce , so that i can save it in my database please help me Best wishes | |
One of the most important things to understand when automating office, is that it's heavily [search]OOP[/search], and therefore you are forced to work with objects. In order to create an object that is external to your application (for example an office application, whereas a button or textbox would be internal … | |
Hello. I am using this code to save asp.net page as an MS Word doc file. protected void GenerateMsWordDoc(object sender, EventArgs e) { string strBody = "<html>" + "<body>" + "<table width=\"100%\" style=\"background-color:#cfcfcf; font-family: Arial, Helvetica, sans-serif\"><tr><td>????</td><td>2nd cell body data</td></tr></table>" + txtName.Text + "</b></div>" + "Ms Word document generated successfully." … | |
Hello, I have already build my web application under Visual Studio 2005 as [B]"ASP.Net Website"[/B]. This application use also web service that I created also as [B]"ASP.NET Web Service".[/B] So now we decided to give the web application to our customer as a binary code (myapp.dll & all files such … | |
Hi I've ms database where I've added one image(one so far for testing). Also in that DB(database) I have UserID and ItemID. Image I've added to DB (.mdb format) manually as OLE object. (It was : right click on DB field / Insert Object / from file/ picked up a … | |
Hi, I'm using asp.net together with vb.net. I am trying to develop: 1. a login page in asp.net, once user enter the correct username and password, this will be directed to the User page. 2. In User page, there will be some text fields of the user (eg. name and … | |
DataTable dt1= new DataTable(); dt1.Columns.Add("id", i.GetType()); dt1.Columns.Add("child", i.GetType()); dt1.Columns.Add("parentname"); dt1.Rows.Add("1","0","one"); dt1.Rows.Add("2", "0", "two"); dt1.Rows.Add("3", "0", "three"); dt1.Rows.Add("4", "3", "four"); dt1.Rows.Add("4", "2", "four"); dt1.Rows.Add("5", "3", "five"); dt1.Rows.Add("5", "4", "five"); dt1.Rows.Add("6", "5", "six"); i need output like in tree view 6-----root node --->5 ---->3 ---->4 --->2 --->3 please any one help me … | |
[CODE]DataTable dt1= new DataTable(); dt1.Rows.Add("1","0","one"); dt1.Rows.Add("2", "0", "two"); dt1.Rows.Add("3", "0", "three"); dt1.Rows.Add("4", "3", "four"); dt1.Rows.Add("4", "2", "four"); dt1.Rows.Add("5", "3", "five"); dt1.Rows.Add("5", "4", "five"); dt1.Rows.Add("6", "5", "six"); [/CODE] i need output like in tree view 6 5 3 4 2 3 please any one help me .. i will give input … | |
I have created a new website . With access db inside app data folder. . And hosted in server. . Bt it is not retrievind or updating db datasg . Why it is happening ? | |
Hi Every time I change the parameters for FFMPEG it doesn't work. I want to increase the quality and add meta data with flvtool2 for streaming Video is my input variable and mpg is the output variable. Does the parmeter string need concatenation with & symbols or with + symbols? … | |
how to find keyword in asp.net using vb.net????? | |
hello to all. I have a problem. I want to alter a table to add three columns whenever i click a button.But i want the name of the table taken from a drop down list, and the name of the three columns are also taken from either a drop down … | |
[B]Hi all, I would ask about fileUpload control, in asp.net 2008 can I know how remaining time to upload file successfully without using threading and without using javascript? the progress bar not problem, the problem that faced me is how to know how much file size was uploaded...[/B] | |
Hey everyone, my issue is a little strange, I have a form that has checkboxes, and depending on the selection, a textbox might appear for further info. I want to loop through the controls that have been selected, if it's only a checkbox than just add the Value of the … | |
Hi, anybody could help me how to create video thumbnail in asp.net,c#? | |
I cant load the image from database please help.. [CODE]strsql = "select top 1 id,shape from table" set rsgetimage = server.CreateObject("adodb.recordset") rsgetimage.open strsql,application("connectionstring") Response.Expires = 0 Response.Buffer = TRUE Response.Clear Response.BinaryWrite(rsgetimage("shape")) Response.ContentType = "image/png" rsgetimage.close [/CODE] it just display an x icon - thanks | |
Hi there, i got stuck with this problem!!! I have 2 drop down list, the first one come from the table "categorie" and till here no problem, the proble is that i would like to generate the second drop down list , which come from the table "subcategorie" beacause of … | |
hi, i just have a question. i am creating a website using asp.net(c#) and i want that when a user click on a particular page (ex. login) the page becomes an https by using an IIS self signed certificate. can you help me what i need to search for etc … | |
I am using Entity Framework in Visual Studio linked to a back end database and would like to change the column name of the tables. Currently they have underscores which I want to remove, although there are many tables and columns. Is there an easy way to do this? I … | |
Hello! I am making a simple web application with a database. I want to show all the members from a specific group. The group is selected in a drop down list which is populated from my sql database table tblGrupper. I have managed to populate a GridView with the groupID … |
The End.