13,936 Topics

Member Avatar for
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
189
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
214
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
193
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
955
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
228
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
131
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
247
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 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
702
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
379
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
288
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
102
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
467
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
140
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
282
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
Member Avatar for derozza

Dear all. I need help regarding on my error.. this is the sample code: [CODE] Private Sub GetDetails(ByVal id As String) Dim conString As String = (ConfigurationManager.ConnectionStrings.Item("ItemListing").ToString) Dim objConnection As New MySqlConnection(conString) objConnection.Open() Dim sdr As MySqlDataReader Dim sSQL As String = " SELECT i.SuppCode,s.SuppName,s.telno,s.Faxno,s.email,s.Salesman,s.Mobileno,s.add1," & _ " i.masterefno, i.invoicerefno,a.remarks, …

Member Avatar for CrappyCoder
0
182
Member Avatar for mia_islina

I have created a CSV file on the server and want to send it to the user using the following code: [code] Dim strPhysicalPath As String strPhysicalPath = Server.MapPath( "CSV/" & PathVirtual) Dim objFileInfo As System.IO.FileInfo = New System.IO.FileInfo(strPhysicalPath) Response.Clear() Response.ContentType = "application/vnd.ms-excel" Response.AddHeader("Content-Disposition", "attachment; filename=" & objFileInfo.Name) Response.AddHeader("Content-Length", objFileInfo.Length.ToString()) …

Member Avatar for mia_islina
0
172
Member Avatar for kmose

I'm confused as to when each comes into play and what their exact function is. I'm reading an article that claims that a TextBox's internal Text property would have this getter/setter method. [CODE] public string Text { get { return (string)ViewState["Text"]; } set { ViewState["Text"] = value; } }[/CODE] The …

Member Avatar for kvprajapati
0
78
Member Avatar for denmarkstan

I just need a resource(tutorial) to learn how to develop a flashy and well content website.Could anyone direct or give me please. i have been reading ASP.net 2.0 and was trying to build website that is so flashy. When i compare my effort with anyone of flashy standared i become …

Member Avatar for kvprajapati
0
117
Member Avatar for mandar2886

HI im new to asp.net and i want help when click insert button same record is inserted instead of new record. Pls reply asap as my project is based on this [code] using System; using System.Data; using System.Configuration; using System.Web; using System.Web.Security; using System.Web.UI; using System.Web.UI.WebControls; using System.Web.UI.WebControls.WebParts; using System.Web.UI.HtmlControls; …

Member Avatar for kvprajapati
0
131
Member Avatar for kifayat128

I made a web form in asp.net and I am using loop to add button on the page. But problem is this, I'm not able to handle event of it. Can any one help me.

Member Avatar for kvprajapati
0
141
Member Avatar for Mortinhio

Hello Friends I want to ask about the purpose of ASP.NET Language and for whom it has been designed,,, And Thanks:)

Member Avatar for kvprajapati
0
43
Member Avatar for subhankar02dey

I have a listbox in which there are 100 items. The items of the listbox is being populated from database. Now after selecting an item, if I click any button(sending request to server), then though the selected listbox items is kept selected, but if I had selected say 70th Item, …

Member Avatar for Freon22
0
110
Member Avatar for patibikash

I have a text file having randomize numbers. ->first read the file in asp.net ->then count how much time the number will repeated in that text file ->and also display the time taking to read the file Please help if any body has the answer.

Member Avatar for searchec
0
117

The End.