Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
How to Truncate Data in c#
Venkata Subbareddy
Jun 5 2015 6:09 AM
4.4k
Reply
Hi All,
iam using Button Control When User Click the Button only Records is Erase in Table in the Below My Script where iam doing Wrong Let me Know.
sql connction con = new sql connction ("Data Source=sys2;Initial Catalog=MuraliIIT;User ID=sa;Password=rits@1234");
string s = "Truncate Table TableName";
sqladapter da = new sql Adapter(s,con);
Dataset ds = new Dataset ();
da.fill(ds,"TableName");
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
SQLException Unhandled Syntax error near ')'
How to send the Mails in Godady server