15,741,581 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View Javascript questions
View C++ questions
View Python questions
View Java questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by CyborgForever (Top 56 by date)
CyborgForever
4-Oct-12 2:17am
View
Deleted
CyborgForever
4-Oct-12 2:09am
View
These are the encoding mentioned in the xml file. Is there any other way to identify the encoding, if this line is not mentioned in xml file.
CyborgForever
14-Aug-12 2:49am
View
So we should identify whether the input character two byte character and they avoid it in textbox is it... is there any other way like we check in keypress for alpha numeric character check...
CyborgForever
14-Aug-12 2:00am
View
how will this be useful in identify the Keychar of input from keyboard. Kindly help
CyborgForever
14-Aug-12 1:28am
View
I'm not sure I want char for UTF-8 n JIS
supported Japanese character
CyborgForever
14-Aug-12 1:13am
View
ASCII for Japanese character that should not be entered...and how to handle it in the event...Since we have to use Shift+ when we type in English n Japanese(virtual Keyboard)
CyborgForever
20-Mar-12 7:37am
View
Yes exactly.
CyborgForever
13-Mar-12 5:02am
View
I want to display a file on click to view file. The user can have the folder with exe in any drive like c or D...How can I specify the file path.
CyborgForever
30-Dec-11 6:22am
View
I'm using it in the Keypress event which is called in EditOncontrolShowing event of DGV
private void dgv_EditingControlShowing(object sender, DataGridViewEditingControlShowingEventArgs e)
{
if (dgv.CurrentCell.ColumnIndex == 3)
{
DataGridViewTextBoxEditingControl textBox = e.Control as DataGridViewTextBoxEditingControl;
if (textBox != null)
{
textBox.KeyPress -= new KeyPressEventHandler(Control_KeyPress);
textBox.KeyPress += new KeyPressEventHandler(Control_KeyPress);
}
}
}
private void Control_KeyPress(object sender, KeyPressEventArgs e)
{
Regex reg = new Regex("^[A-Za-z]+\\w*");
if (reg.IsMatch(Convert.ToString(e.KeyChar)))
{
e.Handled = false;
}
else
{
e.Handled = true;
}
}
CyborgForever
30-Dec-11 5:49am
View
I used the exactly the same regex which u have updated it says unrecognised escape sequence.
So I used like this Regex reg = new Regex("^[A-Za-z]+\\w*"); but it allows only character but not numbers
CyborgForever
30-Dec-11 5:29am
View
this allow only characters right both char n no should be allowed, but first one should not be a number, after entering characters numbers can be entered.
CyborgForever
30-Dec-11 1:24am
View
I've already handled the keypress event for datagridviewtextboxcolumn, but I've a condition the first time user gives input he cant enter a number only char, after entering char he can give numbers how to achieve this...
CyborgForever
9-Nov-11 6:07am
View
I tried the insertion(ref to my above solution) but this does'nt work when the datagridview from which I'm getting the selected rows is not bound.
CyborgForever
8-Nov-11 23:34pm
View
Can u pls help me out in the syntax. Because what I've done is I added the selected rows to a Datatable and then bound the DT to DGV.
CyborgForever
1-Nov-11 6:43am
View
I'am also adding row to bound DGV in that when it AllowUsersToAddrow=true, the event is fired and I get an exception Row index provided is out of range.
Parameter name: rowIndex
CyborgForever
1-Nov-11 1:23am
View
On Load of my page I'm displaying data in DGV by binding the dataset with it. On clicking the ADD button, I'm adding a new row to the DGV,provided few columns of DGV I assign data(as seen in my code,which is invisible in DGV) and few columns with DB.Null. This is what I need
CyborgForever
1-Nov-11 1:08am
View
I have already gone through this forum, but it is not exactly what I need.
CyborgForever
13-Oct-11 7:39am
View
have gone through that already that, but only the last selected row display in the other form, I wanted the row collection, set of selected row
CyborgForever
13-Sep-11 2:55am
View
Could not compile the mapping document: NHibernateSimpleDemo.Employee.hbm.xml
"Duplicate class/entity mapping NHibernateSimpleDemo.Employee"
CyborgForever
7-Sep-11 7:03am
View
I'm getting an exception Object Reference not set to an instance of an object. I kept breakpoint to debug, it throws the exception on line
if(cell.Value.ToString() != null)
CyborgForever
7-Sep-11 1:52am
View
Can u pls explain on what basis u've given the condition i>1. FYI it's just importing everything from the excel without any validation, imports data which is already existing in dsobtemp dataset
CyborgForever
6-Sep-11 5:00am
View
Adding nodes to LIST ???
CyborgForever
6-Sep-11 4:48am
View
can u suggest any idea programmatically
CyborgForever
5-Sep-11 7:28am
View
No one have some solution for this
CyborgForever
31-Aug-11 6:42am
View
can it be done directly to datagridview with the help of datatable instead of first hitting the DB
CyborgForever
29-Aug-11 2:30am
View
Nope, my DGV is already databound, I'm displaying few data on dgv and then on button click add a new row and focus on that row to add data
CyborgForever
26-Aug-11 8:08am
View
I have got the concept of displaying the rows in horizontal manner in excel, but I dont know how to display only the column 2, but I need column 1 also in datagridview for validation purpose
CyborgForever
26-Aug-11 6:08am
View
S it comes from SQL server 2008 express. I'm fillin the datagridview using dataset which in turn is returned through a stored procedure
CyborgForever
26-Aug-11 2:34am
View
I just asked for datagridview in windwos
CyborgForever
26-Aug-11 2:27am
View
I want it for datagridview for windows application using C#
CyborgForever
19-Aug-11 5:40am
View
Most of them are posting about Datagrid, I want it for DatagridView I'm using VS 2010 Express
CyborgForever
17-Aug-11 8:41am
View
No thats not the problem. Only if I need to pass the SQL Parameters I need to mention CommandType
Mention table in dataset dsobjTemplate.Tables[0]
CyborgForever
12-Aug-11 6:01am
View
I've passed also those from my presentation layer to the USer class.
CyborgForever
12-Aug-11 5:59am
View
I'm using catch statements in my code catch seperately for general exceptions and sql exceptions but here I've not posted since it'll be too big
CyborgForever
12-Aug-11 5:47am
View
no I missed that but added now but still facing same issue
CyborgForever
12-Aug-11 3:27am
View
Thank u so much, I'm new to windows environment so thats y my questions are basic, CP is very useful
CyborgForever
12-Aug-11 2:47am
View
I 've already told in my question the form does'nt show at all. But if I remove objTest.MdiParent = this; it work good ie shows the form , but I want it within the Home MDI
CyborgForever
11-Aug-11 2:26am
View
I tried the code on my own but it throws some exception so I thought some issues in my code
"Current thread must be set to single thread apartment (STA) mode before OLE calls can be made. Ensure that your Main function has STAThreadAttribute marked on it. This exception is only raised if a debugger is attached to the process"
CyborgForever
11-Aug-11 2:14am
View
I have another procedure which gets the projectnames based on the acount Id from accountmaster table. Accounts for the user logged in and projects based on accounts should be displayed as child node
CyborgForever
9-Aug-11 8:43am
View
create Proc [dbo].[prcuserLogin]
( @Username VarChar(50), @Password varChar(50), @OutRes int OUTPUT )
AS
set
@OutRes = (SELECT count(*) FROM [dbo].Users WHERE Username = @Username And [Password] = @Password)
select case @OutRes
when 1 then 1 --Login is Correctelse0 --Bad login
else
0
end
CyborgForever
8-Aug-11 6:31am
View
No I'm facing the same issue even if I add an end statement at the end
CyborgForever
4-Aug-11 3:35am
View
Wr u able to find rounded corners for the panel from my solution
CyborgForever
4-Aug-11 3:04am
View
I've already added the ToolScriptManager, which you can c from my code snippet.
CyborgForever
4-Aug-11 0:52am
View
What?
CyborgForever
4-Aug-11 0:51am
View
I found that most of forums are posting the use of CSS for rounded corners for controls like textbox, button, panel etc, but with the use of images. But i dont think so it'll work fine for all type of browsers. So I thought of using extender
CyborgForever
3-Aug-11 7:10am
View
I've already unchecked those two options which you've mentioned. But I'm unable to uncheck the protected mode off since it has been locked by the admin
CyborgForever
3-Aug-11 6:21am
View
I think the administrator has blocked the option of turning the protected mode off for the user. Is that the only option to avoid this problem
CyborgForever
3-Aug-11 5:32am
View
No I dont find any checkboxes present in that security for either of the options like trusted sites restricted sites etc.,I found that I get this issue when I debug the application without saving, thinking that VWD will autosave my aspx. Is there any way to set autosave when I debug. But when I give control S and then Debug its working fine with the same port number which I've already specified.
CyborgForever
3-Aug-11 5:31am
View
I found that I get this issue when I debug the application without saving, thinking that VWD will autosave my aspx. Is there any way to set autosave when I debug. But when I give control S and then Debug its working fine with the same port number which I've already specified
CyborgForever
3-Aug-11 5:17am
View
it sayd "only site with https:// prefix can be added to trusted sites, when I try to add localhost and I dont have the option at all display as protected...
CyborgForever
3-Aug-11 4:59am
View
This happens while debugging, the browser is blank "Windows internet explorer" with nothing on address bar, as soon as this opens its navigates to Webapplication VWD 2010 and pops this dialog box with error
CyborgForever
3-Aug-11 4:56am
View
How to change the port no
CyborgForever
2-Aug-11 3:17am
View
I want to navigate through the tree view based on the tab panel selection. My tab panels are learn details data. If my Learn tab is selected one of the node in treeview should be automatically selected
CyborgForever
25-Jul-11 3:19am
View
I want find index of cell clicked in gridview ASP.Net control
CyborgForever
25-Jul-11 3:19am
View
I am not familiar with VB.Net is it possible to find some C# code
CyborgForever
18-Jul-11 1:41am
View
There's already a code snippet available in code project abt javascript context menu but when I run it I get an error saying TdLeft is undefined I'm beginner so dont know how to proceed further
Show More