Home
Get Started
Learn
Downloads
AJAX
MVC
Community
Wiki
Forums
Sign in
|
Join
Home
›
ASP.NET Forums
›
Search
Search
You searched for the word(s): userid:823404
More Search Options
RSS Available
Matching Posts
Check for database nulll value?
hi all, I already search around but I still couldn't get it to work. Could someone help me with this? Invalid attempt to read when no data is present. Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.InvalidOperationException: Invalid attempt to read when no data is present. Source Error: Line 822: if (myreader.HasRows)
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
flyby35
on 11/25/2009
Re: Check for database nulll value?
thanks, you were right. I miss that code
Posted to
Data Access and ObjectDataSource Control
(Forum)
by
flyby35
on 11/25/2009
Re: Project Permission layout help
Thank you for your idea. Let me see if I can do the list box style. Actually, my projects table are little more complicated. I have 4 tables Users: id, LastName, Firstname Projects: id, Project Desc Tasks: id, Task Desc, ProjectID Task Permission: id, TaskID, UserID Can I still do that listbox style?
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/23/2009
Re: Project Permission layout help
Thank you very much for your help. Can you also help me on this? On my Employee Listbox, if I turn on multiple selection, when I click on add user, it only adds 1. How can I do my button click so that it allows to add multiple user? Thanks here is my button click code protected void Addbtn_Click(object sender, EventArgs e) { SqlConnection conn = new SqlConnection(System.Configuration.ConfigurationManager.ConnectionStrings["TimeTrackerConnectionString"].ConnectionString); SqlCommand cmd
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/23/2009
Re: Project Permission layout help
anyway, I already got my multi-selection button working for (int i = 0; i < PermissionList.Items.Count; i++) { if (PermissionList.Items[i].Selected) { conn.Open(); SqlCommand cmd = new SqlCommand("Delete from EngPermission Where id = @id", conn); cmd.CommandType = CommandType.Text; cmd.Parameters.AddWithValue("id", PermissionList.Items[i].Value); cmd.ExecuteNonQuery(); cmd.Dispose(); conn.Close(); } }
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/23/2009
Project Permission layout help
Hi I'm doing a timesheet program. I'm stuck on Project permission layout page. I have 3 tables Tasks: id, Task, Description Users: id, Employee Name Task Permission: id, TaskID, EmployeeID I don't know how to design a layout so that A project manager could select a task to see who has permission to that tasks. He can also add or remove a person from a task. Can someone give me some ideas? I'm stuck at this point. I don't know what should I have on a page: dropdownlist, checkboxlist
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/20/2009
UpdatePanel problem
Hi everyone, I'm doing a timesheet program. I have a submit form & a databound gridview. When the first time I loadup the page, I entered everything, & I click on submit button. Nothing happen. Then, I have to click on the submit button again, my timelogs go thru the 2nd time. Is there a problem within my Update Panel that prevent me from submit the first time? When the first time I loadup the page, I always have to click on submit button twice. My markup code something like this <update
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/13/2009
Re: UpdatePanel problem
on my textbox, I have several server side validation. Is that the reason why? <update panel> <contenttemplate> <gridview here></gridview> <Panel> timelogs submission form here Submit button here </panel> </contenttemplate> <update panel>
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/13/2009
Re: UpdatePanel problem
sorry, I miss the submit button. The submit button is inside update panel. here is the markup code <asp:UpdatePanel ID="UpdatePanel1" runat="server"> <ContentTemplate> <table width="100%" border="1"> <tr valign="top"> <td width="25%"> <asp:Label ID="Label2" runat="server" Font-Bold="True" Text="Employee:" /> <br /> <asp:Label ID="submitby" runat
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/13/2009
Re: UpdatePanel problem
I think I figure it out. At the end of updatepanel, I have to put in triggers postback thing for it to work properly </ContentTemplate> <Triggers> <asp:PostBackTrigger ControlID="TimeDetail" /> <asp:PostBackTrigger ControlID="TimeOffGrid" /> </Triggers> </asp:UpdatePanel>
Posted to
Data Presentation Controls
(Forum)
by
flyby35
on 11/13/2009
Page 1 of 30 (298 items) 1
2
3
4
5
Next >
...
Last »
Channel 10:
How to Use "Play to" and "Remote Media Streaming" in Windows 7
TechNet Edge:
Managing Your Entire World - Tech Focus November 2009 Part 3
Channel 9:
The Access Show: Managing Access Databases with SharePoint
Channel 10:
Show Us Your Tech - Mark Pendergrast Edition
TechNet Edge:
Mark Russinovich interview at TechEd EMEA 09
TechNet Edge:
IT Manager Podcast #31: Talking About Virtualization
TechNet Edge:
System Center Operations Manager 2007 R2 – Service Level Dashboard part 1: Introduction
WindowsClient:
MSXML XHTML DTDs - making the web better
TechNet Edge:
How it works: Active Directory Rights Management Services
Channel 9:
Inside Windows 7: Recovering Windows from System Degradation and Boot Failures
Channel 10:
Ebay Launches IE8 Webslice for Holiday Shopping
Channel 10:
New Windows Smartphone Includes Built-in PowerPoint Projector
Channel 10:
Bing's Top Searches Reveal Our Celeb Obsessions
Channel 9:
Ping 39: Chrome is here, Dancing in MS Stores, Iphone & Bing
ASP.NET:
Building Twitter Search using the ASP.NET Ajax Library Beta – Part 1
Silverlight:
Using Azure as a Silverlight Streaming replacement
Silverlight:
Building extensible Silverlight applications with MEF
TechNet Edge:
Joachim Nässlander on Live Migration
ASP.NET:
T4MVC 2.6: MVC 2 Areas support
ASP.NET:
Script# Update - v0.5.5.0
Microsoft Communities
ASP.NET
Channel 8
Channel 9
Channel 10
IIS.NET
Silverlight
TechNet Edge
WindowsClient
Mix Online