- Upvotes Received
- 1
- Posts with Upvotes
- 1
- Upvoting Members
- 1
- Downvotes Received
- 2
- Posts with Downvotes
- 2
- Downvoting Members
- 2
13 Posted Topics
Re: here you go # Html # <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Read from file" /> <asp:Button ID="Button2" runat="server" onclick="Button2_Click" Text="Modify and save " /> # Code behind # { //this calls the method to read from the file readFileintoTextbox(); } private void readFileintoTextbox() { //reads text into textbox … | |
Hi all please help as I am so stuck. My aim in to retrieve the information out of the xml soap file and store it in a database. However I havent got the slightes idea what i'm doing wrong. Please help I just want to write the values out in … | |
Re: Try this [code=sql] isnull( case bt.Kills when 'value1' then '1' when 'value2' then '2' end, '0') [/code] | |
I haven't done any sort of development for a while, but what i'm looking for is to see a simple example of an ntier application using linq. Showing BLL, DAL with roles and membership. I'm also keen on getting better with my OOP and would like to find a site … | |
I have a DropDownList that is populated from an ObjectDataSource [CODE] <asp:DropDownList ID="ddlDepartment" runat="server" AutoPostBack="True" DataSourceID="odsGetDeptByFaculty" DataTextField="Dept" DataValueField="FID" onselectedindexchanged="ddlDepartment_SelectedIndexChanged"> </asp:DropDownList> <asp:ObjectDataSource ID="odsGetDeptByFaculty" runat="server" SelectMethod="usp_GetDeptByFaculty" TypeName="DataLayer.StoredProcs"> <SelectParameters> <asp:ControlParameter ControlID="ddlFaulty" Name="fCode" PropertyName="SelectedValue" Type="String" /> </SelectParameters> </asp:ObjectDataSource> [/CODE] My problem is when I run the program and select the option from the dropdownlist … | |
Re: This will help you with your algorithms for solving mathematical problems May the force be with you :) [URL="http://projecteuler.net"]http://projecteuler.net[/URL] and here's another one [URL="http://codekata.pragprog.com/"]http://codekata.pragprog.com/[/URL] yet another one [URL="http://rubyquiz.com/"]http://rubyquiz.com/[/URL] | |
I'm struggling on this on and would appreciate any help I can get. I have a huge text file which has about 4000 records. If I open the text file using Programmers File editor I can see that there are page breaks ( chr(12)) between each record. What I need … | |
Re: Probably a silly question but does your FileUpload control have run at server in the html file? | |
I am trying to consume a web service using VS2008. The code below works in VS2005 but not VS2008 I, suspecting it's to do with WCF. Please can someone help me to solve the puzzle? 'Old code that works [CODE] Dim o As New MyWebService.Name Dim pr As New System.Net.WebProxy("100.0.1.1", … | |
Hi i'm creating my Data Access Layer and I want to return my object but not all the fields so this is the code i'm using [CODE] Public Function BasicSearchProposals(ByVal searchvalue As String) As IEnumerable(Of DCProposal) Dim dc As New PPDataContext() Dim proposals = From p In dc.DCProposals _ Where … | |
Re: Why not try using linq to query the dataset or the list then bing it to your GridView for example. [CODE] Dim query= From q In MyDataSet _ Where q.Equals(MySearchTextBox.Text) _ Select New With { _ .Column1Name= p.Column1.Value, _ .Column2Name= p.Column2.Value, _ .Column2Name= p.Column2.Value} GridView1.DataSource = query 'might need to … | |
Re: [CODE] 'using the stringbuilder is less expensive 'make sure you use Imports System.Text Dim value As StringBuilder value.Append("a") value.Append("b") value.Append("c") 'to use it - this will print abc MessageBox.Show(value.ToString()) [/CODE] | |
My problem is I want to be able to read through this xml document and populate a winform before validating it and then storing it into a table. This is a snippet of the xml document, it's way too big to put it all here. [code=xml] - <Applicant> + <common:PersonName> … |
The End.