TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Abdalla Elawad
NA
1k
216.4k
how can i get data from database SQL using this Technology
Sep 20 2019 7:08 AM
Hi Guys
how can i applied this datatable with same idea but i need to a get data from a certain table from sql server with using StoredProcedure .
you can see to code here :
<%@ Page Language=
"C#"
AutoEventWireup=
"true"
CodeBehind=
"WebForm-NAVBAR.aspx.cs"
Inherits=
"datatimepicker.WebForm_NAVBAR"
%>
<!DOCTYPE html>
<html>
<head>
<title>APSG GROUP OF COMPANIES</title>
<link href=
"Content/bootstrap.min.css"
rel=
"stylesheet"
/>
<script src=
"FilesCSS/jquery-1.8.3.js"
></script>
<script src=
"FilesCSS/bootstrap.min.js"
></script>
<style>
.navbar-
default
{
background-color
:
#69899f
;
border-color
:
#425766
;
}
.navbar-
default
.navbar-brand {
color
:
#d7e2e9
;
}
.navbar-
default
.navbar-brand:hover, .navbar-
default
.navbar-brand:focus {
color
:
#e5dbdb
;
}
.navbar-
default
.navbar-text {
color
:
#d7e2e9
;
}
.navbar-
default
.navbar-nav > li > a {
color
:
#d7e2e9
;
}
.navbar-
default
.navbar-nav > li > a:hover, .navbar-
default
.navbar-nav > li > a:focus {
color
:
#e5dbdb
;
}
.navbar-
default
.navbar-nav > li > .dropdown-menu {
background-color
:
#69899f
;
}
.navbar-
default
.navbar-nav > li > .dropdown-menu > li > a {
color
:
#d7e2e9
;
}
.navbar-
default
.navbar-nav > li > .dropdown-menu > li > a:hover,
.navbar-
default
.navbar-nav > li > .dropdown-menu > li > a:focus {
color
:
#e5dbdb
;
background-color
:
#425766
;
}
.navbar-
default
.navbar-nav > li > .dropdown-menu > li > .divider {
background-color
:
#69899f
;
}
.navbar-
default
.navbar-nav > .active > a, .navbar-
default
.navbar-nav > .active > a:hover, .navbar-
default
.navbar-nav > .active > a:focus {
color
:
#e5dbdb
;
background-color
:
#425766
;
}
.navbar-
default
.navbar-nav > .open > a, .navbar-
default
.navbar-nav > .open > a:hover, .navbar-
default
.navbar-nav > .open > a:focus {
color
:
#e5dbdb
;
background-color
:
#425766
;
}
.navbar-
default
.navbar-toggle {
border-color
:
#425766
;
}
.navbar-
default
.navbar-toggle:hover, .navbar-
default
.navbar-toggle:focus {
background-color
:
#425766
;
}
.navbar-
default
.navbar-toggle .icon-bar {
background-color
:
#d7e2e9
;
}
.navbar-
default
.navbar-
collapse
,
.navbar-
default
.navbar-form {
border-color
:
#d7e2e9
;
}
.navbar-
default
.navbar-link {
color
:
#d7e2e9
;
}
.navbar-
default
.navbar-link:hover {
color
:
#e5dbdb
;
}
@media (
max-width
:
767px
) {
.navbar-
default
.navbar-nav .open .dropdown-menu > li > a {
color
:
#d7e2e9
;
}
.navbar-
default
.navbar-nav .open .dropdown-menu > li > a:hover, .navbar-
default
.navbar-nav .open .dropdown-menu > li > a:focus {
color
:
#e5dbdb
;
}
.navbar-
default
.navbar-nav .open .dropdown-menu > .active > a, .navbar-
default
.navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-
default
.navbar-nav .open .dropdown-menu > .active > a:focus {
color
:
#e5dbdb
;
background-color
:
#425766
;
}
}
</style>
</head>
<body>
<div class=
"container"
>
<h
4
style=
"color:blue;font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif"
>APSG GROUP OF COMPANIES</h
4
>
<nav class=
"navbar navbar-default"
>
<div class=
"container-fluid"
>
<!-- Brand and toggle get grouped for better mobile display -->
<div class=
"navbar-header"
>
<button type=
"button"
class=
"navbar-toggle collapsed"
data-toggle=
"collapse"
data-target=
"#bs-example-navbar-collapse-1"
aria-
expanded
=
"false"
>
<span class=
"sr-only"
>Toggle navigation</span>
<span class=
"icon-bar"
></span>
<span class=
"icon-bar"
></span>
<span class=
"icon-bar"
></span>
</button>
<a class=
"navbar-brand"
href=
"#"
style=
"color:RED"
>APSG </a>
</div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class=
"collapse navbar-collapse"
id=
"bs-example-navbar-collapse-1"
>
<ul class=
"nav navbar-nav"
>
<li class=
"active"
><a href=
"#"
>Ticketing System <span class=
"sr-only"
>(current)</span></a></li>
<li><a href=
"WebForm_datatableNew.aspx"
>Opening</a></li>
<li><a href=
"WebForm_datatableNew.aspx"
>Close</a></li>
<li class=
"dropdown"
>
<a href=
"/"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-
expanded
=
"false"
>Add New Ticketing <span class=
"caret"
></span></a>
<ul class=
"dropdown-menu"
>
<li><a href=
"WebForm-NewDesign.aspx"
>Add Ticket</a></li>
<li><a href=
"WebForm_datatableNew.aspx"
>GridView Status</a></li>
<li role=
"separator"
class=
"divider"
></li>
<li><a href=
"WebForm-NewDesign.aspx"
>Select</a></li>
</ul>
</li>
</ul>
<form class=
"navbar-form navbar-left"
role=
"search"
>
<div class=
"form-group"
>
<input type=
"text"
class=
"form-control"
placeholder=
"Find topics"
>
</div>
<button type=
"submit"
class=
"btn btn-info"
>Go</button>
</form>
<ul class=
"nav navbar-nav navbar-right"
>
<li class=
"dropdown"
>
<a href=
"#"
class=
"dropdown-toggle"
data-toggle=
"dropdown"
role=
"button"
aria-haspopup=
"true"
aria-
expanded
=
"false"
>About <span class=
"caret"
></span></a>
<ul class=
"dropdown-menu"
>
<li><a href=
"WebForm-NAVBAR.aspx"
>Terms</a></li>
<li><a href=
"WebForm-NAVBAR.aspx"
>Contact</a></li>
</ul>
</li>
</ul>
</div>
<!-- /.navbar-
collapse
-->
</div>
<!-- /.container-fluid -->
</nav>
</div>
</body>
</html>
Reply
Answers (
1
)
Twilio client receive callback event
How to generate string json formate to this case ?