Search:
Type: Posts; User: azsx123
Search:
Search took 0.02 seconds.
-
Okay. Dumbass me. Hahaha I declared dt as a forum variable. Subsequently, I have three "get" methods that use dt. Everything's okay now. I've declared dt as a method level var in all the methods.
-
Hi, I'm trying to get the sum of a column but access returns 3 rows and the SUM is located at the 2nd row of the 1st column (i tried binding it to a datagridview)
cmd.CommandText = "SELECT...
-
Yep. Thanks! I don't know why I didn't think of that.
I'm already using :base() for both student and staff.
-
I've encountered a problem with regards to classes and constructs.
I've created a Student and a Staff class which is derived from WebUser. WebUser class has a Create() method which creates the...
-
Thanks for the reply. I'm able to filter LastName='abc'. What I want to achieve is LastName = 'abc' AND FirstName = 'def'.
-
Hi,
I'm working on a project for school. I'm required to filter a dataview utilizing AND and OR. I'm only able to filter one condition.
How do I add in a AND/OR in it?
-
Thanks for the quick rep guys. Was using SelectedRow instead of CurrentRow. Got it to work now.
-
Hi,
How can I get the value of the first cell of the row of the selected cell or selected row in a datagridview?
-
I do. Thanks so much! =)
Edit: Its not working.
public ViewResult Index()
{
IList<NewsModel> items = (from item in db.BatchNews
...
-
Are you pertaining to the controller?
// GET: /News/
public ViewResult Index()
{
return View(db.BatchNews.ToList());
}
-
I don't use queries. None as of I know of. I i'm using the login function that came with the MVC 3 layout
-
I'm using Sql server ce.
I see. Thanks!
-
I want to make a "announcements" page and what I want to happen is that when a user posts a news, the post will be saved into the database and is defined by a unique ID (using autonumber). So data is...
-
I'm currently using the login feature that came with the default MVC 3 layout.
I have no problem with regards to writing the data using the default pages that i edited. My problem is how to view...
-
Well yeah. I'll try to work on that after I'm done some pages. Thanks
-
I see, sadly I'm just using cells that redirect when clicked. Thanks though.
-
Hi,
I'm about to start working on the authenticating part of my site. I have several concerns regarding this.
1. When a user is logged in, he will gain additional menu items.
-So, from what...
-
-
I already have taken a look at this awhile ago and could understand how it works. I don't know why that when I took a look at it again when you posted it, I kinda understood what was going on. (Just...
-
Thanks for that note. I think it is better to do the redirecting client side because of the hardware and bandwidth limitations.
-
I still do since I haven't found the syntax for back code to do redirecting
-
Yes but I'm still looking for a way to use back code. I tried using the one from your link but I don't quite understand what's going on there.
-
I actually found the problem else where. For some reason, a line in Designer.vb was set to _Defaultren or something. I tried replacing it but it still didn't work so I ended up redoing the page. Its...
-
-
Hi, I'm trying to connect my site to a Access database. I already got the connection string but what goes around it, I don't know. I've tried searching but they have different approaches but I...
-
Here
<a href="EditProfile.aspx">
<asp:Button ID="btnUpdate" runat="server" Text="Update"/>
</a>
Is there a better way of doing this?
-
So I'm trying to create a redirect button? I've been searching on how to do this but can't I just can't get it to work.
So here's my VB code
Public Class Profile
Inherits...
-
Oh sorry. Forgot about that.
-
Great! Thanks for that. Rename _Defaulten accordingly. Works fine now =)
-
Thanks for the reply. Sadly, it still doesn't work.
Imports System.Web.UI.HtmlControls
Public Class _Defaulten
Inherits System.Web.UI.Page
Protected Sub Page_Load(ByVal sender As Object,...
-
So I want to change the Text value of a textbox using VB on form load. Simple enough, but I can't get it to work.
aspx file
<asp:Label ID="lblName" runat="server" Text="N/A"></asp:Label>
...
-
-
Hi, how do I code VB into aspx files? I already have the pages done all I have to do is to add in the functions. I've already added Language="VB" at the top of the page but I don't really have a clue...
-
How can I automatically filter data that DataGridView outputs? I am able to filter by using a textbox (which would still require a user to type) but I want to filter the values at a click of a...
-
-
Ok, so I'm now checking individual rows for a match. It works but dr is in read only mode so i can't update values. How do I allow editing?
cn.ConnectionString =...
-
How can I update an .mdb file via VB application? I'm able to add but i can't seem to figure out how to edit.
Dim cn As New OleDbConnection
Private Sub btnOk_Click(ByVal sender As...
-
-
I searched around and found out that this is how it works on a DataGrip
id = dgv1.CurrentRow.Cells(0).Value
ic(c) = dgv1.CurrentRow.Cells(1).Value
nprice(c) =...
-
How will the program know which line in a listview is selected?
|
Click Here to Expand Forum to Full Width
|