Click here to Skip to main content
15,792,609 members
Home / Discussions / C#
   

C#

 
Questiondatagrid selected rows loop Pin
jnallen7-Sep-07 7:12
jnallen7-Sep-07 7:12 
AnswerRe: datagrid selected rows loop Pin
Christian Graus7-Sep-07 7:22
protectorChristian Graus7-Sep-07 7:22 
GeneralRe: datagrid selected rows loop Pin
jnallen7-Sep-07 9:30
jnallen7-Sep-07 9:30 
GeneralRe: datagrid selected rows loop [modified] Pin
Larantz7-Sep-07 11:36
Larantz7-Sep-07 11:36 
GeneralRe: datagrid selected rows loop Pin
Larantz7-Sep-07 13:00
Larantz7-Sep-07 13:00 
QuestionSimple Login Pin
andredani7-Sep-07 7:11
andredani7-Sep-07 7:11 
AnswerRe: Simple Login Pin
Christian Graus7-Sep-07 7:19
protectorChristian Graus7-Sep-07 7:19 
GeneralRe: Simple Login [modified] Pin
andredani7-Sep-07 7:27
andredani7-Sep-07 7:27 
no that´s just an example..

On a button_click event
string q = textBox1.Text;
string w = textBox2.Text;
string[] lines = System.IO.File.ReadAllLines(".txt");

Int32 index = 0;
while (lines.Length >= index + 10)
{
if ("#" != lines[index].Trim())
{
index++;
continue;
}
String username = lines[index + 0];
String password = lines[index + 1];
index += 1;
if (q = username && w = password)

something like this.. but its wrong, how do i start a search on textbox1.text on row0 and textbox2.text are gonna be below.. or something???

tnxLaugh | :laugh: ;);PSniff | :^) Frown | :(


-- modified at 12:47 Friday 7th September, 2007
Questionc++ and c# issue Pin
dany_ch7-Sep-07 6:05
dany_ch7-Sep-07 6:05 
AnswerRe: c++ and c# issue Pin
Luc Pattyn7-Sep-07 6:20
sitebuilderLuc Pattyn7-Sep-07 6:20 
GeneralRe: c++ and c# issue Pin
dany_ch7-Sep-07 6:30
dany_ch7-Sep-07 6:30 
GeneralRe: c++ and c# issue Pin
led mike7-Sep-07 6:55
led mike7-Sep-07 6:55 
QuestionLayout Transform v/s Render Transform Pin
KrunalC7-Sep-07 6:02
KrunalC7-Sep-07 6:02 
QuestionCheckboxes? Pin
XFighter7-Sep-07 5:43
XFighter7-Sep-07 5:43 
AnswerRe: Checkboxes? Pin
Thomas Stockwell7-Sep-07 6:13
professionalThomas Stockwell7-Sep-07 6:13 
Questionpinvoke error and struct Pin
Saamir7-Sep-07 4:34
Saamir7-Sep-07 4:34 
AnswerRe: pinvoke error and struct Pin
Giorgi Dalakishvili7-Sep-07 4:54
mentorGiorgi Dalakishvili7-Sep-07 4:54 
GeneralRe: pinvoke error and struct Pin
Saamir7-Sep-07 5:14
Saamir7-Sep-07 5:14 
GeneralRe: pinvoke error and struct Pin
Luc Pattyn7-Sep-07 6:30
sitebuilderLuc Pattyn7-Sep-07 6:30 
GeneralRe: pinvoke error and struct Pin
Saamir7-Sep-07 10:17
Saamir7-Sep-07 10:17 
GeneralRe: pinvoke error and struct Pin
Luc Pattyn7-Sep-07 10:48
sitebuilderLuc Pattyn7-Sep-07 10:48 
AnswerRe: pinvoke error and struct Pin
edu.net7-Sep-07 9:43
edu.net7-Sep-07 9:43 
GeneralRe: pinvoke error and struct Pin
Saamir7-Sep-07 10:12
Saamir7-Sep-07 10:12 
QuestionSyncfusion menubar and logo Pin
Keshav V. Kamat7-Sep-07 4:06
Keshav V. Kamat7-Sep-07 4:06 
AnswerRe: Syncfusion menubar and logo Pin
Larantz7-Sep-07 4:26
Larantz7-Sep-07 4:26 

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.