|
[x]
Posted via EE Mobile
|
||
Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again. |
||
| 03/09/2009 at 12:02PM PDT, ID: 24213528 |
|
[x]
Attachment Details
|
||
|
[x]
The Solution Rating System
|
||
With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.
Your Input Matters If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support. Thank you! |
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: 12: 13: 14: 15: 16: 17: 18: 19: 20: 21: 22: 23: 24: 25: 26: 27: 28: 29: 30: 31: 32: 33: 34: 35: 36: 37: 38: 39: 40: 41: 42: 43: 44: 45: 46: 47: 48: 49: 50: 51: 52: 53: 54: 55: 56: 57: 58: 59: |
using System;
using System.Data.OleDb
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
namespace Fileroom_Chart_Log
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
}
private void fileroomBindingNavigatorSaveItem_Click(object sender, EventArgs e)
{
this.Validate();
this.fileroomBindingSource.EndEdit();
this.fileroomTableAdapter.Update(this._Fileroom__1_DataSet.Fileroom);
}
private void Form1_Load(object sender, EventArgs e)
{
// TODO: This line of code loads data into the '_Fileroom__1_DataSet.Fileroom' table. You can move, or remove it, as needed.
this.fileroomTableAdapter.Fill(this._Fileroom__1_DataSet.Fileroom);
}
private void bindingNavigatorDeleteItem_Click(object sender, EventArgs e)
{
Close();
}
private void exitToolStripMenuItem_Click(object sender, EventArgs e)
{
Close();
}
private void button1_Click(object sender, EventArgs e)
{
private void button1_Click(object sender, System.EventArgs e) {
String sqlQuery = "SELECT * FROM Fileroom where
[Medical Record Number] = '"+textBox1.Text.ToString()+" \'";
oleDbDataAdapter1.SelectCommand.CommandText = sqlQuery;
fileroomDataGridView.Clear();
numberOfRowsFeched = oleDbDataAdapter1.Fill(fileroomDataGridView,"Fileroom");
if (numberOfRowsFeched > 0) {
fileroomDataGridView dt = fileroomDataGridView.Tables["Fileroom"];
MessageBox.Show(dt.Rows[0][0].ToString() + " ");
}
else {
MessageBox.Show("No Entry Available.");
}
}
|
Advertisement