Dubli Join Us

Search About New Technology and Bug

Wednesday, December 21, 2011

Ms Excel in C#,VB.Net Could not find installable ISAM

When you are going to use Ms Excel in c#, If you get this error when importing a excel file 

use this connection string 

Provider=Microsoft.ACE.OLEDB.12.0;Data Source=" +Server.MapPath("Master.xlsx") + ";Extended Properties='Excel 12.0;HDR=YES;'" 

"HDR=Yes;" indicates that the first row contains columnnames, not data. "HDR=No;" indicates the opposite. 

Print Div ,HTML or Table Content in Asp.net Using C#

Following is the code for printing  Div ,HTML or Table to printer using C# in Asp.net

<script type="text/javascript" language="javascript">
    function print()
    var printFriendly = document.getElementById("div1")
    var printWin = window.open("about:blank","Voucher","menubar=no;status=no;toolbar=no;");
    printWin.document.write("<html><head><title>Voucher Report</title></head><body><h1>Agent Wise Report</h1>" + printFriendly.innerHTML + "</body></html>");

add this script lines in your header section of given page.

<div id="div1">
<table width="100%">
    <td align="center" width="225px" >
    <img  height="30px" src='<%#Eval("logoimage")%>'width="100px" /><br />

this is div that is going to print.Mainly the id of div tag is "div1".

<asp:Button ID="btnPrint" runat="server" Text="Print" OnClick="btnPrint_Click" />

on button click event put the following code to handle print task.

btnPrint.Attributes.Add("onClick", "print();");

That's final.

In DataGridView Get the index of the SelectedRow

following is the code how to do that 

private void DataGridView1_SelectionChanged(object sender, EventArgs e) 

if (dataGridView1.SelectedRows.Count == 1) 

txtName.Text = dataGridView1.Rows[DataGridView1.SelectedRows[0].Index].Cells["Name"].Value.ToString(); 


Thursday, December 1, 2011

UP Primary Teacher Recruitment 2011 – 72825 vacancy filled by jan 2012,Up Basic Education Primary Teacher Result, Up Basic Education Primary Teachers DIET wise Merit List, Primary Teachers Vacancy ,Teachers Vacancy in UP

Uttar Pradesh Government will recruit 72,825 Primary Teachers in schools of Basic Education council. This decision has been approved in the cabinet of UP.
There are total 3,86,726 posts of teachers in the state out of which 2,84,391 posts have already been created. Currently only 1,87,155 teachers are working.
There are 1,99,571 vacant posts of primary teachers  and the Government is planning to fill up 72,825 posts. Details of eligibility and application process are following:
Eligibility :
Educational Qualification – Minimum 50% in Graduation ( BA / B.Sc /B.Com) with B.Ed degree
Have to qualify Teacher Eligibility Test ( UP TET)
Age should be 18 to 35 years ( as on 1st July,2011
 Applicaton fee – Rs. 500 for General Candidates, Rs. 200 for SC, ST . There is no application fee for PH candidates.
Interested candidates who are living in UP for last five years can apply from five districts of their choice.
To get the format of applications, visit the official website – 

http:\\upbasiceduboard.gov.in  2011
Press Advertisement in News Papers

Get Latest Detail  About UPTET 2011
UPSESSB UPMSSCB Teachers vacancy Uttar Pradesh www.upefa.com www.upbasiceducationboard.in

Google Search TAGS: UP LECTURER RECRUITMENTUP TETUP TGT RECRUITMENTUPSESSB RECRUITMENT 2012UPSESSSB LECTURER RECRUITMENT 2012UPSESSSB TGT RECRUITMENT 2012 ,UP Basic Education Teachers Vacancy, upbasiceducationboard, Up basic Education Teachers Vacancy Advertisement, Download UP Basic Education Application Form, UP Basic Education Teachers Vacancy Press Release, Press Advertisement for UP Basic Education Vacancy