Click here to Skip to main content
15,881,757 members
Home / Discussions / C#
   

C#

 
AnswerRe: Is this safe? Pin
Luc Pattyn27-Jul-09 22:58
sitebuilderLuc Pattyn27-Jul-09 22:58 
GeneralRe: Is this safe? Pin
saxisa28-Jul-09 5:50
saxisa28-Jul-09 5:50 
GeneralRe: Is this safe? Pin
PIEBALDconsult28-Jul-09 6:01
mvePIEBALDconsult28-Jul-09 6:01 
GeneralRe: Is this safe? Pin
Luc Pattyn28-Jul-09 8:19
sitebuilderLuc Pattyn28-Jul-09 8:19 
Question[Message Deleted] Pin
VengefulSakhmet27-Jul-09 12:05
VengefulSakhmet27-Jul-09 12:05 
AnswerRe: HTML vs. GDI Pin
Mike Ellison27-Jul-09 14:28
Mike Ellison27-Jul-09 14:28 
GeneralRe: HTML vs. GDI Pin
VengefulSakhmet28-Jul-09 3:00
VengefulSakhmet28-Jul-09 3:00 
QuestionDataGridView text string Pin
hotracerj27-Jul-09 10:29
hotracerj27-Jul-09 10:29 
I want to take user input in a DataGridView. I am trying to adapt a code sequence I had from a text box input. I get the error "The name 'PRWEB1' does not exist in the current context". Below is a code sample I had before and next is what I am using now. Please help!

//as1 is a TextBox
string AS1 = as1.Text; 
string sAS1 = AS1.PadRight(AS1.Length + (as1.MaxInputLength - AS1.Length));


//prweb1 is a column in dataGridView1
foreach (DataGridViewRow row in prweb1.DataGridView.Rows)
{
    DataGridViewCell cell = row.Cells[0];
    string PRWEB1 = cell.Value.ToString();
}
string sPRWEB1 = PRWEB1.PadRight(PRWEB1.Length + (prweb1.MaxInputLength- PRWEB1.Length));

AnswerRe: DataGridView text string [modified] Pin
ricmil4227-Jul-09 10:49
ricmil4227-Jul-09 10:49 
Questionlist add method Pin
Charlesh327-Jul-09 10:25
Charlesh327-Jul-09 10:25 
GeneralRe: list add method [modified] Pin
musefan27-Jul-09 10:30
musefan27-Jul-09 10:30 
AnswerRe: list add method Pin
DaveyM6927-Jul-09 11:11
professionalDaveyM6927-Jul-09 11:11 
GeneralRe: list add method Pin
musefan27-Jul-09 11:19
musefan27-Jul-09 11:19 
AnswerRe: list add method Pin
DaveyM6927-Jul-09 11:19
professionalDaveyM6927-Jul-09 11:19 
GeneralRe: list add method Pin
musefan27-Jul-09 11:20
musefan27-Jul-09 11:20 
GeneralRe: list add method Pin
DaveyM6927-Jul-09 13:17
professionalDaveyM6927-Jul-09 13:17 
GeneralRe: list add method Pin
Charlesh327-Jul-09 11:46
Charlesh327-Jul-09 11:46 
GeneralRe: list add method Pin
DaveyM6927-Jul-09 13:18
professionalDaveyM6927-Jul-09 13:18 
Questionencoded using the 16-bit UCS-2 character Pin
Flex.Me27-Jul-09 7:43
Flex.Me27-Jul-09 7:43 
AnswerRe: encoded using the 16-bit UCS-2 character Pin
Alan N27-Jul-09 9:34
Alan N27-Jul-09 9:34 
QuestionFunction to Find and Replace in C# Pin
GrgBalden27-Jul-09 6:39
GrgBalden27-Jul-09 6:39 
AnswerRe: Function to Find and Replace in C# Pin
musefan27-Jul-09 6:50
musefan27-Jul-09 6:50 
GeneralRe: Function to Find and Replace in C# Pin
GrgBalden27-Jul-09 9:08
GrgBalden27-Jul-09 9:08 
AnswerRe: Function to Find and Replace in C# Pin
musefan27-Jul-09 9:50
musefan27-Jul-09 9:50 
AnswerRe: Function to Find and Replace in C# Pin
PIEBALDconsult27-Jul-09 9:36
mvePIEBALDconsult27-Jul-09 9:36 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.