Click here to Skip to main content
15,122,559 members
Home / Discussions / ASP.NET
   

ASP.NET

 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
samflex30-Jan-20 4:58
Membersamflex30-Jan-20 4:58 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
Richard Deeming30-Jan-20 5:05
mveRichard Deeming30-Jan-20 5:05 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
samflex30-Jan-20 5:20
Membersamflex30-Jan-20 5:20 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
Richard Deeming30-Jan-20 5:53
mveRichard Deeming30-Jan-20 5:53 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
samflex30-Jan-20 6:14
Membersamflex30-Jan-20 6:14 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
samflex30-Jan-20 6:41
Membersamflex30-Jan-20 6:41 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
Richard Deeming30-Jan-20 6:47
mveRichard Deeming30-Jan-20 6:47 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
samflex30-Jan-20 7:45
Membersamflex30-Jan-20 7:45 
If I temporarily comment this out:

' Clear the controls:
'txteName.Text = String.Empty
'txttitle.Text = String.Empty
'txtemail.Text = String.Empty
'txtEmpID.Text = String.Empty
'lblStatus.Text = String.Empty

'Gridview1.DataSource = Nothing
'Gridview1.DataBind()

it works but doesn't work if they are not commented out if I am using the correct empID with previous year's date and doesn't show the message: Not this year, nor the previous year even though I added that message to the Else block.
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
Richard Deeming30-Jan-20 8:08
mveRichard Deeming30-Jan-20 8:08 
GeneralRe: Any ideas why gridview is not getting populated with data from the database? Pin
samflex30-Jan-20 9:11
Membersamflex30-Jan-20 9:11 
QuestionWriting a client app for OData Pin
simpledeveloper29-Jan-20 8:13
Membersimpledeveloper29-Jan-20 8:13 
QuestionDropdown Filtering in grideview vb.net Pin
Member 315525329-Jan-20 5:16
MemberMember 315525329-Jan-20 5:16 
QuestionFiles download fails for ipad and iphone clients Pin
alesanndro28-Jan-20 21:34
Memberalesanndro28-Jan-20 21:34 
AnswerRe: Files download fails for ipad and iphone clients Pin
Nathan Minier29-Jan-20 6:42
professionalNathan Minier29-Jan-20 6:42 
GeneralRe: Files download fails for ipad and iphone clients Pin
alesanndro29-Jan-20 7:51
Memberalesanndro29-Jan-20 7:51 
GeneralRe: Files download fails for ipad and iphone clients Pin
Nathan Minier29-Jan-20 10:28
professionalNathan Minier29-Jan-20 10:28 
GeneralRe: Files download fails for ipad and iphone clients Pin
alesanndro30-Jan-20 2:24
Memberalesanndro30-Jan-20 2:24 
GeneralRe: Files download fails for ipad and iphone clients Pin
Nathan Minier30-Jan-20 7:01
professionalNathan Minier30-Jan-20 7:01 
QuestionProcedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
Johan Hakkesteegt27-Jan-20 22:50
MemberJohan Hakkesteegt27-Jan-20 22:50 
AnswerRe: Procedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
F-ES Sitecore28-Jan-20 0:20
mveF-ES Sitecore28-Jan-20 0:20 
GeneralRe: Procedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
Johan Hakkesteegt28-Jan-20 0:50
MemberJohan Hakkesteegt28-Jan-20 0:50 
AnswerRe: Procedure or function 'bla' expects parameter '@OrderNumber', which was not supplied. Pin
Richard Deeming28-Jan-20 2:04
mveRichard Deeming28-Jan-20 2:04 
QuestionDisplaying two images but code is for single image Pin
UDTWS27-Jan-20 20:33
MemberUDTWS27-Jan-20 20:33 
QuestionDynamically updating the site with progress bar Pin
iinfoque11127-Jan-20 8:46
Memberiinfoque11127-Jan-20 8:46 
QuestionRe: Dynamically updating the site with progress bar Pin
ZurdoDev27-Jan-20 10:00
professionalZurdoDev27-Jan-20 10:00 

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.