Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~6K People Reached
Favorite Tags
Member Avatar for barriegrant1

I need to use a <hr> tag under the date based on a condition. however its within a listview template and am haiving issues either finding it or trying to dynamically add it. below is the code that loads the first article and stores its date in a temp location, …

Member Avatar for JorgeM
0
165
Member Avatar for barriegrant1

Im passing a long string to a method that will return the first 20 words, however when i return the value the old value is still in the string. any ideas? My code is as follows: string textContent = txtDiaryText.Text.ToString().Trim(); int NumberOfWords = 20; getLimitedWords(textContent, NumberOfWords); { //do stuff with …

Member Avatar for barriegrant1
0
110
Member Avatar for barriegrant1

ok so im having trouble working out the best solution to this. i have a database with two tables as follows ![Untitled96](/attachments/small/3/Untitled96.png "align-right") I want to load a single date based on the ID but then load each content that has that dateIDFK - this is fine in sql however …

Member Avatar for barriegrant1
0
141
Member Avatar for barriegrant1

Hey, im trying to dynamically add an image to a gridview for each row if it meets a condition. DataTable dtSub = new DataTable(); dtSub.Columns.Add("ID", Type.GetType("System.String")); dtSub.Columns.Add("FirstName", Type.GetType("System.String")); dtSub.Columns.Add("LastName", Type.GetType("System.String")); dtSub.Columns.Add("Tutor", Type.GetType("System.String")); dtSub.Columns.Add("test", typeof(System.Web.UI.WebControls.Image)); //not sure if this is correct?? DataSet ds = new DataSet(); ds.Tables.Add(dtSub); Session["myds"] = ds; foreach …

Member Avatar for kvprajapati
0
132
Member Avatar for barriegrant1

Im uploading student details that are tab seperated within a text file. If a submitted ID was added sucessfully to the database i want to add the submitted details to a gridview to allow the admin to see the total of submitted students. //student details from the submitted text file …

Member Avatar for barriegrant1
0
127
Member Avatar for srinidelite

Hello Their, i'm new asp.net and I've assigned to design a ERP supplier page and when i started designing the page i used lot of space tag(&nbsp) for spacing and my project guide insist me to find another way to align text box and label using css and ceratainly i …

Member Avatar for srinidelite
0
159
Member Avatar for tontano

Hi Team; I am new to programming and C#. I am creating a calculator form, and need to ensure the user enters a numeric only value (no empty values are valid). I have 2 text boxes Value 1 & Value 2..The user must enter a numeric value only, and if …

Member Avatar for ddanbe
0
648
Member Avatar for Muhasin

i am accesing a .mdb database file..i am developing it in c#. i am new in this area so that i am findung many difficulties in searching and displaying a value from the daatabase..can any one tell me how can i display a particular field in to a textfield which …

Member Avatar for barriegrant1
0
70
Member Avatar for barriegrant1

Im creating a project where the a blog can be submitted, the date is stored in the database as dd/mm/yy, however im using LINQ to SQL to get the date as well as other information, the problem comes when i want to display the date in a particular layout (similar …

Member Avatar for barriegrant1
0
176
Member Avatar for barriegrant1

so im trying to load the first 2 imageIDs from 5 galleries, so here how it works, im using a stored procedure to get the top 5 galleries (galleryID). a second stored procedure is used to load the first 2 imageIDs based on the galleryID, here is the c# code …

Member Avatar for Mark76
0
143
Member Avatar for barriegrant1

im using a stored procedure to load a number of galleries and then photos within the gallery, however when linking them to the listView only the first two photos are returned. Stored procedure [CODE] ALTER PROCEDURE dbo.test AS declare @galID int Declare c Cursor For Select Distinct gallery_id From galleries …

Member Avatar for barriegrant1
0
155
Member Avatar for barriegrant1

when uploading an image to the website i get the following error message: [CODE] Server Error in '/' Application. A generic error occurred in GDI+. 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 …

Member Avatar for barriegrant1
0
2K
Member Avatar for barriegrant1

im building a site that places galleries within an itemTemplate, each gallery has its own ID, im tring to allow each gallery to have its own "edit" button, this will allow the user to delete or rename the gallery etc. is it possible to make the button ID the same …

Member Avatar for barriegrant1
0
165
Member Avatar for denmarkstan

please let someone help me here. The name "StaffID" is not permitted in this context. Valid expressions are constants, constant expressions, and (in some contexts) variables. Column names are not permitted.

Member Avatar for barriegrant1
0
73
Member Avatar for ssreevidya.m

hai, I have a datalist that contain image button control and i bind images from folder to it. I need to get image slide show when clicking on an image. How can I implement it. Thanks in advance, sreevidya.

Member Avatar for barriegrant1
0
337
Member Avatar for barriegrant1

im trying to enable a button that is disabled within an itemTemplate, if theres a session then the button will be enabled. however i cannot access the button object in the code-behind file. HTML CODE ---------- [CODE] <div id="gal_wrap"> <asp:ListView ID="ListView1" runat="server" EnableModelValidation="false" OnPagePropertiesChanging="listItems_PagePropertiesChanging"> <LayoutTemplate> <asp:PlaceHolder ID="itemPlaceholder" runat="server" /> </LayoutTemplate> …

Member Avatar for barriegrant1
0
525
Member Avatar for roXy101208

hi guys, Can you help me. How can I delete the uploaded photo ?? if I click the delete button message box appear and asking if I am sure to delete the photo, if I choose the Ok button the image was still there. How can I remove that?? what …

Member Avatar for kvprajapati
0
91
Member Avatar for barriegrant1

hey guys, I'm creating a basket for an e-commerce site, im trying to total up the basket values within the 'cart' class and return the value back to the 'basket' page where the total will be shown. The total is fine but i cant seam to return the total back …

Member Avatar for barriegrant1
0
135
Member Avatar for barriegrant1

i am trying to pass a number of values from one page to another, i have managed to pass both the category ID and sub category ID, however i am unable to pass the "product_id" value. as you can see from below i am getting the product_id using a stored …

Member Avatar for Fortinbra
0
284
Member Avatar for spmg_092

Hi guys. I am having a bit of trouble with the listview control at the moment. I am trying to change the position of an item in the listview but I have no idea how to do so. I am also trying to set a command button which can "click" …

Member Avatar for barriegrant1
0
132
Member Avatar for barriegrant1

hey, im currently creating an e-commerce store, im quite new to ASP.NET and C#. im trying to create a menu that is generated based on the database tables. i have created a stored procedure, which works correctly: [CODE] ALTER PROCEDURE dbo.getProductsForCat AS SELECT * FROM products_cat WHERE product_cat_id IN ( …

Member Avatar for barriegrant1
0
292