13,936 Topics
![]() | |
I have made connection in web.config file,Its working ,I want to just confirmed dat Whether i m doing it in right way or not! Web.Config File- [code] <configuration> <appSettings/> <connectionStrings> <add name="Connection" connectionString="Data Source=(local);Initial catalog=sonia;User ID=sonia;Password=sonia;" providerName="System.Data.SqlClient"/> </connectionStrings> [/code] Code Behind Page [code] public partial class FrmPractise : System.Web.UI.Page { … | |
i'm have Error above. I'm try all you answer but not completed. I'm user VS 2005 and .net framwork 3.5 on vista Ultimate Please. [QUOTE]Error 1 Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has a higher version than referenced assembly 'System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' [/QUOTE] | |
the somewhat complex run command built below: cmd = "" & htmlDocExe & " --webpage --fontsize 8 --fontspacing 1.3 -f " _ & """" & outPdf & """" _ & " " _ & """" & inHtm & """" _ & " --datadir " & """" & dataDir & """" … | |
(small question - big help)... i have some web form that handle digital print order from website that fill by the company customers. the form including some information about the customer, print information and upload files. After the customer ending fill the form and click send there is a code … | |
I know how to fetch the records from DB,But i want to ask u just small thing. SQL TABLE [code] roll name marks 1 Ritu 10 2 Sneha 20 3 Ruchi 30 [/code] CODE BEHIND PAGE Default.aspx [code] protected void Page_Load(object sender, EventArgs e) { cmbRoll.Items.Add("--Select--"); cmbRoll.Items.Add("1"); cmbRoll.Items.Add("2"); cmbRoll.Items.Add("3"); cmbRoll.Attributes.Add("onChange", … | |
I have an ascx control that inherits from ValidatableUserControl. I have several requiredfieldvalidators on the page, and all of them are getting fired except the one inside an asp:panel This code is inside a <table> [CODE]<asp:Panel runat = "server" ID = "PurchaseOrderPanel"> <tr> <td><div class="txtClass"> <span class="required">*</span> Number: </div> </td> … | |
I have problem with positioning ModalPopupExtender in the center of the screen when it's PopupDragHandleControlID property is set (without this property it works fine ). ModalPopupExtender is not positioned in the center of the screen. I thinks what causes the problem is the page's CSS layout cause when i disable … | |
I want to just bind the dropdown with DB,I have three rows in mine DB.Instead of adding the column data,In mine dropdown System.Data.DropDown is coming three times y So??? [code] using System; using System.Data; using System.Configuration; using System.Collections; 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; … | |
Hello i want help on saving large text into the database and the structure of the data should be maintain i.e the paragrah,insertion point, list example if i enter a an html code structure in a textbox on saving and retriving it to display i should retain the structure, I … | |
Hi Guys I have a GridView th show my data. When I am including the data I have TextBox and DropDownList.Thesse data are going to populate a GridView using a DataTble. In the update routine I populate the GridView with the recorded data but I can keep on including other … | |
Hi, I have a FormView where records can be visualized, edited and inserted. When inserting or editing, I have a CancelButton. In my routine all I have is: [code=vb.net] Protected Sub CancelLinkButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) SitemapFormView.ChangeMode(FormViewMode.ReadOnly) End Sub [/code] When debugging, I could see the routine … | |
i have a drop down list in my Gridview. I want to poplulate it with the values from the database ... However i am confused how to proceed ......here is my code snippet: In the source i have written the followin code : [CODE] <asp:GridView ID="GridView1" runat="server" AllowPaging="True" AllowSorting="True" AutoGenerateColumns="False" … | |
Hello everyone, I need to do an assignement for school. But i'm kinda stuck on a bit, so i'm here to ask some help :D Okay, my question: In my C# application I need to make a webrequest to a php page. This worked, but i want the php page … | |
I have button in td, I want to change the backcolor of button when the mouse move over it .. As we change the backcolor of td, when we moves move over it.Eg Below- [code] <td onMouseOver="this.bgColor='#00CC00'" onMouseOut="this.bgColor='#009900'" bgColor=#009900 style="width: 33px; height: 81px"> </td> [/code] | |
hello my friends I have write a application that send appointment to outlook with asp.net and c#.i need to send date in shamsi date format,and my time zone set to tehran GMT(+03:30).but timezone and date dose not work correctly.for example when i send an appointment with start time=06.30 and end … | |
hi i download ajax tool kit..3.0.30512.1 n also installed .net framework 3.5 n i add the dll file into my project bt when i drop any of the control of ajax it shows the following error: [COLOR="Red"]Error 1 Assembly 'AjaxControlToolkit, Version=3.0.30512.20315, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' uses 'System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' which has … | |
hi friends,when we open gmail compose mail ,we see an attachment link.when we click on that link we select some attachments and then it will be changed to download link. how is it possible . is there any control for that. if there from where i can get it. and … | |
i want to change activetab of tabcontainer using timer cotrol.. i have three tabs in <cc1:TabContainer> n want to change automatically at runtime without refreshing the webpage.. it should be like the website : [URL="http://homeshop18.com"] homeshop18.com[/URL] In this at home page images are on different tabs | |
Hi.. Am using response.redirect() to go to another page from the current page. But it is giving me the exception "System.PlatformNotSupported",Operation not supported, change the pipeline mode of IIS. Am working in VS 2008,IIS v5.1 Any Help?? | |
Hi, In my page I have a formView with <ItemTemplate>, <EditItemTemplate> and <InsertItemTemplate>. In the <ItemTemplate> I have a linkButton "Edit" that, when clicked by the user, should show the FormView in Edit Mode. I have the following: [code=ASP.NET] <asp:LinkButton ID="EditLinkButton" Text="Edit" OnClick="EditLinkButton_Click" runat="server" /> [/code] And in the code … | |
I can't get my website to connect to the built-in db for ASP.NET login funtions (ASPNETDB.MDF). I've been trolling multiple forums for weeks now, and nothing seems to work. I've tried every combination I can think of but get some variation of 'cannot open database' or 'login failed'. Where am … | |
Hello I have been trying to access Visual Fox Pro 9.0 tables using asp.net. I can access the tables using VS2005 by running the app (F5), but cannot access them through any explorer or another remote computer i get the error "invalid path or file name"...I have read its a … | |
Hi, I have been asked to develop an application for a coalition of disabled users. It therefore has to conform to accessibility standards. One of the requirements is that pages work with javascript disabled (compliance with old screen reader technology). I wish to use the calendar control but have a … | |
hi guys, i have use listbox control in my appli. i want to get selected items when listbox is bind in display process basically i want selected item when records is in update process | |
Hi, I am dealing with AJAX UpdataPanel. I created 2 radio button during run time. By default there is a button in the updatepanel. A user will check either one radiobutton in updatepanel and then hit the button. How do i got to know which radiobutton is checked? [CODE] RadioButton … | |
hi, when session expires i want to give message and send them to my login page.for this where i have to write the code. thank you | |
Hello, I'm using the following: Windows XP SP3 dotNet FX 3.5 SP1 IIS 5.1 SQL Server 2008 My application runs from a virtual directory, and it has a .mdf and an .ldf file, which are being attached to my database. Whenever I tamper the database files (attach to ssms, grant … | |
Okay, at work I'm having a big disagreement with the project management team who has no database experience at all. Here is the issue. We have 10 product lines, in each product line there are certain number of attribute names, such as height, weight, color, price and so on. We … | |
I am making my website about a radio station, and it's currently PHP-based, but I am testing an ASP-based one on my dev machine. This is the PHP querystring code: [ICODE]<? $i=$_GET['DJID']; switch ($i) { case 1: include("dj1.php"); break; case 2: include("dj2.php"); break; case 3: include("dj3.php"); break; default: echo "page … | |
hi, i developed an application ie web application using asp.net 2005(C#.net) and sql server 2000. It is used to store the data in database via excel sheet. ie application contains 3 buttons . if we click on button1 ,it opens the excel sheet and we can enter the data. button … | |
hi i have a textbox and a button on my asp.net page i want that when i write any value on textbox and after that when i click on textbox then a click would perform auto on button so how can i do this??? | |
hi friends, I tried to search few best ASP.Net 3.5 tutorial in google but coudn't find one best for me. If you guys know some online tutorials or books then please let me know. regards san | |
Hello, I have 10 lines of FileUpload (1-10) i have some problem during the upload event. When i put 10 files there is no problem and everything work fine. When i put 3 or 4 files i get error message. Looking for help / solution Pllllease. the message is: "Could … | |
Hello all, i have a drop down list. When user clicks select button, the value from drop down must be taken,and a web part and a web part zone must be must be created dynamic. everything in code behind. Can some one help pls. | |
I am a very new in web services.Can anyone tell me how to call a web service from remote network using c#? | |
I want to show progress while fetching the records from the database...How to show progress..There is no progress bar in ASP.net????????? | |
I have currently two forms in mine website..I m also posting their codes-- FrmRegistration.aspx [code] public partial class FrmRegistration : System.Web.UI.Page { SqlConnection conn = new SqlConnection("Data Source=SONIA-B408A4159\\SQLEXPRESS;Initial catalog=sonia;Integrated Security=true"); string query; SqlCommand cmd; protected void Page_Load(object sender, EventArgs e) { btnSubmit.Attributes.Add("onclick", "Javascript: return Validations() "); } protected void btnSubmit_Click(object … | |
Suppose the user login by entering his or her details When clicking on Login button, I m setting the session variable [code] Session["UserName"] = txtUserName.Text; [/code] I want dat when he or she clicks on sign out(hyperlink)..I want to expire the session, can somebody tell me how to expire the … | |
Hi i want to store an image into MS Access database . I want the image to get converted to byte before getting stored in MS access database. Please provide me the relevant c sharp code for that | |
Hi I am looking for help with an xsl transform of an xml file. The problem is with <xsl:with-param>. The following is what I have: [code=xml]<xsl:param name="paramTest">$LINKNUM$</xsl:param> <key name="$LINKNUM$">SELECT count(1) from applications</key> <xsl:choose> <xsl:when test="$paramTest = '0' "> do this........ </xsl:when> <xsl:otherwise> do this......... </xsl:otherwise> </xsl:choose>[/code] This select count returns … | |
hi, i want to add the text in one text boxto another text in another textbox. i mean ,we enter value 5 in textbox1 and enter value 10 in textbox2 and finally when we click on button the result(15) will be displayed in textbox3. how it is possible. can u … | |
i wnat to learn how to use ajax in c# .net ..can anyone tell me is there any link to download the book from net ...plz send me the link to download plz | |
hi all. i've been doing a checkbox that is controlled by bitmaps. it is successful when i checked the check box and updated it. but it is not successful when i try to uncheck and update it. it will be as if it was checked like before. below is my … | |
Hi All, I am trying to generate a mail automatically using CDO.Message msg = new CDO.Message(). But an error is showing in the line "msg.CreateMHTMLBody("maildes.aspx", CDO.CdoMHTMLFlags.cdoSuppressNone, "", ""); " The error is "The specified protocol is unknown." Please help to solve it. | |
In an ASP.net Application (windows or web) can i write code to store the song into MS Access database . Please Help | |
Hi, I have been trying to create a asmx web service which can download & install a msi. When the web service attempts to install MSI, the MSI throws the following error - MSI (c) (60:D8) [13:02:57:859]: Client-side and UI is none or basic: Running entire install on the server. … | |
hey guys, Where can i find the web.config.comments file??? | |
1.) I have problem uploading file. it work sometime and in the other hand will not work give and error that cannot find the path 'c:/upload/' 2.) i want to upload video file i could not upload video file please could anyone help me with VB.Net coding to upload video … | |
What is the use of place holder and can we use it as an pop up window | |
Hi, what is good source code management system for .net developers. Our scenario is that we're 4 developers , working on pcs that are on a network that we don't control. Some network drives get cleared every night !! Is there way that a Master software app(on one dev's machine) … |
The End.