13,153 Topics

Member Avatar for
Member Avatar for bnath001

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 …

Member Avatar for bnath001
0
76
Member Avatar for trivedimca

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 …

0
83
Member Avatar for gouriarun

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 …

0
40
Member Avatar for judithSampathwa

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 …

Member Avatar for buddylee17
0
180
Member Avatar for wr3ckin_cr3w

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 …

0
70
Member Avatar for raja289

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"> …

Member Avatar for kvprajapati
0
127
Member Avatar for ebay1989

I am having the same problem, I'm using aspnet.mdf (auto-generated by asp.net) any help would be great! thanks in advance!

Member Avatar for mysticklarose
0
70
Member Avatar for searchec

Hello Friends, I am new with asp.net.How to use mysql backend in asp.net please answer with code example.

Member Avatar for kvprajapati
0
134
Member Avatar for Patel44
Member Avatar for ebay1989

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 …

Member Avatar for kvprajapati
0
150
Member Avatar for ibdatx

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 …

Member Avatar for ibdatx
0
283
Member Avatar for Wehttam

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 …

Member Avatar for Wehttam
0
187
Member Avatar for kieky

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 …

Member Avatar for dhanapal86mca
0
72
Member Avatar for kingofnothing

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 …

Member Avatar for dhanapal86mca
0
69
Member Avatar for bharanidharanit
Member Avatar for Borzoi
0
213
Member Avatar for new SE

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.. …

Member Avatar for 1seo
0
192
Member Avatar for satiss7pwr

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 …

Member Avatar for satiss7pwr
0
954
Member Avatar for suis

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 …

Member Avatar for David699
0
394
Member Avatar for bravo659

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 …

Member Avatar for croker10
0
227
Member Avatar for erum

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

Member Avatar for erum
0
209
Member Avatar for alokshri67

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

Member Avatar for alokshri67
0
78
Member Avatar for malashukla

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

Member Avatar for vuyiswamb
0
69
Member Avatar for judithSampathwa

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. …

Member Avatar for kvprajapati
0
121
Member Avatar for ccdsystems

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# …

Member Avatar for ccdsystems
0
130
Member Avatar for leet_uk

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 …

0
73
Member Avatar for sachintha81

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 …

Member Avatar for vuyiswamb
0
245
Member Avatar for ashishkumar008

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

Member Avatar for kvprajapati
-1
161
Member Avatar for rodce

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 …

Member Avatar for Teme64
0
231
Member Avatar for Eric Cute
Member Avatar for Eric Cute
0
154
Member Avatar for irandokht

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 …

0
79
Member Avatar for azrysyarry

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 …

Member Avatar for zubairn
0
699
Member Avatar for davemac001

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 …

Member Avatar for davemac001
0
2K
Member Avatar for dpreznik

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 …

Member Avatar for amit121
0
378
Member Avatar for alc6379

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 …

Member Avatar for kvprajapati
1
287
Member Avatar for erum

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]

Member Avatar for reach_yousuf
0
101
Member Avatar for ppetree

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 …

Member Avatar for ppetree
0
155
Member Avatar for judithSampathwa

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 …

Member Avatar for judithSampathwa
0
121
Member Avatar for Ana D.

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 …

Member Avatar for yamanshr
0
464
Member Avatar for mykar_88

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 …

Member Avatar for CrappyCoder
0
171
Member Avatar for soroushc

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

Member Avatar for CrappyCoder
0
139
Member Avatar for perryg30313

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 …

Member Avatar for perryg30313
0
279
Member Avatar for CharliePrynn

Hey, I need to click this [CODE]<span class="default_message">Like</span>[/CODE] In visual basic, please tell me how.

Member Avatar for codeorder
0
90
Member Avatar for gillivt

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 …

0
69
Member Avatar for angele18

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 …

Member Avatar for CrappyCoder
0
1K
Member Avatar for akil007

I have asp:calendar Now i want to select multiple dates from calendar.Is it possible that multiple selection can done or not

Member Avatar for crishjeny
0
91
Member Avatar for new SE

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 …

Member Avatar for crishjeny
0
177
Member Avatar for new SE

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?

Member Avatar for crishjeny
0
131
Member Avatar for skyboy

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 …

Member Avatar for crishjeny
0
97
Member Avatar for new SE

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 …

Member Avatar for crishjeny
0
148
Member Avatar for shaqtus

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 …

Member Avatar for crishjeny
0
101

The End.