13,153 Topics
![]() | |
Hi, I am trying to update a datetime field in a table using asp.net web form. However I am getting the following error message: @poduedate is not a parameter for procedure prr_out_projsearch_update1. The parameter I am adding to a stored procedure in the asp.net page is the following: [code]cmd_r.Parameters.Add("@poduedate", Data.SqlDbType.DateTime) … | |
hi.. friends., how to get the gridview datakeynames in the page load event. in asp.net.. | |
HI, I am creating a CMS site in asp.net with flash animation. I want to write editable text (fields) on a white sheet that opens in an animated form. The text has to be in asp.net as there is a small query form, and some text (that can be edited … | |
I am using the login control in ASP.NET. When I run the program an error msg "Incorrect syntax near the keyword 'User' " appeared in the debugging mode. I have no idea what is the problem. Anyone know what is wrong with my code? [CODE] Protected Sub Login1_Authenticate(ByVal sender As … | |
Hello all, I know this is not a question related to some asp.net error but posting it in here because of the hope that people who are working in asp.net might be able to answer my problem. I attended a technical phone interview few weeks back and today got a … | |
hi, there... im having problem with this codings. these codings are meant for login purpose. i dont knw where ive gone wrong. are these the only codes, or are there any other codes that ive not included... please help [code=asp.net]<%@ Page Language="VB" %> <script language="VB" runat="server"> Sub btnLogin_OnClick(Src As Object, … | |
Hei, Im using ASP.NET as Front end and SQL Server as Backend. the codings are.. [code=asp.net]imports system imports system.data imports system.data.sqlclient [/code] After inherits...... some connectin codingd are there [code=asp.net]dim con as SqlConnection dim adp as SqlDataAdapter dim com as SqlCommand dim data as Dataset[/code] after the connection codings in … | |
How can i set a text box's text to this format '[COLOR="Green"]0,000,000.00[/COLOR]' rather than '[COLOR="Red"]0000000.00[/COLOR]' ???' Thanks | |
Hi, Can anyone pls tell me how to read an xml file and display in the interface. My XML file will be in this format [code=xml]<main> <sub attr="123"> <a>xyz</a> <b attr="123">xyz</b> <c>xyz</c> <d attr="fghjh"> <e>xyz</e> </d> </sub> <sub attr="123"> <a>xyz</a> <b attr="123">xyz</b> <c>xyz</c> <d attr="fghjh"> <e>xyz</e> </d> </sub> </main>[/code] I … | |
hi, can we use silverlight application in ASP.NET 2008? how? plz tell me in brief... | |
[CODE]using System.Configuration; string s = ConfigurationSettings.AppSettings["con"];[/CODE] the code above gets the value from the app.config file where the following markup exists [CODE]<?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key="con" value="foo"/> </appSettings> </configuration>[/CODE] | |
you can access repeater's row data using the code below in the ItemDataBound event handler [CODE]protected void rpt_ItemDataBound(object sender, RepeaterItemEventArgs e) { object value = DataBinder.Eval(e.Item.DataItem, "columnName"); }[/CODE] | |
[CODE]System.Timers.Timer time; protected void Page_Load( object sender, EventArgs e) { time = new System.Timers.Timer (); time.Enabled = true ; time.Interval = 2000; time.Elapsed += new System.Timers. ElapsedEventHandler(time_Elapsed); } private void send() { MailMessage mm = new MailMessage (); mm.IsBodyHtml = true ; mm.Body = "foo" ; mm.To.Add(new MailAddress ( foo@foo.com … | |
it is pretty easy with one line of code : add System.Diagnostics namespace then [CODE]Process.Start("C:\\foo.exe");[/CODE] | |
[CODE]<ajaxToolkit:ToolkitScriptManager runat="Server" EnableScriptGlobalization="true" EnableScriptLocalization="true" ID="ScriptManager1" /> <div class="demoarea"> <div class="demoheading"> Calendar Demonstration</div> <br /> <b>Default calendar: </b> <br /> <asp:TextBox ID="Date2" runat="server" autocomplete="off"></asp:TextBox><br /> <div style="font-size: 90%"> <em>(Set the focus to the textbox to show the calendar)</em></div> <asp:UpdatePanel id="UpdatePanel1" runat="server"> <contenttemplate> <ajaxToolkit:CalendarExtender id="defaultCalendarExtender" runat="server" TargetControlID="Date1" Format="yyyy-MM-dd"></ajaxToolkit:CalendarExtender> <asp:TextBox id="Date1" runat="server" AutoPostBack="True" … | |
Hi developers, I have a question can we dynamically load a UserControl in Ajax Popup Extender ? kind Regards, Saurabh | |
I hosted my website on server, some pages load data from Analysis services 9.0 It works in development machine. It doesn't work on deployment machine and through this exception [B]Exception type[/B]: OleDbException [B]Exception reason[/B]: Unspecified error The following system error occurred: The system cannot find the file specified. [B]Exception source[/B]: … | |
Dear All, I want to establish a remote connection with sql server 2005 in my Asp.net web service. How to do this in a effective and secured way, Please reply me with sample code, that will be very helpful for me. Thanks in advance, Thanks & Regards, Vasanth | |
Hi, I have to read a xml file in a tree structure, modify and save the xml file. I tried using xmldatasource and treeview controls. But only the tag names are retrieved. The text and attributes in each tag are not getting displayed. since my xml file can contain many … | |
Hi Friends, Does anybody know How to Export data from a GridView to MS Access using C #. Any help would b greatly appreciated. Regards Robins | |
Hi am new to this asp.net solution for next,Previous button in asp.net with c#.net. I have 7 Buttons ADD,SAVe,Edit ,Delete,Next,Previous and find to get the details of record in gridview. My save snippet is as follows: protected void BtnSave_Click(object sender, [code]ImageClickEventArgs e) { /* try {*/ //if (txtDate.Text.Length != 0) … | |
hey all i am facing a problem and i googled it and didnt find any solutin yet. hope u will help me. i have web application that support 2 langauges. i am using CLR. CLR supports a mechanism for packaging and deploying resources with any type of application. i was … | |
is it possible to catch an exception in a try-catch block and show the message in the page's validation summary ? | |
First off, I'm a beginner when it comes to ASP.NET, but I have some experience with C++, VB6, and PHP, so programming is not a new thing to me. I've started a website in Web Developer Express, and added the contents of a CSS template I found on the internet, … | |
i've wondering here,if i can combine windows application and web aplication.Can i develop main page in web application then i want to access to the windows application.(e.g there's a button to link process mgt page.But process mgt page is developed in windows application).Else, if i do a view page on … | |
Hello, I'm creating my first website using master pages and asp.net. As part of this project, I need to display a random banner image at the top of each web page. Let's say i have an "images" directory with image1.jpg, image2,jpg, image3.jpg and image4.jpg. In the past, I have used … | |
I have a field validatior on my page. but i noteces if i press the submit btn 2 times the validator does not stop the process. have any one have a problem like tihs? and how to solve it. Thakns [CODE] <tr> <td > <div class="buyIt_Titles2"> <asp:RequiredFieldValidator ID="RequiredFieldValidator1 runat="server" ControlToValidate="txt_BillingCity" … | |
Hi, I used the confirmation in a page when one of the ultrawebgridcell updated.I used the following code. [code] private void MessageBox(string msg) { Label lbl = new Label(); lbl.Text = "<script language='javascript'>" + Environment.NewLine + "window.confirm('" + msg + "')</script>"; Page.Controls.Add(lbl); } protected void uwgSelected_UpdateCell(object sender, CellEventArgs e) { … | |
One of our new members "Gurvinder Suman" asked me how to create a custom select button for gridview in order to display details in the detailsview. Here is the answer: When you click the smart tag of the gridview and enable selection, it creates a linkbutton by default and writes … | |
Hi, I am trying to pass parameters to my program, but I can't seam to get it to pass specific parameters. I want it like [icode]"C:\Age of Empires III Launcher.exe /x=agex.exe /y=agey.exe /z=age.exe"[/icode]. How would I go about doing that? I can't find a good tutorial on it. Thanks. | |
Hello 1 and all I have created a stored procedure for table X. X contains the fields B,C,D,E,F,G. B is a primary key with data type int. I am giving the stored procedure as follows: [code]Create Proc [dbo].[spXSelect] @B int=null as Begin If @B is Null Begin Select Ident_Current('X') as … | |
Hi all! I have a problem (probably a simple one). And I need some help with it. The line with bold red "verifyurl" gives me a bit of a headache. It comes up with an error [I][B]File <%verifyurl%> can't be found![/B][/I] If someone has an aidea about solving this issue, … | |
Hey all! I have a gridview with multiple page, when i click on a check box in one page and proceed to the next page and click another check box in the previous page when I go back to the inital page the first check box click is cleared as … | |
in this panel controle i took 2 textbox's and 2 buttons (i)out of panel controle i created one button(asp.net) (ii)in this button i gave name to this as USER(by understanding purpose only) (iii)i write code and created one button in runtime .that button is displayed in panel contol(MY AIM) (iii)after … | |
I use the following commands to save data in my database MydatabaseBindingSource.EndEdit() MydatabaseTableAdapter.Update(DBDataSet.mydatabase) When I enter data in debugging mode, and close the application, it wont keep the data, But, if I publish my application it will keep the data, is this normal? My plan is to save the data … | |
Can we use ASP.NET website inside the Silverlight application? | |
Hi, I am working on one in house web application for my company, I am facing one issue which is coming on deployment machine only Actually my application is based on multitier architecture, here when i am trying to throw a customized exception in business layer/data layer, it is throwing … | |
hi, i have set a condition on the upload function [code]if (FileUploadControl1.PostedFile == null) { lblResult.Text = "Please select a file first"; } else { //upload a file }[/code] but if i press upload button when no file is selected it still uploads a blank file regardless of the "if' … | |
I want to check if the user had selected a node from a treeview or not using javascript. I'm using VS.NET 2.0. Thanks In Advance. | |
Hi I am using <asp:Gridview> to display my data. I am adding columns and rows dynamically. I am facing following issues: 1. I want [B]scrollbars around the gridview [/B]and for this purpose i used [B]<div style="overflow:auto">[/B] and its working fine. But issue is that the header row also scroll down … | |
Let me explain the u in detail. First , In sql server i created a New database and then i created a new table. as UserId, User Name, and Passward. Secondly, i created a new Text document with .udl extension , and Got even the message Test Connection Succeeded. Created … | |
hi...! i want to create the crytal report for my project in which i am using VB.NET language with the database of access...! i have now idea how to create the reports. i was just try to create the reprots it just shows only one record. kindly solve my problem … | |
Problem: I have an enumerated type which has description tags in the following style: [URL="http://xml.indelv.com/data-binding-enum.html"]description tag tutorial[/URL] . I have a Windows SQL Server Database from which I am pulling the data (as integers then castine to Enums) which is then being bound to a datagrid. Instead of pulling and … | |
Hello, I am trying to get the currently selected values from dropdown lists and textboxes from a web page and write them to an access database. I am using MS Web Developer 2005 Express. To do that I have created data Source , for the InsertQuery Property of the DataSource … | |
Hi! Error - Conversion from string "DataItem.partOne" to type 'Double' is not valid. I have written the following databinding code in the datagrid and the am getting the above error - [Code=asp.net] <Columns> <asp:TemplateColumn HeaderText="Part B" ItemStyle-HorizontalAlign="Center"> <ItemTemplate> <asp:checkbox runat="server" ID="partTwo_Edit" checked= '<%# DataBinder.Eval(Container, "DataItem.partTwo") %>' Enabled = '<%# IIf(DataBinder.Eval(Container, … | |
Hi, I rather my dev team has a PDF file that needs to be compressed before it goes to download by users. Is there a way the compression can happen programatically without human intervention. step a) PDF file upload b) A script compress the file to a preset or acceptable … | |
I have developed a login window using asp, in .aspx format. This i need to link to an another program where it is windows application in the sense, homepage.vb form. I need a code to link login.aspx with the home page.vb form please help me as early as possible. Thanks … | |
hi, there, im coming up with a page where manager can request for annual, monthly,weekly and daily report. However, ive got a error message as below: Parser Error Message: The file '/asp.net christine/Default.aspx.vb' does not exist. Source Error: Line 1: <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> The whole page … | |
Hello Friends, I need your help to select web hosting service provider. My website is develop under ASP.Net and I am looking for a good web hosting provider with yearly plan. So please suggest me the good services provider from Michigan. I also want to know about VPS Hosting. | |
hi, there... im doing a page that shows report of a delivery boy in a courier company. But, I can't get any results and i don't know where i've gone wrong...please help [code=asp.net]<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head … |
The End.