13,936 Topics

Member Avatar for
Member Avatar for vinayak.v

hi.. i've created one crystal report. and one global resource file .. in crystal report there's one text object with id Text1. and i want to take the values of resource file i've got it CrystalDecisions.CrystalReports.Engine.TextObject Dtemp1 = ((CrystalDecisions.CrystalReports.Engine.TextObject)myreport.ReportDefinition.Sections["section1"].ReportObjects["Text1"]); Dtemp1.Text = Resources.Resource.ResourceManager.GetString("Dsec1"); it is showing the correct value want i …

0
107
Member Avatar for sundarchum

When i try to debug the vs 2008 solution i am unable to start debugging. I get the below error message. Unable to start debugging on the web server. <html><head><title>Server Application Error</title></head> <body><h1>Server Application Error</h1>The server has encountered an error while loading an application during the processing of your request. …

Member Avatar for rohand
0
154
Member Avatar for Pari13

Hello Developers, I am not able to get client path on file(image) upload .so i can disply that file(image) in image control on upload file. On my local machine below code worked nicely. [CODE] <img id="imgProductHallmark" name="imgProductHallmark" src="" alt="Image" width="95" height="113" runat="server"/><br /> <input name="ProductHallmarkUploadID" id="ProductHallmarkUploadID" type="file" onchange="LoadImage1()" runat="server" /> …

0
67
Member Avatar for c0deFr3aK

Hello, I have a newly created ASPX Website with Default.aspx and a Masterpage. on the master page i created a navigation menu i.e Home, News ect. then i created a folder inside the site and put some pages i.e page1.aspx. My problem is when im at page1.aspx (/mysite/folder1/page1.aspx) then hit …

Member Avatar for c0deFr3aK
0
95
Member Avatar for dirkjan75

So, two pages: first one is a simple datasource & gridview with edit button, is working. Second is the same code but then in a contentplaceholder page, linked to a masterpage. Now the code is not working, when editing, it returns empty fields in steds of edited fields. [CODE]<%@ Page …

Member Avatar for dirkjan75
0
280
Member Avatar for mldardy

I have a dropdown list on aspx page that is using a data source select command to pull from a database. The don't any data in the dropdown when I preview the page. I need help on what I am doing wrong. Here is my code for the dropdown list …

Member Avatar for MichaelWClark
0
135
Member Avatar for romkas

Hello! I have problem! So, first of all I have page wich consist of 3 pages. In first page I press Button "Start" it will create empty record in my DB, in Page 2 is Form where I need to fill data and when I press Button "Next" it will …

Member Avatar for MichaelWClark
0
139
Member Avatar for rakeshgiri123

hi , i am making an internal social networking application for my small organisation where i work .i have a list of all employee names in a mssql 2000 database that are the names of 5000 employees of the company one by one arranged in rows in a single coloumn …

Member Avatar for MichaelWClark
0
77
Member Avatar for MichaelWClark

I have a master page with an update panel wrapping up the content template. In one of my pages I have a grid view that is residing in a Div that utilizes the overflow method to produce scroll bars. I need to be able to retain the scroll position through …

Member Avatar for MichaelWClark
0
589
Member Avatar for MichaelWClark

I recently discovered the power of Linq To SQL and decided to implement it into a control that I am working on right now. So far it is making life much easier but I have ran into a small stumbling block here and need the experts assistance. I have a …

Member Avatar for MichaelWClark
0
121
Member Avatar for imbest

<%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default.aspx.vb" Inherits="_Default" %> [CODE] <!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" > <script type="text/javascript"> function showMe2(it,txtid,msg) { document.getElementById(it).style.display = "block"; e=document.getElementById(it); //e.style.top=200; document.getElementById(it).innerHTML = msg;//document.getElementById(txtid).parentElement.offsetTop ; e.style.top= document.getElementById(txtid).parentElement.offsetTop+35; e.style.left=document.getElementById(txtid).parentElement.offsetLeft+200; e.align = "left"; e.style.width="auto"; //document.getElementById(it).style.top =document.getElementById(txtid).style.top ; } function hide(it) { document.getElementById(it).style.display = "none"; …

Member Avatar for dannie_cake
0
148
Member Avatar for suzan.balaa

Hey, My solution has 3 different projects. I have images in one of these projects which I need in the other projects. For example: Project A : contains "kitty.png" Project B: Needs the PHYSICAL PATH of "kitty.png" meaning C:\inetpub\wwwroot\ProjectA\Images\kitty.png Server.MapPath can not help me in this situation since I am …

0
111
Member Avatar for vinayak.v

hi.. i've created a crystal report and one crystal report viewer in windows form. i've two form form1 and form2 in form2 i've kept one button called print. when i press this button it should print the document into .pdf format. without using the crystal report viewers print button. please …

Member Avatar for vinayak.v
0
135
Member Avatar for new SE

Hi all, now i'm working to convert html to pdf in asp.net.. i don't have any idea to make it.. now i have this code to convert it but have a problem.. anybody please help me see thid code or send me link as a guide.. i'm using iTextSharp to …

0
75
Member Avatar for mohammed yaghi

how to solve security warning programatically when open web site i develop I mean what is the reason that cause security warning thanks

Member Avatar for Lusiphur
0
90
Member Avatar for laghaterohan

Hello, I have prepared a crystal report (asp.net 3.5 / vs 2008) . On my web form i have a textbox which accepts a membership number and a View button. When i enter the membership number and click on view my report should be displayed below on the same page …

Member Avatar for jbisono
0
130
Member Avatar for rcbpro

I want to let others to delete selected row in the following datagrid view, and i have written it like this. Now when i select a row and press the delete button i can remove the selected row but it will not update the database which meant it will not …

Member Avatar for nikita111
0
504
Member Avatar for vinayak.v

hi.. i've one crystal report. i want the report header as "employee database". i dont want to right click->insert and goto text object and insert. i've one aspx page and aspx.cs page also. now i want the "employee database" header to be printed from .cs file. i dont want to …

0
98
Member Avatar for liamzebedee
Member Avatar for jimbennett57

Due to a *quirk* in our domain forest, I need to change how I'm getting a logged on user's group membership. When a user authenticates into this application I need to see if they belong to one of 4 groups. In our test environment I was using: [CODE] ArrayList groups …

0
83
Member Avatar for wow..holiday

i m new on this community & a beginner in programming. i wanna be a web designer, asp.net

Member Avatar for AndreRet
0
18
Member Avatar for visweswaran28

Hi, I am creating web application. In that I want to set session timeout (not idle timeout). If a user logged in that time the session time will start and it automatically should detect session timeout the page should redirect to another page. How can I acheive this.

Member Avatar for rohand
0
221
Member Avatar for vinayak.v

hi.. i want to override the connection string of crystal reports.. is there any way that i use the connection string as shared datasource. MY PROBLEM BEGINS: i've 50 reports with the connection string vsspl-005\sqlexoress but i've changed my connection string vsspl-002\sqlexpress. there is only one way that i dont …

0
107
Member Avatar for poojashah623

Hello, I m working on windows application using vb.net 2008. My back end database is in MS Access 2003. If I deploy the project, then where does the access database is to be kept when setup is created..? Pls help me....

0
67
Member Avatar for mogaka

Hi i have developed a vb.net software that runs without installing. the file is .cab file.my intention is to save the software on server so that client machines can create a shortcut and get it run without installing it. But i want it be called from a web form i.e …

0
66
Member Avatar for fawadkhalil

Hey all i have installed vs 2005 on windows 7, it worked fine for few days but suddenly while creating new website project i got error "creation project<projectname>...project creation failed". Also when i try to run existing projects another strange error i encountered was "Unable to connect to vs local …

0
47
Member Avatar for ypdev

Hi, I am trying to connec to .mdb database using web.config but for some reason I receive an error "Path is invalid", can you please tell me what's wrong? **I've tried in so many ways, one of them was comment out.. [CODE] <%@ WebHandler Language="C#" Class="acData" %> using System; using …

0
52
Member Avatar for kinnannawaz

I am planning to build a torrent website using Asp.net Sqlserver 2008 Window server Can i do that? Can microsoft take any legal action against my website for making a torrent webite by using their technologies? or should i use open source technologies like PHP and MYSQL? Thanks I really …

0
45
Member Avatar for denmarkstan

could brothers and sisters welcome me by looking into this longlasted problem: [CODE]"INSERT INTO finaldata (Hall, Bedspace, AmountPaid) SELECT * FROM AllcDataBoys 'WHERE Bedspace ='" + (Bespx.CompareTo(RET) == 0) + "'WHERE RegNumber ='" + txtRegNumber.Text.Trim().ToString(); [/CODE]finaldata table has 7 columns and AllcDataBoys table has 3 columns(which is common on both …

Member Avatar for mono_jit23
0
88
Member Avatar for vinayak.v

Please can anyone help me how to convert number to words in Indian format in Crystal Reports. eg. I want to convert Rs.25,12,545 as Rupees Twenty Five Lakhs Twelve thousand five hundred and fourty five only. The towords function converts into millions and billions and i want the result in …

Member Avatar for mono_jit23
0
68
Member Avatar for jackparsana

hi, how to call code-behind function in java scrip. i am working on asp.net please help me to call the procedure with js. thanks in advance. jack

0
108
Member Avatar for bksharma

I have used three frame set in a page in which middle frame has a menu. <frameset border="0" framespacing="0" frameborder="0" rows="122,26,*" wmode="transparent"> <frame src="../../MasterPageTop.aspx" name="TopFrame" id="TopFrame" marginwidth="0" marginheight="0" noresize scrolling="no" style="z-index:auto; position :absolute "> <frame src="HorizontalFrame.aspx" name="HorizontalFrame" id="HorizontalFrame" marginwidth="0" marginheight="0" noresize scrolling="no" style ="position :absolute;" wmode="transparent"> <frame src="../../ProgramFiles/Menu/WelcomePage/WelcomePage.aspx" name="MainFrame" id="MainFrame" …

0
51
Member Avatar for Pari13

Dear ALL, Please Help. I am not able to replace New line at special character. Code Than i Have done. [CODE] string x=strtext.ToString().Replace(Convert.ToString((char)13),"\\n"); [/CODE] able code will give result as --> \n0 Why 0 at after \n . Please help it's ergent.. Thanks.

Member Avatar for Lusiphur
0
185
Member Avatar for Dhammakirty
Member Avatar for denmarkstan

pls brothers help me out here: [CODE]"INSERT INTO finaldata (Hall, Bedspace, AmountPaid) SELECT * FROM AllcDataBoys 'WHERE Bedspace ='" + (Bespx.CompareTo(RET) == 0) + "'WHERE RegNumber ='" + txtRegNumber.Text.Trim().ToString(); [/CODE] finaldata table has 7 columns and AllcDataBoys table has 3 columns(which is common on both tables). i want to get …

0
68
Member Avatar for jamey8420

I have created a gridview that is populated from a SQL table. The gridview does not autogenerate the fields; all are explicitly defined. [CODE]<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" DataSourceID="Hours" style="margin-left: 0px" AllowSorting="true"> <Columns> <asp:TemplateField HeaderText="Send Email"> <ItemTemplate> <asp:CheckBox ID="chkEmail" runat="server" /> </ItemTemplate> </asp:TemplateField> <asp:BoundField DataField="tkinit" HeaderText="Initials" SortExpression="tkinit" /> <asp:BoundField DataField="tklast_first" HeaderText="Name" …

0
58
Member Avatar for wm811

I've searched as much as I can, for the previous two weeks between projects, and have yet to find a clear answer (I'm still new to C#, so what's clear to most does not apply.) Our website has a member login and then members can update various contact information for …

Member Avatar for jbisono
0
553
Member Avatar for visweswaran28

Hi, I did one web-site in asp.net. I have published and I checked in IIS everything works fine. But When I upload into my web domain. I am getting following error. Error: Section or group name 'system.web.extensions' is already defined. Updates to this may only occur at the configuration level …

Member Avatar for Lusiphur
0
136
Member Avatar for b9678123

Hi, I am developing a very basic application in C# and Asp.Net using New Website-->Asp.Net web site.This is a simple login control application available in Visual Studio. After starting a project, I found folder structure like that Project name "WebSite2" under which I have folders like "Account", "Scripts" and "Styles" …

Member Avatar for G_Waddell
0
268
Member Avatar for vinayak.v

hi.. to all i've connected my crystal report to my database using database experts. now my problem is i want to display the total no of records.. in each page .. i.e in database there are 50 records when i execute.. it takes two page to print.. now in first …

0
109
Member Avatar for Izzy123

Hi, I'm having a question about retrieving data. I'm using VS 2008 and I have to create a new consultation record for a patient and I've already created a database with 3 tables, which are doctor, patient and consultation. I have 10 records saved in consultation table, and I've made …

Member Avatar for ITchimes
0
74
Member Avatar for priyaccs

i want to know how to use richtextbox in asp.net 2.0? any one tell me

0
39
Member Avatar for jackparsana

<asp:Calendar ID="cal" runat="server" NextPrevFormat="FullMonth" OnDayRender="cal_DayRender" OnSelectionChanged="cal_SelectionChanged" CssClass="maincalander" CellSpacing="5"> <SelectedDayStyle CssClass="selectedday" /> <TodayDayStyle BorderColor="Black" BorderWidth="1px" Font-Bold="true" Font-Underline="false" /> <OtherMonthDayStyle ForeColor="#999999" Font-Underline="false" /> <NextPrevStyle CssClass="nextprevstyle" Font-Underline="false" VerticalAlign="Bottom" /> <DayHeaderStyle CssClass="dayheader" /> <TitleStyle BackColor="White" Font-Bold="True" Font-Size="12px" ForeColor="#333399" /> </asp:Calendar> --------css--------- .maincalander { font-family:verdana,tahoma,helvetica ; font-size: 11px; color:Black; text-decoration:none; width:250px; } .selectedday { background-color:Maroon; …

0
224
Member Avatar for a.slaughter

Hi all bit of a two question in one here. firstly im creating a site that is going to be multi language so all copy on the site needs to be changable. to do this ive given each tag on the page and id and runat=server for eg <h1 id="siteH1" …

Member Avatar for a.slaughter
0
114
Member Avatar for herit02

it was regarding in vb.net text operations, i want to replace the text by finding some particular text. but the problem arises when the starting and the at the end delimiter of the string is something same every-time but middle thing keeps on changing so how can i work out …

Member Avatar for GeekByChoiCe
0
135
Member Avatar for ff4930

I am a beginner in ASP.NET, have been reading ASP.NET 3.5 unleashed. I was wondering if there is a site or any cool exercises/projects that is good to do using ASP.NET so I can get more practice. I feel reading is not practical enough and doing the already done examples …

Member Avatar for muthu.guts
0
205
Member Avatar for vinayak.v

hi.. i'm using the database on live .. i may do hosting on different system and ip is changed.. please help me the below code runs well when i remove the ispostback condition.. but when i keep that when page is loaded it works well but when i give print …

0
120
Member Avatar for MichaelWClark

If i use a standard web form with no master page the following code works fine, when I add it to my master page it will not fire the events. Please advise. Markup: [code] <asp:GridView ID="gvHR" CssClass="gridview" runat="server" AllowPaging="True" EnableViewState="true" DataKeyNames="HRID" AutoGenerateColumns="False" DataSourceID="ldsHR" > <Columns> <asp:BoundField DataField="FirstName" HeaderText="FirstName" ReadOnly="True" SortExpression="FirstName" …

Member Avatar for MichaelWClark
0
153
Member Avatar for RunTimeError

Hello, I just have a very simple n00b question so please forgive me. Basically I have an ASP.NET website connected to an SQL server database. Everything is working fine (I can connect to the database, execute queries) but where should I put the SQL connection/logic code? In the aspx.cs code …

Member Avatar for MichaelWClark
0
487
Member Avatar for mayurisuneth

hi............ I'm undergraduate of computer engineering student & doing my final year project based on Vehicles and Drivers Management System for Computer Engineering Students. i will think doing [LIST] [*]Easy scheduling of Vehicles [*] Here the employees of the company can request a vehicle through the system and system will …

Member Avatar for mayurisuneth
0
74

The End.