Hello everybody..
Can i know how to how to convert a DataRowView to String and Byte array?
i need to bind the item to a label control and to a picturebox.
ie:
label1.text = dView.item("Nam e")
dim arr() as Byte = dView.Item("Pic ture")
convert.ToStrin g doesnt help.
Ctype(dView.Ite m("Name"),Strin g) also did not help..
fyi :...
User Profile
Collapse
-
Bind DataRowView to label control
-
i experienced the same exception. what i did was, compress the image to a smaller size ie : 5KB . then it works fine.
i do not know why the exception is thrown, but if you get to know it, please post it up, i am interested to know as well.
thanks... -
update data to sql server 2000
hello everybody,
i am developing a ppc application using .NET CF and sql server 2000. I used XML as local storage in the PDA and my application works in a disconnected environment.
Now, i have updated all the data in the XML file, and i wish to push the updated values back to sql server 2000.
Can anybody teach me how to do this in .NET CF using VB?
Need help urgently. Thanks in advanc... -
highlight a row in datagrid
hello everybody,
do anybody has any idea of how to highlight a row according to a dataview filter using .NET CF (vb coding)?
for example:
Dim dv as Dataview = (ds.tables("stu dent"))
dv.RowFilter = "StudName LIKE 'a%' or StudName LIKE 'b%' "
i want to set the focus to the row which has the first results that contains a. if there were no name starts with... -
the studID is of type varchar. In fact, not only the 5th row, all the rows after that cannot be retrieved. The studID for the rows are as below :
1st : CB001
2nd: CB002
3rd: CB003
4th: CB004
5th: CB005
6th: CB006 and
7th: CB007
i am using sqlserver 2000 and i pull all the data into dataset, write to xml and read from the xml file into dataset for further manipulation....Leave a comment:
-
Reading images from a dataset into a PictureBox control
Hello everybody,
i have an image field in my SQL Server 2000. i pull the data from SQL Server eg: name, id, course, picture into a dataset.
Then i would like to bind these information to labels and picturebox. How do i display this picture in the picturebox? i know that i need to transform the binary form of the picture. but im clueless to how to do it.. I am developing using MS. NET CF 2003 using VB
... -
ArgumentException and ArgumentOutOfRangeException
hello everybody,
<first of all i am sorry if i have already submitted similar thread, because i wasnt sure whether this thread has been submitted since i was redirected to the login page>
i am working on a project on .net CF using VB. in my project, i have a datagrid which is bind it to a datasource as below (in form activated):
ds = Globall.ReadXML .ReadStudentXML <-- reading from...
No activity results to display
Show More
Leave a comment: