No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
84 Posted Topics
I have created an aplication in C# windows application version 1.1 to display some records in a datagrid. The datasource of the datagrid is datatable and not any database.I want tht when we edit any cell of a particular column and press "Enter" it should show a Message Box let's … | |
How to change the color of selected row of an HTML table without using CSS or Javascript? | |
When we click on the Hyperlink of subject a new HTML Page should be pop up and shows the body of the mail. I have written two perl codes first is for displaying the page with folders with subject another perl code having function to show the body.How can I … | |
I have a datatable which is having n no. of rows and each row has a unique field say ID. Now I want to get a particular row for a specified ID. eg. there are 5 rows in a datatable and the id's are 1,2,3,4 and 5 and if I … | |
hi all, i want to run the slide show say ten slides and then close it programaatically , but in my code given below it opens the slide show and closes immediately ... .. please give me a solution to this problem [code]Microsoft.Office.Interop.PowerPoint.Application ppApp = new Microsoft.Office.Interop.PowerPoint.Application(); ppApp.Visible = MsoTriState.msoTrue; … | |
Re: Hi Plazmo, but i m not able to understand this... I ahve a gridview and want to retain the data which is checked on the checkbox check button. I want to retain this check when i goes to next page also... How can I do it? | |
I have to add a not null column in a table. I am using [code]IF NOT EXISTS(SELECT * FROM information_schema.columns WHERE column_name = 'xyz' AND table_name = 'abc') BEGIN ALTER TABLE abc WITH NOCHECK ADD xyz MONEY NOT NULL END[/code] It gives me error ALTER TABLE only allows columns to … | |
I am facing a problem. I have an enum which further goes as some string values. Now I have a check or validation for that particular enum type as if it is null, then display some error message. But when I give nothing for the particular parameter, it takes the … | |
Can we use ASP.NET website inside the Silverlight application? | |
I want to add some custom properties as well as the existing properties should remain same in the controls. Some of the controls can have the extended properties, but some controls like Textblock are sealed so can not be able to inherit other controls from the existing control. Anybody have … | |
I am very new to SharePoint... I need to know two things: 1. How to work on a single website with multiple developers? 2. How to deploy the SharePoint website or webapplication on production server or client machine? Do anybody know some answer or some links which can help me? … | |
I want to create a list of hyperlink buttons, and the bulleted list should contain some images before the link. For example > how > can > i > get > this So in place of ">" i need different images, how can i do that in Silverlight? Thanks in … | |
I have created a C# Windows application in .NET 3.5, it runs the powerpoint slideshow and closes all the existing slideshows and should only run the new .ppt application. In C# when I run this application with putting breakpoints it runs fine and gives no error. But when I run … | |
I am creating a folder watcher application. If a new powerpoint file gets added in the folder it should get started automatically. So if I put .pps file into the folder then and I say [code]System.Diagnostics.Process.Start(fullPath);[/code] it works fine. This is not the case with .ppt files Only the powerpoint … | |
I am working with Silverlight website with released version 2. I have created a website with have some xaml pages, I want to show contents dynamically it might be aspx page or simple html page, contents of which can be loaded on the xaml page at runtime on a button … | |
When I go to the design window and drag some control say label in that, I can't be able to see that. When I switch to Source control, I can the tag like [code] <?xml namespace="" prefix="asp" ?> <asp:Label ID="Label1" runat="server" Text="Label">ABCD</asp:Label> [/code] Also in properties window I can't see … | |
I have a text file say log file. i have to extract all the characters between "<" sign and ">" sign. i.e. between <> and put it into the database and log file is of kind Sun, 24 Jun 2007 21:49:49 GMT: Received request </abc/abc.gif>, from <111.1.11.11>:<1111> at domain <localhost/abc.net> … | |
I want to select data from ranges like Column1 Column2 25000 10 50000 20 75000 30 I want records like upto 25000, I get 10 upto 50000, I get 20 upto or more than 75000, I get 30 Can anybody suggest me a simple query for that? Thanks in advance, | |
I have a webservice which accesses some methods from the Business layer. I made a website which uses this webservice, I have given the WEb reference for that web service. I want to call a WebMethod which uses some structures from the business layer. I am populating the business layer … | |
I have two XMls having same node and different data(innertext) I want to compare these two xmls and if there is any change then save the new one into the database and if both are same then do not save the data How can I compare these XML data? say … | |
I am displaying a GridView on some specific criteria which is entered by some textboxes say studentid, studentname as input from textbox and show records in GridView. For this I m using a stored procedure which returns a datatable based on inputs came from textboxes. I want an Edit button … | |
I am using SQL Server 2005, I have some select and update statements in my query with WHERE clause I want to prevent these queries from SQL injection attacks. What are the steps and precautions to be taken for SQL Injection attacks? Does anybody have suggestions? Thanks in advance, | |
Does anybody know javascript function to call WebService I have a webservice written in .NET2.0 and I want to call the webservice by JAvascript function and store the data got from the function on local comp by opening save dialog box in javascript itself Do anybody have any idea? | |
I have a login page where I have my own label and texboxes which take input username and password, and there is a function in which there is a SP which validates username and password stored in the database. My code in Login.aspx.cs is such that I call that function … | |
I am joining two tables with INNER JOIN and I am getting duplicate entries. I used DISTINCT but its not working. Do we have some other keywords for the same? Thanks in advance, | |
There is aspx page where I am displaying a GridView with some data about basic details about a person. In that GridView there is a hyperlink, which navigates to a new aspx page where I am displaying the detailed information about particular person in some controls like text boxes etc. … | |
I have a table which have person's name as Prefix, firstname, lastname, address as three different columns. I want to get all records when fire a query like SELECT * from Persons where name= 'abcd' I want such query which can search in all three columns, it means abcd can … | |
I have a datatable which is having n no. of rows and each row has a unique field say ID. Now I want to get a particular row for a specified ID. eg. there are 5 rows in a datatable and the id's are 1,2,3,4 and 5 and if I … | |
I want to get two columns data from two tables which are not dependent to each other i.e. no key common in both they are not related to each other. I can't use JOIN because it needs where clause which uses a common field from both tables. I just want … | |
Can we do like this in enums enum myStringEnum { enumItem1 = "value 1", enumItem2 = "value 2", etc } i.e.spaces in the string value, I know we can assign int value to enum but I m not sure whether string values (with spaces) can be assigned to enums. If … | |
I have a table having columns like values, like this col1 col2 col3 1000 10 2 1000 20 3 1000 30 4 2000 10 5 2000 20 6 2000 30 7 3000 10 8 3000 20 9 3000 30 10 I want to fetch records like if i enter col2 … | |
I have a function which have return type DataRow and the parameters for the fucntion are the parameters for the stored procedure. I have to execute the Stored Procedure with given parameters and populate the datarow so that the return will be the populated DataRow with the output of the … | |
I have two text boxes for login (not using ASP.NET2.0 login control) for username and password and one checkbox for "Remember Password".I want to remember password on the check of checkbox. Do I have to use cookies?Is there any other way to achieve that since if the user had disabled … | |
I am trying to encrypt and decrypt the password in ASP.NEt2.0 application with Rijndael algo. I am able to encrypt the password but not able to decrypt it. Can anybody tell me what is the problem with my code, I am pasting it here public static string Encrypt(string StringToEncrypt, string … | |
I have a GridView which is geting fiiled on the click of a button have method "FilGrid" I want to use the update panel of AJAX so that the page should not get refreshed at the button click but i m not able to do it .. I have putted … | |
Can we capture the events like click of ASP.NET2.0 controls like link button at client side. For example, there is a link button which performs some operations say download,when the checkbox of the GridView are checked. But what if when the checkboxes are not checked and the link button is … | |
Hi Friends, I have a GridView in which the row or the data is getting selected on the checkbox click. I want to enable paging in the GridView such that when i go to next page then the previuos selection remains as it is...means i can perform operations on current … | |
I have created a class that returns a class object which have info about the username,pwd,emailid of current user. Now i want to use this email id in my aspx.cs page to show the current logged in user and its email id.... i m creating an isntance of that class … | |
I am working on search module of a website.I am doing it from MS Index server searching by creating catalogs. My index server is searching the title and path from a HTML page of a directory stored in the catalog. I don't want to get the description (characterization) from the … | |
I want to print the page in C#/ASP.NET 2.0, but the problem is when i use following javascript code, it prints the whole page. [COLOR=#0000ff]function[/COLOR][COLOR=#000000] printMe()[/COLOR] { window.print(); document.getElementById([COLOR=#a31515]"printed"[/COLOR]).value = [COLOR=#a31515]"YES"[/COLOR]; document.getElementById([COLOR=#a31515]"form1"[/COLOR]).submit(); } [COLOR=#0000ff]<[/COLOR][COLOR=#a31515]form[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]id[/COLOR][COLOR=#0000ff]="form1"[/COLOR][COLOR=#000000] [/COLOR][COLOR=#ff0000]runat[/COLOR][COLOR=#0000ff]="server"> [/COLOR] [COLOR=#0000ff]<[/COLOR][COLOR=#a31515]input[/COLOR] [COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="button"[/COLOR] [COLOR=#ff0000]value[/COLOR][COLOR=#0000ff]="Print me"[/COLOR] [COLOR=#ff0000]onclick[/COLOR][COLOR=#0000ff]="printMe();"[/COLOR] [COLOR=#0000ff]/> [/COLOR][COLOR=#0000ff]<[/COLOR][COLOR=#a31515]input[/COLOR] [COLOR=#ff0000]type[/COLOR][COLOR=#0000ff]="hidden"[/COLOR] [COLOR=#ff0000]id[/COLOR][COLOR=#0000ff]="printed"[/COLOR] [COLOR=#0000ff]/>[/COLOR] [COLOR=#0000ff][/COLOR] [COLOR=#0000ff]I don't … | |
I have made a user control where I have used menu control.When I am using the site on my computer it is running fine with Mozilla 2.0 and IE 6.0 but when I am running it on different computer, all the menu item's location get disturbed. Anybody have any idea … | |
How can i fix the column width at code time so that it cannot be editable at runtime. language-C# Windows application version-.net 1.1 or 2003 | |
Hi, I’m trying to implement a search function within my C# Windows application to search within a datagrid. Basically I need to search the datagrid, using any key word, e.g. if "B" is typed, all entries with B in either is found and displayed in the datagrid. and this search … | |
i have created a web application in c# and ASP.NET1.1 that is having a button on click of which spawns a web page which is hosted on my localhost! i have given the URL to my friend.Now he/she access it . I want a alert box or some notification on … | |
Can anybody tell me is there any software(can be 3rd party) which can autoupgrade my software on user machine. Suppose i made a software Google1.0 and it is installed on user machine. Now i launced another software Google2.0 and want to auto upgrade the earlier software of the machine automatically … | |
I am accessing MS Outlook Folders through VB.NET console application through Command Line Arguments.The mails are displayed in HTML table format. I am displaying all mails once at a time.I want to display it as page like first 10 items at once and rest 10 after clicking the link button … | |
I am new to PHP. I am trying to connect mysql with PHP with mysql_connect but i m getting "A link to the server could not be established" I have used ODBC 3.51 driver for odbc and made connections with odbc with odbc_connect but i don't know how to connect … | |
I have installed Bugzilla 3.0 on Windows Server 2003 Service pack 1. It was working fine in terms of functionality, but getting the message like "Use of uninitialized value in substitution (s///) at (eval 44) line 44. [Thu Apr 19 11:31:55 2007] index.cgi: Use of uninitialized value in substitution (s///) … | |
I m writing this code in VB.NET web application to set the MIME type for some particular file extensions.It working fine but what i want to do is i don't want the web application I want this code in vb.net 1.1 console application.Is it possible to use httpresponse in console … | |
I have a class MyDataGrid which is inherited from Datagrid which have two protected override functions. i want to register the events. for example public class MyDataGrid : DataGrid { protected override void OnMouseMove(System.Windows.Forms.MouseEventArgs e) { //dosomething } protected override void OnMouseDown(System.Windows.Forms.MouseEventArgs e) { //dosomething } Now i want to … |
The End.