Friday, October 28, 2022

how to create SSRS report using parameter in visual studio.

Step 1:- Open the visual studio and create a new project.

Step 2:- Click on Project and search for the template REPORT SERVER PROJECT.

Step 3:- After clicking on the next button, you have to give the project and solution name and give the path for your project.

Step 4:- Click on Create and your project is created like this.

Step 5:- goto desktop and search odbc data source

Step 6:- Now go to system DSN then click on Add option and select Microsoft Access test driver (*txt, *CSV)

-à Click on the Finish button, give the data source name (DSCSV), disable the current directory, and select the directory where you put your CSV file.

Step 7:- Now go to visual studio and create a new report. click on report and next click on add after that add a new report.

Step 8:- add name as your requirement and select report and click on ADD.

à Now Your Working Window is Open.

Step 9:- Now Right click on Data Source and Click on Add Data Source.

Step 10:- Now select DDBC in Type.

Step 11:- Now click on Build and click on use user or system data source and select DSCSV.

Now click on use connection string check Dsn = DSCSV and click on  test connection

Now click on OK and change the name to DS_sourcefile and click ok you find it on the left side 

Step 12:- now right click on data set and click on Use a dataset embedded in my report and click on the data source and select ds_sourcefile then select CSV file using the query

Select*from filename.

Now:- your data from the CSV file is loaded into your report.

Let's create your Report using the Parameter.

Step 13:- lets right click on blank space goto insert now select table and drag and drop column values from the left side into the table.

Now use the format for decorating your table after that click on the preview to see your data.

Now create some parameters to select some filter data from the whole table.

Step 14:- Let's create a parameter for filter data by supplier id.

 on-the-Left-hand side you got the parameter folder right click on it and add a parameter

Double click on dataset1 and add a parameter in where clause @supid

Now go into dataset properties and go into the filter and add a parameter

Now result using the parameter 

How to create Database In Microsoft SQL SERVER

 The SQL CREATE DATABASE statement is used to create a new SQL database.

Syntax

The basic syntax of this CREATE DATABASE statement is as follows −

CREATE DATABASE DatabaseName;

Always the database name should be unique within the RDBMS.

Example

If you want to create a new database <testDB>, then the CREATE DATABASE statement would be as shown below −

 CREATE DATABASE testDB ;

Video:- How to create a Database


Friday, July 9, 2021

How to load tab delimited file to sql server table in ssis p

some step we have to follow in this to load this delimited file to sql server table in ssis package:-

step1:-  first we have to create a table in ssms( sql server management studio)











step 2:- open your ssis in visual studio and right click on ssis package and select
              new ssis package




step 3:-  now drag data flow task and double click on it.




step 4:- now left of screen you have to find other source and click flat file source and 
             drag it also.




step 5:- now click on new 



 

step 6 :- connect a file and do some setting accouding to your work




step 7 :- after click on okey then goto  next step select the notepad txt where you save select it 
               and do next procsss.




step 8:- select column delimation and goto genral settings




step 9:-  if you have any null value in notepad then you click on this .




step 10:- drag OLE DB destination from other destination for adding all things into database 

                after this now drag a blue line after click on  flatfile source . 





step 11:- now double click upon ole db destination and goto connection manager and click on                        new. 



step 12 :- connect a server from ssms .fill server name from ssms.





step 13:- goto the sql server management studio and copy your server name and paste in it.




step 14:- after connecting select database name 


         after this you have to chose your table name where you have to load this work

step 15 :- goto the mapping and check all columns are matched or not.
                 after these all process click on start .



      now complete your work you see on your screen you have both green tick .



       now if you want to check then go in your ssms and you select the table which you         selected.



 


i hope now you have no any doubts . if you have then plzz comments me i will give your answer.





























 

Wednesday, July 7, 2021

10वी के बाद क्या करें?

पॉलिटेक्निक की जानकारी

 You want to became engineer :-

10वीं पास हैं और चाहते हैं कि आगे की पढ़ाई से अलग कुछ प्रोफेशनल कोर्स किए जाएं जिससे करियर को तो रफ्तार मिले ही साथ ही समय और धन की भी बचत हो तो पोलीटेक्निक आपकी मंजिल हो सकती है। जी हां, पोलीटेक्निक वो संस्थान जो 10वीं पास करने के बाद छात्रों को प्रोफेशनल स्टडी की सुविधा देता है। आज इस ओर छात्र काफी आकर्षित हो रहे है। इसका एक कारण ये भी है कि टेक्नोलॉजी और इंजीनियंरिग की फील्ड में जाने के इच्छुक छात्रों के लिए पोलीटेक्निक संस्थान में काफी कुछ हैं। बहुत से कोर्स हैं जो आपके करियर को बढ़िया दिशा देकर रफ्तार भी दे सकते हैं तो आइए जानते हैं कि 10वीं पास करने के बाद पोलीटेक्निक से कौन कौन से कोर्स किए जा सकते हैं।


How get admission in polytechnic :-

अग़र आपको पॉलिटेक्निक करनी है आपके पास दो तरीके है।

(1):- सरकारी पॉलिटेक्निक कॉलेज [government polytecnic college ]

(2):- private कॉलेज


(1):- सरकारी पॉलिटेक्निक कॉलेज :- अगर आपको कम पैसा मे अच्छा कॉलेज चाहिए तो  आपको  governments college को choose करना चाहिए।

 पॉलिटेक्निक गवर्नमेंट कॉलेज का हर 1 साल में एक बार फॉर्म आता है जिसको हमें फील करना होता है फील करने के बाद हम उस में अप्लाई करते हैं और एग्जाम देना पड़ता है एंट्रेंस एग्जाम देकर हम उस में  हम एग्जाम क्वालीफाई कर जाते हैं तो फिर हमें उसके लिए एडमिशन के लिए जाना पड़ता है यह फॉर्म कैसे फिल करते हैं चलिए उसको जानते हैं।


 हर एक स्टेट का अपना गवर्नमेंट कॉलेज का साल में एक बार फॉर्म निकलता है चाहे वह बिहार पॉलिटेक्निक हो चाहे वह यूपी पॉलिटेक्निक हो या फिर कोई और पॉलिटेक्निक हो तो हमें उस फील करने के लिए उनके एक वेबसाइट पर जाना पड़ता है सभी कॉलेज और सभी स्टेट का अपना वेबसाइट होता है जैसे कि बिहार पॉलिटेक्निक का www.bcece.com है जहां पर हमें बिहार पॉलिटेक्निक का फॉर्म फिल करने का मौका दिया जाता है यूपी पॉलिटेक्निक का अपना वेबसाइट है जहां पर हमें गवर्नमेंट फॉर्म फिल करके वहां एडमिशन लेने का मौका मिलता है।


 (2):- private कॉलेज :-

 आज हमारे देश में हर एक राज्य में बहुत सारे प्राइवेट कॉलेज खुल चुके हैं! बहुत सारे अच्छे प्राइवेट कॉलेज भी हैं जैसे कि हमें कोई भी प्राइवेट कॉलेज में अगर एडमिशन लेना हो तो हमें वहां जाकर और उस में एडमिशन लेना होता है अगर हम एडमिशन ले लेते हैं वहां पर 6 सेमेस्टर होती है! हर सेमेस्टर की फी अलग-अलग कॉलेज के अनुसार होता है जिसमें हमें दे करके और उसमें हम पढ़ सकते हैं!

 अगर आपको पॉलिटेक्निक के रिलेटेड और भी जानकारी चाहिए उसमें कैसे पढ़ाई होती है इसके बारे में जानना हो तो मेरे यह ब्लॉक को फॉलो करें और मेरे वेब पेज पर जाकर आप लोग इसके बारे में जान सकते हैं!


मेरा एक युटुब चैनल है जिसका लिंक में यहां पर दे रहा हूं जहां से आप पॉलिटेक्निक एंट्रेंस एग्जाम की तैयारी भी कर सकते हैं

Link (Technical kanhaiya ) channel name

:- https://youtube.com/channel/UCvh2Uz1gSui472re2bO2zEg

how to create SSRS report using parameter in visual studio.

Step 1 :- Open the visual studio and create a new project. Step 2 :- Click on Project and search for the template REPORT SERVER PROJECT. Ste...