Sie sind auf Seite 1von 2

protected void btnGo_Click(object sender, EventArgs e)

{
bool flag = false;
for (int i = 0; i < GridView1.Rows.Count; i++)
{
GridViewRow gr = GridView1.Rows[i];
CheckBox chk = (CheckBox)gr.Cells[0].FindControl("chk");
int job_no = int.Parse(gr.Cells[1].Text);
string Tablename = gr.Cells[2].Text;
if (chk.Checked)
{
flag = true;
SqlConnection cn = new SqlConnection(Conn.str);
try
{
cn.Open();
SqlCommand cmd = new SqlCommand("Delete from " + Tablename +
" where [Job Number] = "+job_no+"", cn);
cmd.ExecuteNonQuery();
Gridshow("select * from "+Tablename+"");
}
catch (Exception Ex)
{
WebMsgBox.Show(Ex.Message.ToString());
}
finally
{
cn.Close();
}
}
}
if (flag == false)
{
WebMsgBox.Show("Please Select Atleast One order to Delete from Datab
ase");
}

0000Q0-G87VN3-5APPYC-KNXBZU-XYQDTX-NWVG85-VFE9X1
________________________________________________________________________________
_____________________________________________
Amit Ghosh
789 White house Road, Koramangala, Bangalore 998 009, India
Email: xxx@aol.com
Phone: 91-80-45679987
OBJECTIVE: To secure a job in the IT industry where I can utilise my knowledge f
or the organisation s growth
EDUCATION
B.Tech. Computer Science and Engineering, Indian Institute of Technology, Chenna
i (2001-2005)
Thesis Title: Efficient use of software in offices
Advisor: Anne D Coasta
Summary: Improvement in the use of the software that is used in offices at the m
oment. This was published in Graphics India magazine in 2005
St. Xavier s School, Bangalore (Graduated 2000)
Ranked 2nd in school in 12th C.B.S.E. Board Examination.
PROJECT WORK (B. Tech)
Built a computer that could work on solar energy.
TRAINEESHIP EXPERIENCE
Research Assistant, TIFR, Mumbai (Aug Dec 2004):
Helped the professors to research and collate information on various computer re
lated topics.
Project Trainee, ABC Networks, Bangalore: (Jan 2005-present):
Work as a project trainee for this start-up company. Implemented new projects an
d participated in them. Tested the new software.
COMPUTER SKILLS
Software: SQL Server, Apache, CVS, Mathematica, Latex. Also, audio/video formats
and codecs. Languages: C/C++, STL, Python, Javascript/C#
Platforms: Linux, FreeBSD, Windows 98, NT 4.0, 2000.
ACADEMIC AWARDS
Best B.Tech thesis 2004. Dept of Computer Science. IISC Bangalore
Silver Medalist at the International Mathematical Olympiad at school.
Ranked 10th in IIT Joint Entrance Examination 2000.
TRAININGS / CERTIFICATIONS
A six month course in C, C++ and Java from the National Computing Agency
A ceritfication in multi-media and animation from Animation Toonz
Communication skils workshops conducted by the British Agency in Bangalore
REFERENCES
Will be furnished when asked for.

Das könnte Ihnen auch gefallen