SlideShare a Scribd company logo
1) Web Development Using ASP.Net with .Net frame work 3.5 and Ajax Control
Tool Kit
2) Many number of RDLC reports developed for this system
3) Sample code to load data into the report dataset and view
Protected Sub Report_Show()
Dim Ds As DataSet = New DataSet("spRptGetInventoryByProject")
Dim Ds1 As DataSet = New DataSet("spRptGetCompanyHeader")
Dim param(2) As SqlParameter
param(0) = New SqlParameter("@ProjCode", Data.SqlDbType.VarChar, 6)
param(0).Value = Server.HtmlDecode(txtProject.Text).Trim()
param(1) = New SqlParameter("@CatCode", Data.SqlDbType.Char, 3)
param(1).Value = Server.HtmlDecode(txtCategory.Text)
param(2) = New SqlParameter("@ItemDesc", Data.SqlDbType.VarChar, 50)
param(2).Value = Server.HtmlDecode(txtItemDescription.Text).Trim()
Ds = SqlHelper.getDataSet(connectionString, "spRptGetInventoryByProject",
CommandType.StoredProcedure, param)
Ds1 = SqlHelper.getDataSet(connectionString, "spRptGetCompanyHeader",
CommandType.StoredProcedure, Nothing)
ReportViewer1.LocalReport.DataSources.Clear()
ReportViewer1.Reset()
If Ds.Tables.Count > 0 Then
If (Ds.Tables(0).Rows.Count > 0) Then
ReportViewer1.Visible = True
ReportViewer1.LocalReport.ReportPath = "./Reports/rpt_StockReport.rdlc"
ReportViewer1.LocalReport.DataSources.Add(New
ReportDataSource("spRptGetInventoryByProject_spRptGetInventoryByProject_1", Ds.Tables(0)))
ReportViewer1.LocalReport.DataSources.Add(New
ReportDataSource("spRptGetCompanyHeader_spRptGetCompanyHeader_1", Ds1.Tables(0)))
Dim reportparam(2) As ReportParameter
reportparam(0) = New ReportParameter("Project", txtProject.Text)
reportparam(1) = New ReportParameter("Category", txtCategory.Text)
reportparam(2) = New ReportParameter("ItemDescription", txtItemDescription.Text)
ReportViewer1.LocalReport.SetParameters(reportparam)
ReportViewer1.DataBind()
ReportViewer1.LocalReport.Refresh()
Else
ReportViewer1.Visible = False
sms_msg.ShowMessage("There Is No Report Data With These Filter(s).", True)
End If
Else
ReportViewer1.Visible = False
sms_msg.ShowMessage("There Is No Report Data With These Filter(s).", True)
End If
End Sub
4) DB Implementation Scripts

More Related Content

What's hot

Binding radgridview into reportviewer
Binding radgridview into reportviewerBinding radgridview into reportviewer
Binding radgridview into reportviewerJunifar hidayat
 
Fetch data from form
Fetch data from formFetch data from form
Fetch data from form
Shahriar Malik
 
Do something in 5 with gas 3-simple invoicing app
Do something in 5 with gas 3-simple invoicing appDo something in 5 with gas 3-simple invoicing app
Do something in 5 with gas 3-simple invoicing app
Bruce McPherson
 
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheet
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheetDo something in 5 with gas 4- Get your analytics profiles to a spreadsheet
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheet
Bruce McPherson
 
Do something in 5 minutes with gas 1-use spreadsheet as database
Do something in 5 minutes with gas 1-use spreadsheet as databaseDo something in 5 minutes with gas 1-use spreadsheet as database
Do something in 5 minutes with gas 1-use spreadsheet as database
Bruce McPherson
 
13 Programación Web con .NET y C#
13 Programación Web con .NET y C#13 Programación Web con .NET y C#
13 Programación Web con .NET y C#
guidotic
 
VBA API for scriptDB primer
VBA API for scriptDB primerVBA API for scriptDB primer
VBA API for scriptDB primer
Bruce McPherson
 
Command object
Command objectCommand object
Command object
Vijay Shukla
 
Do something in 5 with gas 2-graduate to a database
Do something in 5 with gas 2-graduate to a databaseDo something in 5 with gas 2-graduate to a database
Do something in 5 with gas 2-graduate to a database
Bruce McPherson
 
Html indexed db
Html indexed dbHtml indexed db
Html indexed db
AbhishekMondal42
 
Testing Two-Way Data Binding in AngularJS
Testing Two-Way Data Binding in AngularJSTesting Two-Way Data Binding in AngularJS
Testing Two-Way Data Binding in AngularJS
Backand Cohen
 
MongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScript
MongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScriptMongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScript
MongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScript
MongoDB
 
Do something in 5 with gas 7-email log
Do something in 5 with gas 7-email logDo something in 5 with gas 7-email log
Do something in 5 with gas 7-email log
Bruce McPherson
 
Angular JS deep dive
Angular JS deep diveAngular JS deep dive
Angular JS deep dive
Axilis
 
Event-Driven Systems With MongoDB
Event-Driven Systems With MongoDBEvent-Driven Systems With MongoDB
Event-Driven Systems With MongoDB
Andrii Litvinov
 
Core Java tutorial at Unit Nexus
Core Java tutorial at Unit NexusCore Java tutorial at Unit Nexus
Core Java tutorial at Unit Nexus
Unit Nexus Pvt. Ltd.
 

What's hot (20)

C#
C#C#
C#
 
Binding radgridview into reportviewer
Binding radgridview into reportviewerBinding radgridview into reportviewer
Binding radgridview into reportviewer
 
Fetch data from form
Fetch data from formFetch data from form
Fetch data from form
 
Do something in 5 with gas 3-simple invoicing app
Do something in 5 with gas 3-simple invoicing appDo something in 5 with gas 3-simple invoicing app
Do something in 5 with gas 3-simple invoicing app
 
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheet
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheetDo something in 5 with gas 4- Get your analytics profiles to a spreadsheet
Do something in 5 with gas 4- Get your analytics profiles to a spreadsheet
 
Do something in 5 minutes with gas 1-use spreadsheet as database
Do something in 5 minutes with gas 1-use spreadsheet as databaseDo something in 5 minutes with gas 1-use spreadsheet as database
Do something in 5 minutes with gas 1-use spreadsheet as database
 
13 Programación Web con .NET y C#
13 Programación Web con .NET y C#13 Programación Web con .NET y C#
13 Programación Web con .NET y C#
 
VBA API for scriptDB primer
VBA API for scriptDB primerVBA API for scriptDB primer
VBA API for scriptDB primer
 
Bulk copy
Bulk copyBulk copy
Bulk copy
 
Command object
Command objectCommand object
Command object
 
Do something in 5 with gas 2-graduate to a database
Do something in 5 with gas 2-graduate to a databaseDo something in 5 with gas 2-graduate to a database
Do something in 5 with gas 2-graduate to a database
 
Html indexed db
Html indexed dbHtml indexed db
Html indexed db
 
Android crashcourse
Android crashcourseAndroid crashcourse
Android crashcourse
 
Testing Two-Way Data Binding in AngularJS
Testing Two-Way Data Binding in AngularJSTesting Two-Way Data Binding in AngularJS
Testing Two-Way Data Binding in AngularJS
 
Dev308
Dev308Dev308
Dev308
 
MongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScript
MongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScriptMongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScript
MongoDB World 2019: Building a GraphQL API with MongoDB, Prisma, & TypeScript
 
Do something in 5 with gas 7-email log
Do something in 5 with gas 7-email logDo something in 5 with gas 7-email log
Do something in 5 with gas 7-email log
 
Angular JS deep dive
Angular JS deep diveAngular JS deep dive
Angular JS deep dive
 
Event-Driven Systems With MongoDB
Event-Driven Systems With MongoDBEvent-Driven Systems With MongoDB
Event-Driven Systems With MongoDB
 
Core Java tutorial at Unit Nexus
Core Java tutorial at Unit NexusCore Java tutorial at Unit Nexus
Core Java tutorial at Unit Nexus
 

Viewers also liked

EVF Series for Electric Vehicle
EVF Series for Electric VehicleEVF Series for Electric Vehicle
EVF Series for Electric Vehicle? ?
 
Projeto joão lendas dos mouros atualizado
Projeto joão lendas dos mouros   atualizadoProjeto joão lendas dos mouros   atualizado
Projeto joão lendas dos mouros atualizadojoaoformacao1964
 
I'm a Doctor D*mn it! Trek and the Future of Healthcare
I'm a Doctor D*mn it! Trek and the Future of HealthcareI'm a Doctor D*mn it! Trek and the Future of Healthcare
I'm a Doctor D*mn it! Trek and the Future of Healthcare
Whitney Bowman-Zatzkin
 
Exito
ExitoExito
Html investigacion
Html investigacionHtml investigacion
Html investigacion
hector_ruiz123
 
Lambody-Linkedin
Lambody-LinkedinLambody-Linkedin
Lambody-LinkedinJohn zhang
 
Do you like fishing
Do you like fishingDo you like fishing
Do you like fishing
arrogants
 
Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...
Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...
Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...
AIGA Portland
 
MFG LGG World Cup Campaign - End of Campaign Report
MFG LGG World Cup Campaign - End of Campaign ReportMFG LGG World Cup Campaign - End of Campaign Report
MFG LGG World Cup Campaign - End of Campaign ReportMe FiRi GHANA
 

Viewers also liked (12)

EVF Series for Electric Vehicle
EVF Series for Electric VehicleEVF Series for Electric Vehicle
EVF Series for Electric Vehicle
 
Info sintessi 2
Info sintessi 2Info sintessi 2
Info sintessi 2
 
Cicon atual
Cicon   atualCicon   atual
Cicon atual
 
Projeto joão lendas dos mouros atualizado
Projeto joão lendas dos mouros   atualizadoProjeto joão lendas dos mouros   atualizado
Projeto joão lendas dos mouros atualizado
 
I'm a Doctor D*mn it! Trek and the Future of Healthcare
I'm a Doctor D*mn it! Trek and the Future of HealthcareI'm a Doctor D*mn it! Trek and the Future of Healthcare
I'm a Doctor D*mn it! Trek and the Future of Healthcare
 
Exito
ExitoExito
Exito
 
Refamilia015
Refamilia015Refamilia015
Refamilia015
 
Html investigacion
Html investigacionHtml investigacion
Html investigacion
 
Lambody-Linkedin
Lambody-LinkedinLambody-Linkedin
Lambody-Linkedin
 
Do you like fishing
Do you like fishingDo you like fishing
Do you like fishing
 
Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...
Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...
Will Villota: Market Research into Consumer Behavior on Sustainable Lifestyle...
 
MFG LGG World Cup Campaign - End of Campaign Report
MFG LGG World Cup Campaign - End of Campaign ReportMFG LGG World Cup Campaign - End of Campaign Report
MFG LGG World Cup Campaign - End of Campaign Report
 

Similar to KMI System

Session06 handling xml data
Session06  handling xml dataSession06  handling xml data
Session06 handling xml data
kendyhuu
 
Hadoop metric을 이용한 알람 개발
Hadoop metric을 이용한 알람 개발Hadoop metric을 이용한 알람 개발
Hadoop metric을 이용한 알람 개발
효근 박
 
Real-Time Spark: From Interactive Queries to Streaming
Real-Time Spark: From Interactive Queries to StreamingReal-Time Spark: From Interactive Queries to Streaming
Real-Time Spark: From Interactive Queries to Streaming
Databricks
 
Migration to Extent Report 4
Migration to Extent Report 4Migration to Extent Report 4
Migration to Extent Report 4
RapidValue
 
Retrofit Web Forms with MVC & T4
Retrofit Web Forms with MVC & T4Retrofit Web Forms with MVC & T4
Retrofit Web Forms with MVC & T4
soelinn
 
Lab manual asp.net
Lab manual asp.netLab manual asp.net
Lab manual asp.net
Vivek Kumar Sinha
 
ASP.NET 08 - Data Binding And Representation
ASP.NET 08 - Data Binding And RepresentationASP.NET 08 - Data Binding And Representation
ASP.NET 08 - Data Binding And Representation
Randy Connolly
 
Spring data ii
Spring data iiSpring data ii
Spring data ii
명철 강
 
Sql server-function
Sql server-functionSql server-function
Sql server-function
AnkushAgrawal56
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
Aravindharamanan S
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
Aravindharamanan S
 
Accessing data with android cursors
Accessing data with android cursorsAccessing data with android cursors
Accessing data with android cursors
info_zybotech
 

Similar to KMI System (20)

Session06 handling xml data
Session06  handling xml dataSession06  handling xml data
Session06 handling xml data
 
Hadoop metric을 이용한 알람 개발
Hadoop metric을 이용한 알람 개발Hadoop metric을 이용한 알람 개발
Hadoop metric을 이용한 알람 개발
 
Real-Time Spark: From Interactive Queries to Streaming
Real-Time Spark: From Interactive Queries to StreamingReal-Time Spark: From Interactive Queries to Streaming
Real-Time Spark: From Interactive Queries to Streaming
 
Mvc acchitecture
Mvc acchitectureMvc acchitecture
Mvc acchitecture
 
Migration to Extent Report 4
Migration to Extent Report 4Migration to Extent Report 4
Migration to Extent Report 4
 
Ch 7 data binding
Ch 7 data bindingCh 7 data binding
Ch 7 data binding
 
JSON and XML
JSON and XMLJSON and XML
JSON and XML
 
spring-tutorial
spring-tutorialspring-tutorial
spring-tutorial
 
Retrofit Web Forms with MVC & T4
Retrofit Web Forms with MVC & T4Retrofit Web Forms with MVC & T4
Retrofit Web Forms with MVC & T4
 
Lab manual asp.net
Lab manual asp.netLab manual asp.net
Lab manual asp.net
 
ASP.NET 08 - Data Binding And Representation
ASP.NET 08 - Data Binding And RepresentationASP.NET 08 - Data Binding And Representation
ASP.NET 08 - Data Binding And Representation
 
Spring data ii
Spring data iiSpring data ii
Spring data ii
 
70 562
70 56270 562
70 562
 
RicoLiveGrid
RicoLiveGridRicoLiveGrid
RicoLiveGrid
 
RicoLiveGrid
RicoLiveGridRicoLiveGrid
RicoLiveGrid
 
5.C#
5.C#5.C#
5.C#
 
Sql server-function
Sql server-functionSql server-function
Sql server-function
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
 
Simple ado program by visual studio
Simple ado program by visual studioSimple ado program by visual studio
Simple ado program by visual studio
 
Accessing data with android cursors
Accessing data with android cursorsAccessing data with android cursors
Accessing data with android cursors
 

KMI System

  • 1. 1) Web Development Using ASP.Net with .Net frame work 3.5 and Ajax Control Tool Kit 2) Many number of RDLC reports developed for this system
  • 2. 3) Sample code to load data into the report dataset and view Protected Sub Report_Show() Dim Ds As DataSet = New DataSet("spRptGetInventoryByProject") Dim Ds1 As DataSet = New DataSet("spRptGetCompanyHeader") Dim param(2) As SqlParameter param(0) = New SqlParameter("@ProjCode", Data.SqlDbType.VarChar, 6) param(0).Value = Server.HtmlDecode(txtProject.Text).Trim() param(1) = New SqlParameter("@CatCode", Data.SqlDbType.Char, 3) param(1).Value = Server.HtmlDecode(txtCategory.Text) param(2) = New SqlParameter("@ItemDesc", Data.SqlDbType.VarChar, 50) param(2).Value = Server.HtmlDecode(txtItemDescription.Text).Trim() Ds = SqlHelper.getDataSet(connectionString, "spRptGetInventoryByProject", CommandType.StoredProcedure, param) Ds1 = SqlHelper.getDataSet(connectionString, "spRptGetCompanyHeader", CommandType.StoredProcedure, Nothing) ReportViewer1.LocalReport.DataSources.Clear() ReportViewer1.Reset() If Ds.Tables.Count > 0 Then If (Ds.Tables(0).Rows.Count > 0) Then ReportViewer1.Visible = True ReportViewer1.LocalReport.ReportPath = "./Reports/rpt_StockReport.rdlc" ReportViewer1.LocalReport.DataSources.Add(New ReportDataSource("spRptGetInventoryByProject_spRptGetInventoryByProject_1", Ds.Tables(0))) ReportViewer1.LocalReport.DataSources.Add(New ReportDataSource("spRptGetCompanyHeader_spRptGetCompanyHeader_1", Ds1.Tables(0))) Dim reportparam(2) As ReportParameter reportparam(0) = New ReportParameter("Project", txtProject.Text) reportparam(1) = New ReportParameter("Category", txtCategory.Text) reportparam(2) = New ReportParameter("ItemDescription", txtItemDescription.Text) ReportViewer1.LocalReport.SetParameters(reportparam) ReportViewer1.DataBind() ReportViewer1.LocalReport.Refresh() Else ReportViewer1.Visible = False sms_msg.ShowMessage("There Is No Report Data With These Filter(s).", True) End If Else ReportViewer1.Visible = False sms_msg.ShowMessage("There Is No Report Data With These Filter(s).", True) End If End Sub