Click here to Skip to main content
15,898,928 members
Home / Discussions / C#
   

C#

 
QuestionBlack-n-White Invert ? Pin
sachinkalse31-Aug-04 22:48
sachinkalse31-Aug-04 22:48 
AnswerRe: Black-n-White Invert ? Pin
Marc Clifton1-Sep-04 2:55
mvaMarc Clifton1-Sep-04 2:55 
GeneralRe: Black-n-White Invert ? Pin
sachinkalse2-Sep-04 19:51
sachinkalse2-Sep-04 19:51 
QuestionHow to hide a interface property in the sub-class? Pin
Jason Liu31-Aug-04 17:58
Jason Liu31-Aug-04 17:58 
AnswerRe: How to hide a interface property in the sub-class? Pin
Member 266231-Aug-04 22:33
Member 266231-Aug-04 22:33 
GeneralSyntaxError Pin
Jerry Hammond31-Aug-04 17:31
Jerry Hammond31-Aug-04 17:31 
GeneralRe: SyntaxError Pin
leppie1-Sep-04 0:39
leppie1-Sep-04 0:39 
GeneralRe: SyntaxError Pin
Jerry Hammond1-Sep-04 5:15
Jerry Hammond1-Sep-04 5:15 
private void btnLogon_Click(object sender, System.EventArgs e)<br />
		{<br />
			//If the page is not valid, tell the cleint<br />
<br />
			if (!Page.IsValid)<br />
			{<br />
				lblMsg.Text="Some required fields are invalid.";<br />
				return;<br />
			}<br />
			else<br />
			{<br />
				string cmd=txtBoxEmail.Text;<br />
<br />
				//Create a new instance of the DataSet class<br />
<br />
				DataSet ds= new DataSet();<br />
<br />
				//Read in the XML file containing user name and password combinations.<br />
<br />
				FileStream fs= new FileStream(Server.MapPath("Users.xml"),FileMode.Open,FileAccess.Read);<br />
				StreamReader reader= new StreamReader(fs);<br />
				ds.ReadXml(reader);<br />
				fs.Close();<br />
<br />
				//Create a new instance of a DataTable name users that is initialized to ds.<br />
			<br />
				DataTable users= ds.Tables[0];<br />
<br />
				//Check for any matches between the logon name and the list of name in Users.xml.<br />
				//For each match found, record the name in a DataRow names matches.<br />
<br />
				DataRow[] matches= users.Select(cmd);


Thanks for looking at this.

Best,
Jerry

Contrary to the cliche, genuinely nice guys most often finish first or very near it.--Malcolm Forbes
Toasty0.com
GeneralRe: SyntaxError Pin
Marc Clifton1-Sep-04 2:54
mvaMarc Clifton1-Sep-04 2:54 
GeneralRe: SyntaxError Pin
Jerry Hammond1-Sep-04 5:16
Jerry Hammond1-Sep-04 5:16 
GeneralRe: SyntaxError Pin
Marc Clifton1-Sep-04 5:26
mvaMarc Clifton1-Sep-04 5:26 
QuestionHow to implement zoom in and out in windows forms panel ?? Pin
CNU31-Aug-04 16:58
CNU31-Aug-04 16:58 
AnswerRe: How to implement zoom in and out in windows forms panel ?? Pin
Marc Clifton1-Sep-04 2:49
mvaMarc Clifton1-Sep-04 2:49 
QuestionHow to make a library/dll in Visual C# Standard Edittion Pin
HalfAsleep31-Aug-04 12:02
HalfAsleep31-Aug-04 12:02 
AnswerRe: How to make a library/dll in Visual C# Standard Edittion Pin
Heath Stewart31-Aug-04 12:31
protectorHeath Stewart31-Aug-04 12:31 
GeneralRe: How to make a library/dll in Visual C# Standard Edittion Pin
HalfAsleep31-Aug-04 12:39
HalfAsleep31-Aug-04 12:39 
GeneralRe: How to make a library/dll in Visual C# Standard Edittion Pin
Heath Stewart31-Aug-04 13:25
protectorHeath Stewart31-Aug-04 13:25 
QuestionGame port I/O ? Pin
Christian Graus31-Aug-04 10:58
protectorChristian Graus31-Aug-04 10:58 
AnswerRe: Game port I/O ? Pin
Heath Stewart31-Aug-04 12:15
protectorHeath Stewart31-Aug-04 12:15 
GeneralRe: Game port I/O ? Pin
Christian Graus1-Sep-04 10:49
protectorChristian Graus1-Sep-04 10:49 
AnswerRe: Game port I/O ? Pin
mav.northwind1-Sep-04 4:55
mav.northwind1-Sep-04 4:55 
GeneralListView Pin
elena1234531-Aug-04 10:57
elena1234531-Aug-04 10:57 
GeneralRe: ListView Pin
Heath Stewart31-Aug-04 12:28
protectorHeath Stewart31-Aug-04 12:28 
GeneralMicrosoft Web Browser Control Cookies Pin
kayhustle31-Aug-04 10:47
kayhustle31-Aug-04 10:47 
GeneralRe: Microsoft Web Browser Control Cookies Pin
Heath Stewart31-Aug-04 12:11
protectorHeath Stewart31-Aug-04 12:11 

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.