con.Open();
string MemberQuery1 = "select CategoryNumber,Language,MemberCode,Title,MemberName,MemberAddress1,MemberAddress2,MemberAddress3,City,PinCode,State,MemberEmailID,ClubCode from MemberDetails where (RecordStatus='A' or RecordStatus='U') and CategoryNumber='6' and Language='E' ORDER BY MemberCode ASC";
SqlDataAdapter da = new SqlDataAdapter(MemberQuery1,con);
DataTable dt = new DataTable();
dt.TableName = "MemberDetails";
da.Fill(dt);
using (var rd = new ReportDocument())
{
string ClubCode="INDIVIDUALENGLISH";
rd.Load(Server.MapPath("LabelReport.rpt"));
rd.SetDataSource(dt);
crsvLabelGeneration.ReportSource = rd;
crsvLabelGeneration.RefreshReport();
crsvLabelGeneration.DataBind();
ExportOptions eo = new ExportOptions();
TextFormatOptions pr = ExportOptions.CreateTextFormatOptions();
DiskFileDestinationOptions df = ExportOptions.CreateDiskFileDestinationOptions();
eo.ExportFormatOptions = pr;
eo.ExportFormatType = ExportFormatType.TabSeperatedText;
df.DiskFileName = "D:\\IndividualEnglish\\" + ClubCode + "" + ".txt";
eo.ExportDestinationOptions = df;
eo.ExportDestinationType = ExportDestinationType.DiskFile;
rd.Export(eo);
string currpath = "D:\\IndividualEnglish\\";
FileInfo file = new FileInfo(currpath + "" + ClubCode + ".txt");
string name = file.Name.Substring(0, file.Name.LastIndexOf("."));
TextReader reader = new StreamReader(currpath + "" + ClubCode + ".txt");
It Creates a Notepad File But the data in file is Understandable to me.But not to align Row and column
PLZ HELP ANY ONE