473,811 Members | 2,324 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

I'm gonna crazy with this datagrid...

....which I have on my ASP.NET webform. I press button for inserting data's from database in datagrid, that satisfy condition, lets say hair='black'. In datagrid I can see all data's with that condition except the first one with that condition which I entered in database. If I have, lets say, 5 data's with that condition in database it shows me 4 of it without the first one. I can also see message in label how many data's that satisfy that condition exists in database, and there is allways real number, but in datagrid I can see one less. Also if I have only one data in database with that condition, I can see datagrid border lines and message in label "One data satisfy condition", but there is no any data in datagrid, only border lines. I have done this with CreateMySqlData reader procedure which I use in any other form of my application and it works corectlly. I tried to find error in my code, but there isn't any and I use the same code in other application and it works without problems. What is more interesting, when I move part of code in which I call CreateMySqlData Reader procedure few lines lower, it doesn't show me any data in datagrid although there is 5 data's that satisfy condition hair='black' and altough it showed me 4 of it when that part of code was few lines upper. I don't know do you understand what I have wanted to say but I am so furious that this is not working. Maybee there is some bug?
Nov 15 '05 #1
0 821

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
3356
by: doltharz | last post by:
Please Help me i'm doing something i though was to be REALLY EASY but it drives me crazy The complete code is at the end of the email (i mean newsgroup article), i always use Option Explicit and Response.Expires=-1,
6
1303
by: EMW | last post by:
The MSDN is a great source of information for programmers of .NET applications, but not for the simple things!!!! I have been searching for a few days now, my desk is filled with printouts from books, help pages and web pages, but still cannot find what I'm looking for. I'm trying to write a little program, to practice VB.NET, to convert a table from EXCEL to an ACCESS DATABASE. I managed to find some examples on how to create a...
1
4600
by: Bruce W.1 | last post by:
I want to put a live connection in a web page to periodically updated data. When the data changes, the server notifys the client and gives the new data. The client does not regularly refresh the page. The client responds to server-side events only. The screen display changes without any user interaction. An application like this might be a chat, stock ticker, or data inventory. Sofar as I can tell nothing in the .NET framework can...
1
1104
by: ajaymehra | last post by:
Hi, Im trying to create a "MS Project > Resource Usage" type o application report. The manager will see his resources work hour distributed along a default time period (say 1 month). He then has th option to zoom in or zoom out of this timescale. So, say he clicks o the "zoom in" button, the timescale should change from months to weeks If he clicks zoom in again - it should change to days. Zoom out will d the opposite. Of course, to...
4
1200
by: samir dsf | last post by:
hi i have a link in the datagrid which are actually the names of the files..what i am doign is when i click to that link i display the description of that file below it. i have implemented something simialr before. the problem now is that when i click the link my datagrid jsut vanishes. ran thru the debugger...after i click the link it comes to the dgFiles_ItemCommand then this condition "ElseIf (e.CommandName =
5
1035
by: Newbie! | last post by:
Hi Group, Im trying to Format some coloums on my Datagrid so that only 3 Coloums are show out of the 20 in my Dataset, I just carn`t for the life of me get it to work, i`ve looked everywhere for info but with no joy. Does anybody have any example code links? or even better project links? here is my following Code if anybody can help me with this please Many thanks Si
2
1073
by: NetRacer | last post by:
hi, i've i little problem with a DataGrid bound with an AccessDB. is has 3 columns, the third formatted as currency. when i try to enter a new line, the (Null)-Strings appear in each column. if i change one column and want to enter the next one (by tab or mouse) it cleares my entry back to (Null). this happens with all columns. if i then enter another new row i can change the columns of the first one but with the new one again the...
3
1771
by: squash | last post by:
I have spent two hours trying to make sense of this script, called crazy.php. The output should be nothing because $cookie_password is nowhere defined in this script, correct? But it actually outputs the value that other scripts i have running set it to. Why should crazy.php care what other scripts are running that use that variable name?? <?php crazy();
1
1448
by: Logician | last post by:
I am trying to just load a datagrid and save the changes. I have googled and sweated over this, and thanks to Microsoft I have much pain. Can anyone help? I am populating the DataGrid with NP, using DataSet thisDS = getDS(thisDBName); // returns dataset based on an SQL query DataGrid1.SetDataBinding(thisDS,"Part"); // put data into datagrid
0
9605
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10648
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10389
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9205
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7670
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6890
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5554
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5692
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3867
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.