Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
27% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
2
Posts with Downvotes
2
Downvoting Members
2
0 Endorsements
Ranked #4K
~5K People Reached

13 Posted Topics

Member Avatar for zxc123

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 …

Member Avatar for k1robert
0
439
Member Avatar for k1robert

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 …

0
118
Member Avatar for Tunnleram

Try this [code=sql] isnull( case bt.Kills when 'value1' then '1' when 'value2' then '2' end, '0') [/code]

Member Avatar for k1robert
0
280
Member Avatar for k1robert

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 …

Member Avatar for k1robert
0
212
Member Avatar for k1robert

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 …

Member Avatar for Freon22
0
169
Member Avatar for ff4930

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]

Member Avatar for muthu.guts
0
205
Member Avatar for k1robert

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 …

Member Avatar for thines01
0
194
Member Avatar for vvashishta

Probably a silly question but does your FileUpload control have run at server in the html file?

Member Avatar for vvashishta
0
278
Member Avatar for k1robert

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", …

Member Avatar for k1robert
0
923
Member Avatar for k1robert

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 …

Member Avatar for kvprajapati
0
1K
Member Avatar for tanvirahmad

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 …

Member Avatar for TomW
0
107
Member Avatar for automata

[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]

Member Avatar for k1robert
0
162
Member Avatar for k1robert

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> …

Member Avatar for k1robert
0
963

The End.