473,774 Members | 2,191 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

C# / C Sharp Forum

1
2,327
thread by: maarif | last post Jun 27 '08 by: Ignacio Machin ( .NET/ C# MVP )
I'd created a Template column on my DataGridView which contains a textbox and a button that is shown while on Edit mode. How do I capture the button's click event? I don't want to use the CellClick() event, I just want to capture the button click event? -- Arif
3
1,856
thread by: Robert Bravery | last post Jun 27 '08 by: parez
HI all, I am developing a shopping cart. The payment gateway requires certain form fields and the the form is posted to a asp page on their site. I am using Postbackurl. to do this. Problem is that the page moves away from my site, which is a Dotnetnuke site, to the payment gateway site. THis page then displays progress messages and...
5
1,159
thread by: =?Utf-8?B?cmF1bGF2aQ==?= | last post Jun 27 '08 by: =?Utf-8?B?cmF1bGF2aQ==?=
IDE 2003 (C#) need to replace last string by a carriage return line feed find themethod(); replace it by themethod(); int i++; thanks
2
1,119
thread by: tshad | last post Jun 27 '08 by: james
Doesn't seem to work. I just installed this and tried to run on my machine. I select 2 files using the elipsed buttons next to the Compare button and select my 2 files. I then select 2 .js file that look fine in Textpad as well as when I open them in VS.
0
882
thread by: Prasanta | last post Jun 27 '08 by: Prasanta
Hello, I have a project less solution asp.net 2.0 with c#. I have a method in page code behind which returns a datatable, that method I want to assign in the objectdatasource select method, but when ever I am passing the typename in objectdatasource with the class name its saying couldn't find the type. but if the solution is not...
2
2,311
thread by: Rotsey | last post Jun 27 '08 by: =?Utf-8?B?TW9ydGVuIFdlbm5ldmlrIFtDIyBNVlBd?=
Hi, I have a Listbox in a Panel of SplitContainer. I want to anchor it so the listbox grows/shrinks vertically with the resizing the splitcontainer. This is my code What happens is it sizes the listbox horizontally about nearly the same size as the split container width.
1
2,342
thread by: =?Utf-8?B?S2lk?= | last post Jun 27 '08 by: =?Utf-8?B?S2lk?=
hi Can I CreateFile and DeviceIOControl by C# ? Does it use the same functions as Visual C , what file should I include and link ? Thank you .
0
943
thread by: Tarek Al-Jamal | last post Jun 27 '08 by: Tarek Al-Jamal
I added my custom control in datagridviewcell and I override the paint method to be visible in design mode ,but I still have a problem my custom control is custom comboBox and I need to Initiate it after loading its column because I take its datasource from owing column datasource I tried to make this in the constructor of the cell but I...
4
2,978
thread by: =?Utf-8?B?R2lkaQ==?= | last post Jun 27 '08 by: =?Utf-8?B?R2lkaQ==?=
Hi, I know it's possible to open and edit a word document in hidden mode (without opening word), by edit i mean to replace one text with another. is it possible to do the same with pdf files too? if yes, how can it be done? thanks,
4
3,454
thread by: Nik0001 | last post Jun 27 '08 by: Nik0001
Hello everyone! I have the following problem I need to download several HTML pages and get meta-tags out of the code. I decided it would be better to download only the meta-tags rather than downloading the whole page. But the standard method (HttpWebRequest) in C# only allows me to download the whole page. Is there some alternative...
3
10,050
thread by: Ned White | last post Jun 27 '08 by: Marc Gravell
Hi All, To replace some substrings in a string value, i use Regex.Replace method mulptiple times like; strmemo = "new Data for user; Name:@@Name , Surname:@@Surname, Address:@@Address"; strmemo = Regex.Replace(strmemo,"@@Name", value1.ToString()); strmemo = Regex.Replace(strmemo,"@@Surname", value2.ToString()); strmemo =...
0
817
thread by: beasahm | last post Jun 27 '08 by: beasahm
Get tons of software submitted program that generate backlinks, forum posts, Google Group posts etc automatically! http://www.autotrafficgenerator.info
3
2,571
thread by: Peter | last post Jun 27 '08 by: Linda Liu[MSFT]
When printing PDF files to laser printers the print file becomes several times as big as the original file size and this becomes a problem when printing to remote printers over slow connections. For instance 1 page PDF original size 224Kb generates 3.41 MB print file and that becomes a problem when printing 20 pager report. Does anyone know...
2
1,976
thread by: Kenneth Porter | last post Jun 27 '08 by: Kenneth Porter
Are there tools for automating the conversion of unmanaged C++ headers to equivalent wrapper classes with metadata? I've got a back-end library with no exposed inheritance, but the interface classes are abstract and factory methods return the "real" internal classes. I'd like to feed the DLL and public headers to a tool to automatically...
2
3,755
thread by: Vijayakumar .Y | last post Jun 27 '08 by: Vijayakumar .Y
Hello, My desktop application is developed using vb.net 2005 and uses crystal reports for .net 2005. I am now suffering complaints from the clients that when opening report in their machine, most of the time they get an error Application Server failed!. And a system restart may rectify the problem for a short period. In my development and...
2
1,363
thread by: dany | last post Jun 27 '08 by: dany
If I set property in my user control like this ///////////////////////////////////// private Bitmap im; public Bitmap IM { get { return im;
2
1,541
thread by: Jason Huang | last post Jun 27 '08 by: maarif
Hi, In my .Net C# Windows form Form1, there's a DataGrid DataGrid1 on Form1. How do I validate if the values in DataGrid1 is modified or not? Thanks for help. Jason
3
3,075
thread by: Polaris | last post Jun 27 '08 by: Polaris
Hi C# Experts: I'm writing a C# MDI program. I need to know when user is moving mouse on MDI's non-client area (that dark-gray background). I have tried code below but it did not catch the user's action. Anyone knows how it should be done? Thanks in advance. Polaris protected override void WndProc (ref Message m)
8
2,223
thread by: Armando Rocha | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
Hi, Hi have a string with 16 chars "25DD68EDEB8D5E11" and i want show it in form like this "25DD-68ED-EB8D-5E11", i try String.Format("{0:####-####-####-####}", mystr), but not work, i think that it is because the "mystr" it is already a string. Anyone can help me? Sorry my english....
3
6,288
thread by: d.s.stevenson | last post Jun 27 '08 by: d.s.stevenson
Hi, Could someone please help me with sample code on how to programmatically add a column of checkboxes to data displayed in a Gridview? And how to find whether the checkbox is checked or not on postback. Thanks in advance.
2
4,273
thread by: Robert Bravery | last post Jun 27 '08 by: =?ISO-8859-1?Q?Arne_Vajh=F8j?=
HI all, Trying to get some folks familiar with C#. They have downloaded the express edition. Theses guys are used to firebird. My question is, Are the express editions able to work with databases outsite of MSSQL such as firebird. Thanks Robert
1
2,854
thread by: Nirosh | last post Jun 27 '08 by: Robin Zhang
Check after removing "<link href='http://domainname/template/style1.css' rel='stylesheet' type='text/css'/>" it seems that you have taken this code from somewhere and this css is not existing (it is just a dummy name), the browser may be trying to load the css before it load the page, as a result of that process (since it is trying to load a...
4
2,700
thread by: jonpb | last post Jun 27 '08 by: Peter Duniho
The documentation for the "is" keyword says: An is expression evaluates to true if the provided expression is non-null, and the provided object can be cast to the provided type without causing an exception to be thrown. So, given: enum TestEnum { t1, t2 } TestEnum te = TestEnum.t1;
2
1,617
thread by: PromisedOyster | last post Jun 27 '08 by: PromisedOyster
We have an executable that uses an App.Config file to hold things such as database connection strings etc. We now want to write a wrapper DLL around that executable to expose functionality to integrate with another app. Therefore we aim to have one new executable talking to the wrapper DLL that in turn talks to the original app. Although...
3
3,269
thread by: David Smith | last post Jun 27 '08 by: Ben Voigt [C++ MVP]
I have an app that shows the time it takes to execute a search, much like SQL Management Studio, but the app behaves as though the System.Windows.Forms.Timer gets blocked while binding the results to the grid. As you might expect, I execute the search in the background but I have to return to the UI thread to bind the results. While databinding,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.