|
RageInTheMachine9532.. how do i replace the collection in the grid control with my new collection class? this is what i did..
Public Class GridExtension
.... other methods here
Public Class ColumnClass
Inherits Grid.Column
Public Function GetSum() as Double
Return <something>
End Function
End Class
End Class
is this what you mean?
|
|
|
|
|
HELLO I AM DEVELOPING VB.NET PROJECT IN WHICH I HAVE TO IDENTIFY MULTIPLE SELECTED ROWS (USING CONTROL KEY AND HAVE TO UPDATE COLUMN OF ALL SELECTED ROWS).I DID UPDATE SINGLE ROW AT A TIME BUT I NEED TO UPDATE MULTIPLE ROWS AT A TIME(BATCH UPDATION).THIS IS VERY URGENT ,I NEED YOUR HELP.
hi this ajay bharti
|
|
|
|
|
First of all, STOP YELLING! People are trying to write code around here...
Next, what version of VB.NET are you using and what control are you using to display and select these records?
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
i am using visual studio.net 2003 and using datagrid control.if i would use component one through database grid then how to identify multiple selected rows.
i have update a particular column in selected rows of datagrid .
hi this ajay bharti
|
|
|
|
|
You're looking for the IsSelected property of each row in the DataView that the DataGrid is bound to.
See this[^] for a clear example of how to return all the selected rows.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
As every time to build the project, the new version number will generate,
How can I get the version number like (1.0.2635)?
|
|
|
|
|
.NET
msgbox (Application.ProductVersion)
VB6
msgbox App.Major & "." & App.Minor & "." & App.Revision
"If i was king cigarettes would be free."
|
|
|
|
|
Version vv= new Version();
Response.Write(vv.Major+vv.Minor+vv.Build+vv.Revision);
get the version number
"Aim to go where U have never been B4 and Strive to achieve it"
http://groups.yahoo.com/subscribe/dotnetforfreshres
http://himabinduvejella.blogspot.com
|
|
|
|
|
Hi!
in my below code how can i instantiate datagrid webcontrol so that i get each dataview binded to seperate datagrid.
say datagrid1 will hold one dataview, datagrid2 will hold another dataview and so on...
currently i only have datagrid1 webcontrol which only picks the last dataview in loop. please help.
eventually that datagrid will be replaced by some charting tool. so i actually wanted to know how to instantiate webchart webcontrol if i use any third party webchart control
for eg.
MycosChartWeb1.DataSource = CreateData()
MycosChartWeb1.DataBind()
-----------------------
objConn = New SqlConnection(dbPath)
Try
'select the table with only distinct ID based
cmd = New SqlCommand("select distinct measure_id from measuredata m, textdata t where t.ScoreCardId = m.ScoreCardId", objConn)
Dim da As SqlDataAdapter = New SqlDataAdapter(cmd)
Dim dtId As New DataTable("MeasureId")
da.Fill(dtId)
'select all columns with ID
Dim cmd1 As SqlCommand = New SqlCommand("select * from measureData", objConn)
Dim da1 As SqlDataAdapter = New SqlDataAdapter(cmd1)
Dim dt As New DataTable("MeasureSource")
da1.Fill(dt)
Dim myView As New DataView(dt)
Dim datarow As DataRow
For Each datarow In dtId.Rows
myView.RowFilter = String.Format("Measure_Id='{0}'", datarow.Item("measure_Id"))
'######## checking if the dataview works #########
DataGrid1.DataSource = myView
DataGrid1.DataBind()
Next datarow
Catch ex As Exception
Response.Write("OOPs what went wrong:" + ex.ToString)
Finally
End Try
------------------------------
hope my question makes sense for what i wanna achieve.
please help thanks
robin
|
|
|
|
|
hi,
I want to read a value from a memory location of a game, but i am clueless to how i can do this, any help would be appreciated!
-- modified at 17:26 Sunday 19th March, 2006
|
|
|
|
|
See this[^] article for an example of how to read the memory of another process.
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
Thanks you very much! ![Smile | :)](https://codeproject.global.ssl.fastly.net/script/Forums/Images/smiley_smile.gif)
|
|
|
|
|
Hello!
I created a resource file and then added all the pictures in it. However, I do not know how to retrieve a picture from resource file and assign it to a picturebox?
Picturebox1.image = ? (How can assign a value here from resorce file?)
Thanks!
|
|
|
|
|
|
Hi Progload!
I was not able to open th eproject with vs 2005. Here is my method but I am started getting an eror message which I haven't solved it... Do you have any idea what is causing that?
Thanks!
ERROR MESSAGE IS ::
MissingManifestResource Exception
Could not find any resources appropriate for the specified culture (or the neutral culture) on disk.
baseName: Resources1.resx locationInfo: <null> fileName: Resources1.resx.resources
My Code is::
Dim rm as ResourceManager
rm = ResourceManager.CreateFileBasedResourceManager("Resources1.resx", ".", Nothing)
PB_Mic.Image = rm.GetObject("epa_mic_in.gif")
|
|
|
|
|
Sorry,
I don't have VS2005 yet, I believe that code was for VS2003.
Maybe someone with VS2005 can help you.
Sorry,
progload
|
|
|
|
|
Dragging the resource from the pane into your code inserts the location (it does on my VS05)
-- modified at 18:19 Sunday 19th March, 2006
|
|
|
|
|
I'm assuming you're using VB.NET 2005. If you have the Application Framework turned on in your project (double-click My Project, Application tab), then it's pretty easy.
Click on the Resrouces tab in My Project. Acrossed the top of the Resources window, the far left icon picks what type of resources are going to be listed in the window. The second one is, of course, Add Resource. Click on the drop-down arrow next to it, then pick Add Existing File. Pick the file has the image you want to add. Done! The image will be added to the window with the resource name under the image. You can rename it if you want to, you'll be using this name to refer to the image in your code.
Close the My Project window and save changes. For an example, say I've added a .JPG with the resource name Sample. Now, in your code, all you have to do to, say, assign this image to a picturebox is:
PictureBox1.Image = My.Resources.Sample
It's that simple!
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
How do you get an array method to merge array?
|
|
|
|
|
|
Hello
Is there any chance to get the row position in a table using a 'select' statement ?
Thanks
|
|
|
|
|
Where the row is located is random so I would not build any logic rellaying on that information.
And as far as I know, you can't get that information so...
Q:What does the derived class in C# tell to it's parent?
A:All your base are belong to us!
|
|
|
|
|
i created setup file. but when i run the program in the another computer, i'll get an error that is System.NullReferenceException. however the program runs normaly in my computer.
i can't find the problem. plz help!!
-- modified at 11:55 Sunday 19th March, 2006
|
|
|
|
|
Make sure you have included all your references in the setup project.
|
|
|
|
|
i connected to a Pc from PDA device(FALCON)troungh Remote Desktop
connection. so that i can see desktop of Pc on PDA device and i am
working with a inventory software, which actually running on
remote server, this software plays some sounds on some special
occations, but this sound is not playing on PDT device. i checked
all sound options on remote desktop connection settings, but sound is
not comming, can u suggest a option to get this sounds on PDT device which
is running on terminal server?
thank u
|
|
|
|