13,153 Topics
![]() | |
I have a Gridview control on an .aspx page. what is the first gridview control event, that gets triggered/fired. The gridview control has boundcolumns. I have configured the selectcommand in the .aspx page to pull the data from database as shown below: [CODE]<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionStringff %>" ProviderName="<%$ ConnectionStrings:ConnectionString.ProviderName … | |
HI, I have developed a website and hosted in godaddy and it works fine. Now my client wants it in cloud computing in ([url]www.salesforce.com[/url]). How can I deploy my existing web-site to salesforce cloud computing. I have searched it fro last 2 days but not getting any idea and there … | |
Hi, I am creating a resume page in which i am not creating a field for the primary key. So for editing that page i have to get the details to the textboxes based on the resume id ie the primary key. The primary key is auto increment. How can … | |
hi , i have a field in a table with the datatype as datetime. i wrote a query to get that feild but the thing is i want only the date to be displayed, how can i do that, currently the date and the time is being is displayed, how … | |
I'm looking to create identical sets of controls right under each other after the user clicks a button. What I have here is replacing the same set of controls over and over again. Any help would be appreciated it! [CODE] Imports System.Data.SqlClient Imports System.Data Imports System.Net.Mail Imports System.Web.UI.Page Imports System.Web.UI.WebControls … | |
Helllo there I am new to programming i am trying to update my checkbox column in a gridview (asp.net)which i cont I can able to get the data 1 or 0 in database and able to update the checkbox as checked or unchecked my code is [code] <asp:TemplateField HeaderText="Available" SortExpression="Available"> … | |
I am having the same problem, I'm using aspnet.mdf (auto-generated by asp.net) any help would be great! thanks in advance! | |
Hello Friends, I am new with asp.net.How to use mysql backend in asp.net please answer with code example. | |
Hi, I've built a website which acts as an online book store. Customers can log in and view books which are displayed in GridView1 which is linked to an sql database. I now need to build a shopping cart feature which will allow them to add books from the GridView1 … | |
Hi, I have a question regarding navigating to a listbox item in C#. I have written code which populates a listbox from an xml file in xaml (thus bound to it). However I want to navigate to the selected item in the listbox using code in c#. I can navigate … | |
Good afternoon, I have a problem... Else I wouldn't be posting here, right? My quandary is thus: I have an empty table in a database that I want a user to be able to fill. This will occur when employees are replaced for sick leaves, etc. I'd like to be … | |
hi all.. i really need your help to solve my problem.. this is the scenario : first, user choose link "detail" at document table.in that detail,i have a hyperlink "comment". in aspx i wrote this code : [code] <a href="ShowComment.aspx?id_document=<%#Eval("id_document") %> ">Comment</a> [/code] id_document is value of query string from … | |
hi i had build Arabic web site in asp.net and i set the culture to ar-iq and uiculture to ar-iq and set globalization in web.config to windows-1256 then i added tags <META CONTENT=TEXT/HTML; CHARSET=WINDOWS-1256_ HTTP-EQUIV=CONTENT-TYPE> it work fine in local computer but when i published to remote host its appear … | |
| |
hi.. anyone can help me to convert asp.net program to pdf? before this i'm using this code [CODE]private void ExportGridView() { string attachment = "attachment; filename=Contacts.xls"; Response.ClearContent(); Response.AddHeader("content-disposition", attachment); Response.ContentType = "application/ms-excel"; StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTextWriter(sw); GridView1.RenderControl(htw); Response.Write(sw.ToString()); Response.End(); }[/CODE] to convert to excel.. … | |
i have one window application developed in VS 2005 which is running successfully on client side,My question is that now i want to convert this window application in WPF browser based application, so what should i keep in mind to convert this application to wpf applicaton, One more thing that … | |
Hi every body, I have a big problem, well my problem is i have a collection of .PST file in my hard drive now i have to write a programme using vb.Net to READ .PST files ! basically i need to be able to read the content of the .PST … | |
Hi guys. I have an ASP.Net assignment to do and need some assistance if possible. I previously read a post from a person with the same assignment but this is for ASP.Net LINQ to SQL not windows form. The following is my code forthe batting average. Code-Behind [code] private void … | |
see the link [URL="http://www.gfln.org/Regsiteration.aspx"]http://www.gfln.org/Regsiteration.aspx[/URL] and click on radio button from 1 to 7 IE produces div (as many as clicked) but in forefox it got some how hang .please post back me if i need explain any thing else in my problem any urgent reply is highly appreciated | |
Hello, I want to give alert on click of button my codes is [CODE] Protected Sub BTN_SAVE_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles BTN_SAVE.Click Response.Write("<script>alert('hello')</script>") End Sub [/CODE] But after clicking it is giving alert message. why? Alok Shrivastava | |
hello everyone i might sound stupid but i am having syntax error while adding a variable to the xml file while creating it. please tell me the syntax of writing my code here goes my code: [CODE]imgListSrc="glance\\FlashGallery\\resource\\xml\\"\"" + ds.Tables[0].Rows[i]["albumname"].ToString() + "\"\\slide.xml/>"[/CODE] thanks in advance | |
hi there, i have a question in visual studio report viewer. i created a report in microsoftreport view tool and connected to a server, when i run the application in another machine i cannot view the reports, it gives an error saying " Unhandled exception has occured in your application. … | |
We're working on a very large project that has been exclusively written in VBScript/javascript/HTML. We're starting to port it over, page-by-page into C#. We have split out common constants and code into <# Include .asp files, but when we go to try to include these files into out new C# … | |
i have an asp.net application deployed under IIS on windows 2003 server. It sounds stupid but i deleted most of the files under under C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 \ thinking it will clear IIS cache.....and my application when browsed through on app server throws runtime error. Can i just copy files from different … | |
I have a simple ASP.NET page where after the initial page load the user enters a username and a password to two text boxes. Note that I can not use the built-in login control in ASP.NET, as my purpose of using this username and password is slightly different. Now, I … | |
hello, any one can tell me how to embed assembly file [COLOR="green"](windows control library)[/COLOR] into resource in window apllication using .net c#. pleaseeeeeeeeeeeeeeeeeeee | |
I'm having a problem solving part of a C# question from a beginning course. If anyone can help, I would appreciate it. The problem and code follows: When the user clicks the Quit button, display a message box that says "I'm going home." Then when the user clicks OK on … | |
Can i run my asp.net pages in AIX?? If so, how?? Thanks. | |
hi dears i have two tables (Albums,Photos).when i want insert a record in a Photo table i must select name of album so i create a user control that have a dropdownlist and a datasource until when i select a name of album put AlbumID in a Property when i … | |
Hello guys, My name is Azry Syarry and I am an Analyst Programmer for an IT company here in Malaysia. I just got this job and I am going to be given the responsibility of handling some projects. However, I do have to make some decisions first about this upcoming … | |
Hi, I am trying to create a user login that will allow three different types of users to login...basically an admin, a student and a co-ordiantor. At the moment i have any registered user logging in and being sent to the admin.aspx page, i am not entirely how to differentiate … | |
Dear friends, I need to make a report that would let the user to pick which columns he wants to see. I found how to do it here: [url]http://www.c-sharpcorner.com/UploadFile/uditsingh/CR1111022006055359AM/CR11.aspx[/url] This works, but I still have two problems: 1)When you start the report, you see a page with several comboboxes (according … | |
Hey gang, Looking for some opinions here. I'm working in an ASP.Net MVC2 application. We've built a collection of "domain objects", ie, the data that represents our "real world" problem we're going to solve, and it's also the representation of what will be serialized to the database. Each of these … | |
i have exception Conversion from string "System.Web.UI.WebControls.TextBo" to type 'Integer' is not valid. on these line [CODE] Dim no_single_room As Int32 = CType(DirectCast(dataItem.FindControl("txt_single"), TextBox).ToString(), Int32) Dim no_double_room As Int32 = CType(DirectCast(dataItem.FindControl("txt_double"), TextBox).ToString(), Int32) [/CODE] | |
It's been many, many years since I have written any ASP code and I dont recall this functionality being present in the past BUT: In php we have a serialize() that takes an array of data and creats a single string representation of that data. The single string can then … | |
hi there i have a question i have created the login in C# deshtop application and when the application ruins i have amde the cursor to be focused to the username textbox now the thing is soemtimes the user adds the username and then adds the password a and then … | |
Hi, In my page I have the following code: [CODE=ASP.NET]<asp:TextBox ID="SearchCriteriaTextBox" runat="server" Text="Enter Search Criteria" Width="150px" ForeColor="GrayText" OnClick="this.value = ''; this.style.color = 'black'" OnBlur="javascript:changeText('<%=SearchCriteriaTextBox.ClientID %>')" />[/CODE] And for the javascript: [CODE=javascript]function changeText(txtB) { var textBox = document.getElementById(txtB); var txt = textBox.value; if (txt = "") { textBox.value = "Enter Search … | |
Hi Please help me out in providing connection string for the SQL datasource at runtime...i need to connect to different database based on the login option....i removed the connection string in the web.config file and tried to select the connection string during page load but it shows an error...can this … | |
Hi:)the problem im facing is that i created a control Textfield.Example :the user types in 75000 in the textfield and after he or she presses enter the List view appears. But i want them to hit a button so after hitting the button the list view appears?plz help | |
Hello all, I have an app that I've developed that has a vb.net front end and a SQL Server 2000 database backend. I currently have it running fine on my machine and it also installs fine on all the users that are inside the domain that the app was written … | |
Hey, I need to click this [CODE]<span class="default_message">Like</span>[/CODE] In visual basic, please tell me how. | |
I am setting up a shopping cart using foxycart and asp.net(vb) FoxyCart sends me an xml feed by a httprequest (RC4 encrypted and URLEncoded) In order to test my receiver page (datareturn.aspx) I have created a sample test page in vb (sampledata.aspx) based on their own c# version. This loads … | |
hi, I'm doing a Real Estate Website where I have an upload image web form which saves the image paths of the images into my database. I am trying to view details of the property in another web form, but I can't retrieve the images, only the data is being … | |
I have asp:calendar Now i want to select multiple dates from calendar.Is it possible that multiple selection can done or not | |
i want to make a seacrh page using c# in asp.net.. at the first page, i want to display all the record in a gridview..then,after user click a search button, the result will appear in another gridview.. what should i put to visible the previous gridview and display only the … | |
hi.. i've review the latest logout and cannot back if BACK button is press.. anyone can help me in clearly how to code it? | |
I have a table that looks like the one below: Name Score1 Score2 Score3 TOTAL Dan 71 85 23 ? Tom 58 84 87 ? sam 76 65 64 ? I dont know d command that will dynamically get the total score for each student and put it in the … | |
Hi all, i am working on converting the asp.net to pdf file.. now i'm using this code,but it give me an error "Type or namaspace name 'pdfConverter' could not be found".. is there any component i need to install..any help plz? [CODE]PdfConverter pdfConverter = new PdfConverter(); pdfConverter.PdfDocumentOptions.PdfPageSize = PdfPageSize.A4; pdfConverter.PdfDocumentOptions.PdfCompressionLevel … | |
When I set the VisibleWhenLoggedIn property of my Login control to false, my Login control automatically becomes invisible even if I'm not logged in. I've already set the Authenticate event to use my own SQL database, but this problem is still persisting. How do I fix this? Here is the … |
The End.