13,936 Topics
![]() | |
I have htmltable which dynamically generated. I want to print this table. which consist lot of pages. when I used window.print() its printing into 7, 8 pages. but my problem is I need Header and footer on each page (A4 size). how can Set header and footer to each page. … | |
Hi. I'm using vs2008 and asp.net masterpages. One of my pages is in my administration area on my server. When I visit this page, I can click a button which begins sending newsletters out to my membership 50 at a time and every 11 minutes (as specified by my email … | |
i've read many articles and discussions through google, i have followed and corrected all yet still nothing happens. they say that it does not appear if it has no data to display, yet it does have data. i also set AutoGenerateColumns of gridview to true i was using linqdatasource connected … | |
Sir I want to connect sql server database as a public in asp.net C# i'm connected sql server in Web.Config file but i don't know how to use as a public in full project help me sir | |
I would like to use schtasks commandline to create some scheduled jobs in .NET. However, the scheduled jobs created by ASPNET could not start. The command script works fine within cmd and the scheduled job runs. Any ideas on how to make it work? | |
sir i have one json i want deserlize this json how will i do iam try out but "Type 'System.String' is not supported for deserialization of an array." error coming here is my code : in cs file [code] using System; using System.Data; using System.Configuration; using System.Collections; using System.Web; using … | |
Hi, I am getting errors when trying to run a website in asp.net 2.0. When opening in browser, Error is: HTTP Error 500.24 - Internal Server Error An ASP.NET setting has been detected that does not apply in Integrated managed pipeline mode. When clicking on debugging it displays an error … | |
I am learning ASP.NET and have built a basic web site that I want to use as a template for future sites. I am wondering if I should build a code generator that will take as an input an xml file which describes the application and then generate the base … | |
Hi all i am creating a project in to which i will tell user to upload pdf all functionality is complited the problem is i have one image box where i have to show a first page of the pdf so anybuddy who knows how to convert foirst page of … | |
I have a WPF C# program where I attempt to delete certain characters from a text box at TextChanged event. Say, for instance, the dollar sign. Here is the code I use. [CODE] private void txtData_TextChanged(object sender, TextChangedEventArgs e) { string data = txtData.Text; foreach( char c in txtData.Text.ToCharArray() ) … | |
Right now the company I work for is using Microsoft enterprise library very extensively. From what I've found online recently, these database objects aren't intended for web (asp) usage, and are relatively bloated. I don't know how accurate my research is, but I do know we have optimization problems in … | |
its been 6 days passed since i started making this assignment of mine it is to show how objectdatasource is used, until now, i still cannot getaway with this error, [B][U]The data source for GridView with id 'GridView1' did not have any properties or attributes from which to generate columns. … | |
I have a problem,, I have to stop one Loading class on button click. I already checked some forums related to this. But didnt find exact solution. for example: [code] Public Sub LoadDropDown() Dim it As Integer For it = 0 To 1000000 DropDownList1.Items.Add(it) Next End Sub [/code] I have … | |
Hello. i want to develop a chat application,but i want to develop the ability of private chat between 2 users. multiple users chat is very simple,but private chat is very complex ,but if we use database it become simple and very flexible. so i need your expert opinion before i … | |
I need to save a video as an image in silverlight, for my new webpage functionality, at [url]http://www.game4tress.com/ecardsender.aspx[/url]. Now, this would be easy in WPF, but seems that silverlight can't access the RenderTargetBitmap and BitmapEncoder. I was able to discover that RenderTargetBitmap can be replaced with WriteableBitmap, but i can't … | |
Hi I'm new to this forum and I am looking for a little help. I was wondering if someone could provide some code that allows someone to enter a message into a comment box, hit submit, and then that message is sent to an email account. I also have two … | |
Hi evryone, i'm doing a project in Asp.net. I need your help in generating report. The concept for generating report is when each user login to the website using his id i would retrieve data from his table if 2 values is retrieved thn this 2 values act as a … | |
Hello Everyone, This problem has been driving me up a wall. I have a page that uses dynamically created controls to allow users to update records. The dynamic controls are part of tablerows that get recreated each time the page loads. Within the tablerows are a textbox, dropdownlist and a … | |
[code] <%@Language=VBScript %> <!-- #include file = "connectOracle.asp" --> <%if trim(session("UserName"))<>"" then%> <% Response.Buffer = true SET con = server.CreateObject("adodb.connection") con.open "DSN=VTSDSN;UID=vtsplop;PWD=vts@123" set rs = server.CreateObject("adodb.recordset") set rsdest=server.CreateObject("adodb.recordset") rs.ActiveConnection = con Set ORACON = server.CreateObject("adodb.connection") ORACON.Open "Provider=MSDAORA.1;User ID=SAPVTS;password=VTSSAP;Data Source=prd;Persist Security Info=False" tdate = date() fdate = date()-1 VEHMOV=trim(request("VEHMOV")) trans_code = … | |
hi all, I need to implement functionality like how can i retrieve registered user's entered username and password for any website? and after that i want to save userid and password in some text,word file. Any code/link is there then help me ASAP. help would be appreciated. Thanks, KK | |
Well i am using asp and VB.Net to make it to where people can check in and check out. I have gridview which has where it shows the data from my sql server that i put dummy data in. When i load my website the data shows up. I do … | |
Hi, I would like to know what is the best ASP.NET template available since I will be developing a sophisticated web application in a few days. I was searching through the internet for few days but could not find a better one for me. I need only a well presentable … | |
hi everyone , I have a gridview like this id name country 1 test testcountry 2 test1 testtere I have to print total pages containing page 1 -------- id---1 name--test country-- test more columns-trtrtytr page 2 -------- id---2 name--test1 country-- testtere more columns-trtrtytr in each page we have more columns … | |
how to deserilize json in asp.net i will get this type of data when i use HttpWebRequest [code=text] [{"id":23,"name":"Video Clips"},{"id":15,"name":"Deleted Scenes"},{"id":9,"name":"Music Albums"},{"id":7,"name":"Trailers"},{"id":18,"name":"Short Films"},{"id":21,"name":"Movie Clips"},{"id":1,"name":"Movies "},{"id":4,"name":"Plays"},{"id":22,"name":"Scenes"},{"id":2,"name":"TV Show"},{"id":5,"name":"Kids"},{"id":16,"name":"Interviews"},{"id":11,"name":"Film Songs"},{"id":14,"name":"Making of Movie"}] [/code] now i want deserilize this in asp.net(c#) please friends help me out | |
Hi friends.. I am trying to display message box using server-side code. I have written code in buttons click event and Page Load Event. It is as follows : [CODE] Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load TextBox1.Text = "I Enjoy ASP.NET" Dim myscript As … | |
Hi I was hoping someone might have a good approach on how to securely expose a IIS 6 intranet site to users outside company network. Building permanent external web infrastructure is not a viable option right now. The external parties are two companies that we do work for, and who … | |
Hi! I'm trying to send data from a mobile application written in Java ME, to an ASP.NET website connected to an SQL server. I tried to open an httpconnection output stream in the Java ME application, and send the data in a POST to the website. The problem is I … | |
After a client sets up a personal account a email they will get a notice after a specific time frame, say six weeks. This will be used for a retail client that would like to have people sent specific services tailored for them. | |
I'm compiling assemblies in code called from a WebService (which makes user being IIS_USR, and TEMP-directory being C:\Windows\Temp). The assembly is created alright, but it's not loaded (get exception with "Access Denied"). I want to solve this by specifying where CompileAssemblyFromDom should put the assemblies. (I don't want to have … | |
I am final year student and developing a web application using ASP.NET for my computing project. The web application will have three user group to do the follows: Admin: 1. Add User 2. Incidident Allocate 3. Report Incident 4. View Incident 5. Report Engineer: 1. Pick Incident 2. Report Incident … | |
Hi all, I wants to connect a legacy system (mainfrme) through my code (either java or .net) and need to mask the columns in vz450 file columns(fixed length files) and need to ftp into another mainframe machine,how to achieve this,any ideas are greatly appreciated.thankx | |
I want to develop a [B]web application[/B] using asp.net(C#) that can take an image from a scanner (Microtek: scanmaker 1000XL). when a "Scan" button is clicked then the application will capture the image from the scanner. The scanner is Twain compatible. Can I get any sample codes for this web … | |
Hi, I´ve got following code for a office 2010 like tabcontrol in .NET 4.0 [CODE]<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"> <ControlTemplate x:Key="OfficeTabControl" TargetType="{x:Type TabControl}"> <ControlTemplate.Resources> <Style TargetType="{x:Type TabItem}"> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type TabItem}"> <Grid SnapsToDevicePixels="True"> <VisualStateManager.VisualStateGroups> <VisualStateGroup Name="CommonStates"> <VisualState Name="MouseOver"> <Storyboard> <DoubleAnimation Storyboard.TargetName="hoverShape" Storyboard.TargetProperty="Opacity" To="1" Duration="0:0:.1"/> </Storyboard> </VisualState> <VisualState Name="Normal"> <Storyboard> <DoubleAnimation … | |
so im trying to load the first 2 imageIDs from 5 galleries, so here how it works, im using a stored procedure to get the top 5 galleries (galleryID). a second stored procedure is used to load the first 2 imageIDs based on the galleryID, here is the c# code … | |
hi, i have a question in data tables. i am coding in C#. my scenario is employees have many benefits in a company such as life, health, dental, 401k and such... i have a tabel in MSSQL database to represent the employee data and a emp benefit table to hold … | |
need to know how to Get the Current Screen Resolution (VB.NET) | |
Hi I have an Access 2003 database and website that im trying to code using VB asp.net, it's basically a book and toy library website and what i want to do is have a webpage of items with pictures and when the user logs in to the site, they can … | |
Hello, I'm using .NET C# there. I have a textbox. I assigned it a MouseClick event. Normally the event is fired when I click the control. But if I set the textbox's [[B]Enabled=false[/B]] or [[B]ReadOnly=true[/B]] properties, the MouseClick event is not fired. How can I fix it? Thanks. | |
Hi Guys, I want to try and remove a Server Error in '/Program' Application. When i try to delete a record which has related sub record, it cant delete obviously because of the relationship between the entities, however the average user does not no this, and they dont need to … | |
Well my datagrid so far has the edit,update,cancel feature and it can get info back from database after entering a number into a textbox. All i need now is to get it to where I enter a number the data comes up which works and I want a blank row … | |
Hi! I want to set the style of individual items in an asp:dropdownlist. The item may be disabled/enabled. My immediate requirement is to set the style of an individual item in a dropdown which is disabled. [CODE] ddlCategory.DataSource = dtCategory; ddlCategory.DataTextField = "CategoryName"; ddlCategory.DataValueField = "CategoryID"; ddlCategory.DataBind(); [/CODE] The above … | |
Hi all i am using asp.net uploader in my application when i am using file with size less than 5 mb to upload working fine but while try to upload more than 5 mb it gives some standard error like server may down page may not be available an all … | |
Hi, I Need to implement transaction with two databases. I used LINQ for one database and normal connection for other. The code I used in Buiseness Layer like: [CODE] using (TransactionScope scope = new TransactionScope()) { try { DataContext ObjSchool = new DataContext(); MEMLiB ObjMemberships = new MEMLiB(); ObjSchool.SCH_Students.InsertOnSubmit(ObjSCH_Student); ObjSchool.SubmitChanges(); … | |
I'm creating a new functionality in my website. An e-card sender. [url]http://www.game4tress.com/ecardsender.aspx[/url] My problem is that i can initialize the webcam but i cannot set the image (source,...) inside an image control. I've tryed several thinks and google about it, but i found nothing. My main goal is to set … | |
Im unable to maintain the tab order when ever my controls autopostback get executed. I hav 4 controls and my 3rd controls prop of autopostback is true.when ever autopostback is executed the control goes back to first.how 2 solve this | |
I am working on something for school as a final project before graduation. I am using ASP for the website and VB as the back end to code. I keep getting the error "Object reference not set to an instance of an object" and can't figure out what is wrong. … | |
I need a way to get files from a server shared directory uploaded to a second server, but the user got to pick the files from their local PC and needed to see a progress bar. I decided to attempt this in SilverLight, however, my week of coding and modifying … | |
Here's the code I use to show an swf file that's located inside my project (in the directory SWF. It works fine. However, SWF files are huge and I would like to keep them in an external directory. I put some in my development server (C:\Program Files (x86)\Common Files\Microsoft Shared\DevServer\10.0\SWF) … | |
client side code: <script type="text/javascript" language="javascript"> function closeMe() { // Code is here } </script> server side .cs file code protected void btnlogin_Click(object sender, EventArgs e) { if (checkuser(UserName.Text, Password.Text)) { // i want to call closeMe() function here. } else { } } | |
Hi there, I hope someone can tell me what I'm doing wrong here. I have a SelectCommand in my asp.net page (v4) that pulls a variable from the Profile to run a subquery to get the value to test within the main query. (Confused yet?) This works for 2 of … |
The End.