Click here to Skip to main content
15,880,364 members
Home / Discussions / C#
   

C#

 
Questioncreating an own file for my application Pin
prasadbuddhika4-Sep-10 6:50
prasadbuddhika4-Sep-10 6:50 
AnswerRe: creating an own file for my application Pin
Not Active4-Sep-10 7:34
mentorNot Active4-Sep-10 7:34 
AnswerRe: creating an own file for my application Pin
DaveyM694-Sep-10 7:54
professionalDaveyM694-Sep-10 7:54 
AnswerRe: creating an own file for my application Pin
DaveAuld4-Sep-10 7:59
professionalDaveAuld4-Sep-10 7:59 
AnswerRe: creating an own file for my application [modified] Pin
Luc Pattyn4-Sep-10 9:20
sitebuilderLuc Pattyn4-Sep-10 9:20 
AnswerRe: creating an own file for my application Pin
OriginalGriff4-Sep-10 10:25
mveOriginalGriff4-Sep-10 10:25 
AnswerRe: creating an own file for my application Pin
Expert Coming4-Sep-10 22:12
Expert Coming4-Sep-10 22:12 
QuestionHii I am working on project and want to get some data from dataset and want to create and ink stroke Pin
googlejumbo4-Sep-10 6:20
googlejumbo4-Sep-10 6:20 
hii all

I am working on project on Tablet PC

I want to create an Ink stroke from the BezierPoints
I have already record BezierPointsin the database
now i am retrieving the points from database using Dataset and want to recreate the ink stroke using that points

My code lines are as below


SqlDataAdapter da = new SqlDataAdapter("SELECT BPX,BPY from BezierTable", cn);// where BPX, BPY are Drawing Points
DataSet ds = new DataSet();
da.Fill(ds, "BezierTable");
Point[] BezierPoints = Convert.ChangeType(ds, BezierPoints);/// here iam getting error unable to cast dataset Ds to the system to drawing.point BezierPoints
Stroke newStroke = inkOverlay.Ink.CreateStroke(BezierPoints);

now how i can convert the dataset into System to drawingpoint as my CreateStroke method require argument as System.drawing.point
Please help me iam unable to create the stroke from database


with regards

amit
AnswerRe: Hii I am working on project and want to get some data from dataset and want to create and ink stroke Pin
Luc Pattyn4-Sep-10 6:40
sitebuilderLuc Pattyn4-Sep-10 6:40 
QuestionHow to determine and check whether a type in assembly is Custom type or Primitive type using reflection in .NET? Pin
glitteringsound4-Sep-10 5:14
glitteringsound4-Sep-10 5:14 
AnswerRe: How to determine and check whether a type in assembly is Custom type or Primitive type using reflection in .NET? Pin
Not Active4-Sep-10 5:30
mentorNot Active4-Sep-10 5:30 
AnswerRe: How to determine and check whether a type in assembly is Custom type or Primitive type using reflection in .NET? Pin
dan!sh 4-Sep-10 5:33
professional dan!sh 4-Sep-10 5:33 
AnswerRe: How to determine and check whether a type in assembly is Custom type or Primitive type using reflection in .NET? Pin
PIEBALDconsult4-Sep-10 5:59
mvePIEBALDconsult4-Sep-10 5:59 
GeneralRe: How to determine and check whether a type in assembly is Custom type or Primitive type using reflection in .NET? Pin
dan!sh 4-Sep-10 7:41
professional dan!sh 4-Sep-10 7:41 
GeneralRe: How to determine and check whether a type in assembly is Custom type or Primitive type using reflection in .NET? Pin
PIEBALDconsult6-Sep-10 18:35
mvePIEBALDconsult6-Sep-10 18:35 
Questionhow to update listView on all clients machines when new data was added? Pin
kai-best4-Sep-10 5:06
kai-best4-Sep-10 5:06 
AnswerRe: how to update listView on all clients machines when new data was added? Pin
Not Active4-Sep-10 5:41
mentorNot Active4-Sep-10 5:41 
GeneralRe: how to update listView on all clients machines when new data was added? Pin
kai-best5-Sep-10 2:23
kai-best5-Sep-10 2:23 
GeneralRe: how to update listView on all clients machines when new data was added? Pin
Not Active5-Sep-10 2:59
mentorNot Active5-Sep-10 2:59 
GeneralRe: how to update listView on all clients machines when new data was added? Pin
OriginalGriff5-Sep-10 4:12
mveOriginalGriff5-Sep-10 4:12 
GeneralRe: how to update listView on all clients machines when new data was added? Pin
Not Active5-Sep-10 5:07
mentorNot Active5-Sep-10 5:07 
GeneralRe: how to update listView on all clients machines when new data was added? Pin
OriginalGriff5-Sep-10 5:15
mveOriginalGriff5-Sep-10 5:15 
AnswerRe: how to update listView on all clients machines when new data was added? Pin
OriginalGriff4-Sep-10 6:05
mveOriginalGriff4-Sep-10 6:05 
GeneralRe: how to update listView on all clients machines when new data was added? Pin
kai-best5-Sep-10 2:29
kai-best5-Sep-10 2:29 
AnswerRe: how to update listView on all clients machines when new data was added? Pin
kai-best5-Sep-10 2:44
kai-best5-Sep-10 2:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.