Click here to Skip to main content
15,918,108 members
Home / Discussions / C#
   

C#

 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Joe Woodbury11-Jul-08 5:14
professionalJoe Woodbury11-Jul-08 5:14 
GeneralRe: Retreiving available parameters from executables...is it possible? Pin
Ashfield11-Jul-08 9:32
Ashfield11-Jul-08 9:32 
QuestionDataGridView strange Pin
muharrem10-Jul-08 9:18
muharrem10-Jul-08 9:18 
AnswerRe: DataGridView strange Pin
paas10-Jul-08 9:36
paas10-Jul-08 9:36 
GeneralRe: DataGridView strange Pin
muharrem10-Jul-08 10:49
muharrem10-Jul-08 10:49 
QuestionRemoting - sending a message from both server and client? Pin
Iron Goat10-Jul-08 9:02
Iron Goat10-Jul-08 9:02 
AnswerRe: Remoting - sending a message from both server and client? Pin
mav.northwind11-Jul-08 21:31
mav.northwind11-Jul-08 21:31 
Questionneed help with LOOP to display records from Access Database............ Pin
Reality Strikes10-Jul-08 8:48
Reality Strikes10-Jul-08 8:48 
At the button click event, it displays records, but the problem here is that instead of showing all the 30,000 records, its displaying only the first row of record and that too upto the no. of total records which is close to 30,000 ( i.e First row of record is being repeated 30,000 times ).

I tried using loops, but it hangs somewhere.........i'm wrong somewhere........i need help........the code is shown below........

myTable.rows.count ]fecthes the correct 30,000 records count

OleDbConnection myCon = new OleDbConnection();
OleDbDataAdapter myAdp = new OleDbDataAdapter();	
DataViewManager myDvMngr = new DataViewManager();
DataSet myDS = new DataSet();
DataTable myTable = new DataTable();
string report_file = "<path of="" report="">";
ReportDocument ReportDoc = new ReportDocument(); </path>

private void btnReport_Click(object sender, System.EventArgs e)
{
        makeReport(report_file); 
	{
	         SetParamValue("@parameter1", myTable.Rows[recordCount]["CLNT#"].ToString()); 
                  SetParamValue("@parameter2", myTable.Rows[recordCount]["CNAME"].ToString()); 
		SetParamValue("@parameter3", myTable.Rows[recordCount]["CSEX"].ToString()); 
		SetParamValue("@parameter4", myTable.Rows[recordCount]["CSS#"].ToString()); 
	}
        crystalReportViewer1.ReportSource = ReportDoc; 
}

AnswerRe: need help with LOOP to display records from Access Database............ Pin
Pete O'Hanlon10-Jul-08 8:58
mvePete O'Hanlon10-Jul-08 8:58 
GeneralRe: need help with LOOP to display records from Access Database............ Pin
Reality Strikes11-Jul-08 5:21
Reality Strikes11-Jul-08 5:21 
AnswerRe: need help with LOOP to display records from Access Database............ Pin
Reality Strikes10-Jul-08 9:12
Reality Strikes10-Jul-08 9:12 
QuestionDestroying Object from memory Pin
Saksida Bojan10-Jul-08 8:44
Saksida Bojan10-Jul-08 8:44 
AnswerRe: Destroying Object from memory Pin
Thomas Stockwell10-Jul-08 10:33
professionalThomas Stockwell10-Jul-08 10:33 
AnswerRe: Destroying Object from memory Pin
Robert.C.Cartaino10-Jul-08 14:32
Robert.C.Cartaino10-Jul-08 14:32 
GeneralRe: Destroying Object from memory Pin
Scott Dorman10-Jul-08 17:02
professionalScott Dorman10-Jul-08 17:02 
AnswerRe: Destroying Object from memory Pin
N a v a n e e t h10-Jul-08 19:32
N a v a n e e t h10-Jul-08 19:32 
QuestionMouse event Pin
zeeShan anSari10-Jul-08 8:18
zeeShan anSari10-Jul-08 8:18 
AnswerRe: Mouse event Pin
DaveyM6910-Jul-08 8:29
professionalDaveyM6910-Jul-08 8:29 
QuestionRe: Mouse event Pin
zeeShan anSari10-Jul-08 8:34
zeeShan anSari10-Jul-08 8:34 
AnswerRe: Mouse event Pin
TheFM23410-Jul-08 9:48
TheFM23410-Jul-08 9:48 
AnswerRe: Mouse event Pin
PIEBALDconsult10-Jul-08 8:46
mvePIEBALDconsult10-Jul-08 8:46 
QuestionSimple Regex question Pin
kozu10-Jul-08 8:13
kozu10-Jul-08 8:13 
AnswerRe: Simple Regex question Pin
Jimmanuel10-Jul-08 8:26
Jimmanuel10-Jul-08 8:26 
AnswerRe: Simple Regex question Pin
User 665810-Jul-08 8:38
User 665810-Jul-08 8:38 
AnswerRe: Simple Regex question Pin
Daniel Grunwald10-Jul-08 8:44
Daniel Grunwald10-Jul-08 8:44 

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.