13,936 Topics

Member Avatar for
Member Avatar for capiono

I want to assign a color to my excel column [CODE] currentRow.Interior.ColorIndex = 17; [/CODE] But I don't want to use one of the colors in the excel palette I do I add my own color. for instances: [CODE] currentRow.Interior.Color = Color.LightBlue; [/CODE] Thanks for the help

0
97
Member Avatar for moroshko

Hi, I have an Ellipse on a Canvas and I'm doing a Hit Testing on it. Every time I click the stroke of the Ellipse, the test pass. If I click in the middle of the Ellipse, the test fails. This is good ! After I fill the ellipse like …

0
70
Member Avatar for moroshko

Hi, Consider this code: [CODE]Ellipse myCircle = new Ellipse(); myCircle.Width = 400; myCircle.Height = 400; myCircle.Stroke = Brushes.PeachPuff; myCircle.StrokeThickness = 25; myCircle.ToolTip = "Bold Circle"; Canvas.SetTop(myCircle, 0); Canvas.SetLeft(myCircle, 0); canvas.Children.Add(myCircle); Ellipse myCircle2 = new Ellipse(); myCircle2.Width = 400; myCircle2.Height = 400; myCircle2.Stroke = Brushes.Black; myCircle2.StrokeThickness = 1; Canvas.SetTop(myCircle2, 0); Canvas.SetLeft(myCircle2, …

Member Avatar for moroshko
0
128
Member Avatar for moroshko

Hi, I added a Rectangle to a Canvas like this: [CODE]Canvas.SetTop(myRectangle, 150); Canvas.SetLeft(myRectangle, 80); canvas.Children.Add(myRectangle);[/CODE] Now I want to move the rectangle to other place, say (100, 100). What is the best way to do this ? Thanks !

Member Avatar for moroshko
0
149
Member Avatar for capiono

Like in asp.net you save items in viewState, is there similar function with windows form?

Member Avatar for capiono
0
69
Member Avatar for moroshko

Hi, I put several shapes (like Ellipse and Rectangle) on a Canvas. Now, I want user to be able to drag & drop these shapes. Is there some predefined functionality that I can use, or I should implement the drag & drop myself using the mouse events ? Thanks !

0
86
Member Avatar for culebrin

Hi, I've been googling about a simple source code for crystal reports for about 2 weeks now, and no luck. So I wonder if anyone have a source code for a simple report (maybe with subreports and external parameters) on ASP.NET (I'm using VS2008 and the CR emmbeded in it …

0
116
Member Avatar for swathichiran

My task is to add new words to dictionary file. so am using infragistics webspell checker control. With out creating virtual directory to application, i could add new words to dictionary file. But if the virtual directory is created, even though i click on add, new words are not included …

0
46
Member Avatar for kanuri1

hi frnds, i was a get a problem, i want to update the serialnumber by using a text box,,,, suppose i am updating the serial number as 3,,,,it was updated,,,, but if i wants to update the serial number as 4 ,that is already in the database it is also …

Member Avatar for reach_yousuf
0
101
Member Avatar for kanuri1

hi how to insert default year in database by uing a textbox in button click event. here iam asp.ent with vb.net database is sqlserver-2005. pls give me code

Member Avatar for reach_yousuf
0
93
Member Avatar for moorcroft

Hi I'm trying to map some tables using Nhibernate and it generally works apart from when it comes to one-to-many classes. I have a Visits table where each visit has many Inspection records. The mapping file for Visits contains the following: [code=c#]<bag name="Inspections" lazy="false" fetch="select" cascade="none" inverse="true"> <key column="VISIT_COUNTER"/> <one-to-many …

0
89
Member Avatar for mania_comp

Hi ... I am using details view in one of my aspx page. In DetailsView I have set PagingMode to NextPrevious. Now I load some quiz questions in DetailsView and all this works fine in MOZILLA Firefox . But in IE8 ... when I click on Next button in Details …

0
58
Member Avatar for atplerry

Pls i need to know How can i read the content of a word document into a page or what is the alternative way of doing this. because this site is a dynamic and i dont want the site management to be done by typing the page content inside a …

Member Avatar for padtes
0
77
Member Avatar for gess6321

how do you add a hyperlinkcolumn column in a gridview dynamically at runtime? if you can't add one, how do you modify its properties at runtime? i can't seem to figure out a way to do this.

0
55
Member Avatar for edk1986

sir,i am doing a web based application with front end ASP.net and back end microsoft SQL server.i need to know how to start doing a web based application.i need to know does designing is first to start or coding.suggest me some website for guide.

0
55
Member Avatar for Edmondo

Hi All I have a problem where I want to open Outlook from a ASP button click which then pass data into the Outlook form from information that has been entered into textboxes by the user. Could anyone point me in the direction of how I might go about passing …

Member Avatar for Edmondo
0
232
Member Avatar for Katherine87

I have problem With My Calculator in ASP.NET C# in Microsoft Visual Web Developer 2008 Express Edition : web application not windows application the code: [CODE] protected void Button2_Click(object sender, EventArgs e) { //Double F1; //Double S1; // Double Re; // F1 = Convert.ToDouble(TextBox1.Text); // S1 = Convert.ToDouble(TextBox2.Text); // Re …

Member Avatar for Nick Evan
-1
124
Member Avatar for Katherine87

I have problem With My Calculator in ASP.NET C# in Microsoft Visual Web Developer 2008 Express Edition : web application not windows application the code: [CODE]protected void Button2_Click(object sender, EventArgs e) { //Double F1; //Double S1; // Double Re; // F1 = Convert.ToDouble(TextBox1.Text); // S1 = Convert.ToDouble(TextBox2.Text); // Re = …

Member Avatar for Katherine87
-2
282
Member Avatar for ajijacobm

hi, I have been doing my ASP.net project in C#.I am a beginner to a programming world.i have Performed executed some sql queries by writing some Connection strings..But i am looking for finding another method,which i could get simpler by calling some function like "studadapter.fill(dataset,"src table")" which is to fill …

Member Avatar for ajijacobm
0
158
Member Avatar for moroshko

Hello ! Could you please point me to a good C# tutorial for drawing 2d graphics like Ellipse and Rectangle (that inherit from Shape) on a Canvas using WPF ? I'm also interested later to click on shapes and identify which shape was clicked, and also to drag and drop …

Member Avatar for jamesonh20
-1
154
Member Avatar for joekbit

Hi to all From Joekbit I just completed my BIT. ed experience includes ADO.NET, ASP.NET, NETWORK DESINGN, VB, C#, some HTML, Web desing, complex web based DB design. I have VS 2008, I am using WXP Pro sp3. I also have the full Office pro apps on my system. I …

0
29
Member Avatar for ajitkumar26

HI, I want to Display Confirm box after certain condition using c# code. is there any tool avaolable for that. and also, while using Javascript alert the page getting blank. [code] if (!Page.IsClientScriptBlockRegistered("mytest")) Page.RegisterClientScriptBlock("myrest", "<script> window.alert('Hello')</script>"); [/code]

Member Avatar for reach_yousuf
0
76
Member Avatar for jpegny

Hi, I'm using visual studio 2008 and it's built in development webserver, with C# as the codebehind language. I'm trying to make a simple webapp in which you click a button which sets a session var (that part is working) and in the pageload i'm checking to see if it's …

Member Avatar for Ramesh S
0
81
Member Avatar for mohittripathi

how to add a circle,square on an image on an imagemap?i want to create a new circle smalll one wid text on an existing image and create tat circle whenever i get tat coordinate position.also how to find coordinates of image point in runtime...in asp.net..i used drawing,graphics class but no …

Member Avatar for Ramesh S
0
25
Member Avatar for rananeisha

Help me out to find the tables along with field to build database for CRM database....

0
43
Member Avatar for love_dude1984

hi... im writing a code in which i need to upload some files like pdf's images etc on ftp....my code saves all the files on ftp properly...but ther is one form which allows user to delete the same contents from ftp..n d code written to delete the contents is as …

0
69
Member Avatar for morke

Hi, I currently have a database in MS SQL2008 which is accessed via a VB2008 app on a Local Area network. The password for the database is hardcoded within app.config file in the program. However I want to transfer the database out to the web. To that end I have …

0
54
Member Avatar for happyns

Hi one and all, I am using C#.net language in asp.net framework using visual studio 2008. I have one checkbox as input control and two textboxes named textbox1 and textbox2 as asp controls. First the client needs to type something in textbox1 and after that the client needs to check …

Member Avatar for happyns
0
101
Member Avatar for lucid_dev

Hi, I am relatively new to designing in ASP and this is my first form. I hav created a RadioButtonList within a FormView and one of the items is an other which, when selected, should pass focus onto a textbox for the user to type their 'other' reply. The code …

0
55
Member Avatar for MrBlack

[COLOR="Green"]Can anybody plz tell me how to make a windows application form like vista view,Are there any free tools , help me :S[/COLOR]

-2
50
Member Avatar for shabeg

Hi, I am new in List<string> ,Memory leak,.net, I can i manage memory for List<string> e.g. [CODE]List<string> list=new List<string>(); list.Add("a"); list.Add("b"); list.Add("c"); list.Add("d"); list.Add("e"); list.Clear(); [/CODE] in above example ,will List.Clear() release memory for list or items. Thanks and Regards Shabab Begym

Member Avatar for sknake
0
1K
Member Avatar for algo_man

Hello everybody, I'm about to finish programming my website using VS2008 and VB.NET. It depends on MS Access DB. I've made a contract with ix web hosting to upload my website there. I really don't know exactly what are the steps behind configuring and uploading my files remotely. Is there …

Member Avatar for Ramesh S
0
54
Member Avatar for emilio

hi i realy cant guess what i'm doung wrong i'm trying to fire a simple oninit event. [CODE=asp]<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> </head> <body oninit="alert('hi');"> <form id="form1" runat="server"> <div> <asp:ContentPlaceHolder ID="cph2" runat="server"> </asp:ContentPlaceHolder> </div> </form> </body> </html>[/CODE] this works perfectly with onload event.

Member Avatar for sknake
0
83
Member Avatar for vishalonne

Hi Every Body I learn lots of thing from here. Now I put my hands in ASP.Net. I am creating a web site now I stuck at a point where I want to display the result in sorted order. Actually I have a facility to add new schedule for class …

Member Avatar for vishalonne
0
98
Member Avatar for nmuthu_samy

Hi all, I want to validate the text box in gridview for date format. how can I do this. Thanks in Advance

Member Avatar for nmuthu_samy
0
82
Member Avatar for bluem1

There has to be an easy answer for this, I hope! I basically need the grandchildren of the below xml tree to show up in a vb.net gridview. I have the data getting pulled but all values are getting put into a single cell. Here is the xml tree. [CODE]<?xml …

Member Avatar for sinnerFA
0
261
Member Avatar for drspock

Hi, I am attempted to use .NET's SMTPClient to send e-mail. I get no error messages or exceptions, yet the e-mail does not get sent. I have set the SMTPClient.DeliveryMethod to PickupDirectoryFromIis because I was getting an error message of Mailbox unavailable before. Now I no longer get that error …

Member Avatar for GajananPund
0
92
Member Avatar for farooq82

I am working on site [url]http://www.turnkey-solutions.net/[/url] is working on local system. Its also work on live server but I click on any link its give the error. I don't know how to encounter that error can some one help me out from this problem. [CODE]Server Error in '/' Application. Parser …

Member Avatar for farooq82
0
92
Member Avatar for sb20642

I have a web service which has the soap authentication. But when i view the HTTP Request format in the soap envelope i dont find the xmlns:type attribute and also in the soap:body i dont find soap:encodingStyles attribute. How to add these attributes from the web service side. I need …

0
61
Member Avatar for jcb0806

Hello there, I know this is simple, but I'm trying to add a scrollbar to this pop up window. [code] <script> function PopUpInvestors(investorid,identifier) { window.open('../trades/Peeps.aspx?investorid=' + escape(investorid) + '&id=' + identifier,'','resizable,status,left=100,top=75,width=625,height=600'); } </script>[/code] Can anybody help?

Member Avatar for reach_yousuf
0
102
Member Avatar for AndreRet

Just to say hi to all the .NET helpers out there. I have made the dreaded (but forced) change from vb6 to .NET. I will rely a lot on your expertise in this forum, and thanks to those that will be prepared to sort all my questions. I have been …

Member Avatar for debasisdas
0
90
Member Avatar for bigfan

1. I have a blank test page. On the page load, it does this: UserControl c1 = (UserControl)LoadControl("control1.ascx"); this.Controls.Add(c1); 2. I have control1.ascx.cs On the ascx side: i have this single literal: <asp:Literal ID="litTest1" runat="server" Text="Hello World" /> On the page load, it does: UserControl c2 = (UserControl)LoadControl("control2.ascx"); this.Controls.Add(c2); 3. …

Member Avatar for reach_yousuf
0
96
Member Avatar for Edmondo

Hello there, I'm again working with a insertTemplate but this time I would like to know, basically I have two SQL tables one called Technician and the other called Alert. Basically I have a TextBox where a user can add new employees and save them to the Technician table, the …

0
80
Member Avatar for mshravs

hey, i have a problem regarding the format of the date format. in the form i have the date format in dd/mm/yyyy and when i try to save the date in that format in sql database, it's not accepting in that format. but i need to save the date in …

Member Avatar for sknake
0
147
Member Avatar for pranilrao

Hi, I am working with the treeview control and binding it dynamically using the treeview_TreeNodePopulate method. The code works perfectly fine and treeview behaves as it has to. However, I am facing one annoying issue in the display of the treeview, the last node and its child do not align …

Member Avatar for pranilrao
0
204
Member Avatar for Mind Bird

using System.Web.Mail; MailMessage mm = new MailMessage(); mm.To = "mymail@gmail.com"; mm.From = "mymail@gmail.com"; mm.Subject = uxSubjectText.Text; string MESSAGE2 = "<html><body><div><table><tr><td>hiiiii</td></tr></table></div></body></html>" mm.Body = MESSAGE2; mm.BodyFormat = MailFormat.Html; mm.Priority = MailPriority.High; SmtpMail.SmtpServer = "smtp.gmail.com"; mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate", "1"); mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername", "maymail@gmail.com"); mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword", "password"); mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpserverport", "465"); mm.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpusessl", "true"); SmtpMail.Send(mm); plz solve this problem

Member Avatar for reach_yousuf
0
76
Member Avatar for thetodaisies

Hi, I have an aspx textbox control in my webpage its value is being assigned from javascript. Now once the value is assigned from javascript it returns empty string when tried Textbox.text from c# codebehind on submit. here is the definition of the textbox <asp:TextBox ID="TxtTags" CssClass="TextBoxStyle" runat="server" ReadOnly ="true" …

Member Avatar for thetodaisies
0
60
Member Avatar for ultras1

How to get the IP address of the Client (visitor of the website) I tryed with theese codes: [CODE]Request.UserHostAddress; and Request.ServerVariables["REMOTE_ADDR"][/CODE] But both gave me back the serrver IP :(

Member Avatar for Kusno
0
92
Member Avatar for Stivi

Hi, I'm working on a content management system for our website (ASP.NET project, C# language, SQL Server 2000), but I'm unable to save russian texts into the database. Table is okay, I've created an ntext column, which is able to store unicode characters. However, if I'll look into the database …

Member Avatar for possible181
0
168
Member Avatar for love_dude1984

hi.. im using a a gridview with template fields which contains labels to display the dynamic data from database.. my problem is, i want to use paging concept in the gridview. but as im using template fields & a dynamic database, im getting an error.. this is how im binding …

Member Avatar for mail2saion
0
130

The End.