Click here to Skip to main content
15,885,546 members
Home / Discussions / C#
   

C#

 
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 
AnswerRe: DataGridView text string [modified] Pin
ricmil4227-Jul-09 10:49
ricmil4227-Jul-09 10:49 
You are declaring the variable PRWEB1 inside a loop. That is the only place it exists.

Change it to something like:

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

string sPRWEB1 = PRWEB1.PadRight(PRWEB1.Length + (prweb1.MaxInputLength- PRWEB1.Length));


modified on Monday, July 27, 2009 5:46 PM

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 
GeneralRe: Function to Find and Replace in C# Pin
GrgBalden27-Jul-09 9:45
GrgBalden27-Jul-09 9:45 

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.