Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: SQLC#4.0
Hello Frnds..
I have an application which i can connect the SQl SErver and able to Export data from SQL serverr to Excel sheet..
now my query is
for each and every time i don't want to export the entire data to Excel.
i am looking to pass query as selecting date or any field so that i can filter data and i can export data for only related to that query ..
please help me how to make a query in the code where i am slecting the table...
Posted 8-Oct-12 1:46am
Edited 8-Oct-12 19:14pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Here is a good comprehensive article on the subject[^]
OK, bear in mind that your question very unclear - and it doesn't seem like you've gone through the effort of actually looking on this site for possible answers to your query.
Here is a link to a more useful place for learning with your slightly expanded explanation about your problem:
how to pass query by date SQL Server in C# coding
Beginners guide to accessing SQL Server through C#[^]
Enjoy, and remember good questions gives good answers.
Malikarjuna Rao Pendem at 10-Oct-12 5:28am
hi i want how to pass query by C# coding..

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Your Filters
0 Guruprasad.K.Basavaraju 490
1 Shai Vashdi 339
2 Sergey Alexandrovich Kryukov 291
3 Peter Leow 135
4 praveen_07 115
0 Sergey Alexandrovich Kryukov 9,185
1 OriginalGriff 5,335
2 Peter Leow 4,040
3 Maciej Los 3,540
4 Abhinav S 3,308

Advertise | Privacy | Mobile
Web01 | 2.8.140415.2 | Last Updated 10 Oct 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Use
Layout: fixed | fluid