13,936 Topics

Member Avatar for
Member Avatar for to.areeb

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

Member Avatar for Alfredking
0
499
Member Avatar for guinntiques

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 …

Member Avatar for guinntiques
0
139
Member Avatar for cutebaboi

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 …

Member Avatar for cutebaboi
0
160
Member Avatar for vipin.luhach

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

Member Avatar for vipin.luhach
-1
455
Member Avatar for Jason123

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?

Member Avatar for Jason123
0
103
Member Avatar for Aties

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 …

Member Avatar for Aties
0
1K
Member Avatar for aalokwar

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 …

Member Avatar for hericles
0
242
Member Avatar for br_astronut

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 …

Member Avatar for AleMonteiro
0
207
Member Avatar for hirenpatel53

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 …

Member Avatar for hirenpatel53
0
116
Member Avatar for sachintha81

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() ) …

Member Avatar for Momerath
0
1K
Member Avatar for Fortinbra

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 …

0
69
Member Avatar for cutebaboi

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

Member Avatar for cutebaboi
0
1K
Member Avatar for Rajsmethode

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 …

Member Avatar for omar isaid
0
848
Member Avatar for cocoll

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 …

Member Avatar for dnanetwork
0
101
Member Avatar for game4tress

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 …

0
129
Member Avatar for anglerman247

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 …

Member Avatar for tej kharka
0
501
Member Avatar for kmk_cena

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 …

Member Avatar for kmk_cena
0
152
Member Avatar for edejonge

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 …

Member Avatar for cutebaboi
0
102
Member Avatar for sraj44

[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 = …

Member Avatar for Atul Dhiman
0
238
Member Avatar for krunalkakadia

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

Member Avatar for Atul Dhiman
0
176
Member Avatar for StevenSchaffner

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 …

Member Avatar for Atul Dhiman
0
241
Member Avatar for hsheen

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 …

0
69
Member Avatar for greeny_1984

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 …

0
84
Member Avatar for Aties

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

Member Avatar for kvprajapati
0
88
Member Avatar for mania_comp

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 …

Member Avatar for anilkumarthumma
0
218
Member Avatar for bg1976

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 …

Member Avatar for shibbard
0
69
Member Avatar for Natique

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 …

Member Avatar for Natique
0
219
Member Avatar for DCorn

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.

0
55
Member Avatar for barnum

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 …

Member Avatar for barnum
0
149
Member Avatar for ziaul1234

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 …

Member Avatar for markymark180
0
186
Member Avatar for chandru7

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

Member Avatar for peter_budo
0
113
Member Avatar for sah

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 …

0
72
Member Avatar for exicar

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 …

Member Avatar for nmaillet
0
352
Member Avatar for barriegrant1

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 …

Member Avatar for Mark76
0
146
Member Avatar for judithSampathwa

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 …

Member Avatar for judithSampathwa
0
303
Member Avatar for maroin22
Member Avatar for LnrdPJL

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 …

0
95
Member Avatar for SoftwareGuy

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.

Member Avatar for hericles
0
2K
Member Avatar for YMCMb

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 …

0
120
Member Avatar for StevenSchaffner

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 …

Member Avatar for ShahanDev
0
506
Member Avatar for soft_coder

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 …

0
67
Member Avatar for hirenpatel53

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 …

Member Avatar for hirenpatel53
0
118
Member Avatar for ssreevidya.m

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(); …

0
63
Member Avatar for game4tress

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 …

0
131
Member Avatar for ramareddy_dotne

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

Member Avatar for umesh1987
0
178
Member Avatar for StevenSchaffner

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

Member Avatar for StevenSchaffner
0
234
Member Avatar for Fortinbra

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 …

0
83
Member Avatar for jimib

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

0
97
Member Avatar for shivam charan

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 { } }

Member Avatar for G_Waddell
0
77
Member Avatar for robpal

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 …

Member Avatar for robpal
0
119

The End.